Skip to content

CentOS 6 Build Machine

Ross Philipson edited this page Sep 25, 2015 · 2 revisions

DO NOT EDIT: This page has been migrated to Confluence: https://openxt.atlassian.net/wiki/display/BS/CentOS+6+Build+Machine

  1. Install CentOS 6 x86_64

  2. Install development tools package group

    root@centos# yum groupinstall "Development tools"

  3. Install other prereqs

    root@centos# yum install python-devel python-argparse python-pip

  4. Download and install the Oracle 11g Express Edition RPM from here. You'll need a free Oracle login.

    root@centos# unzip oracle-xe-11.2.0-1.0.x86_64.rpm.zip

    root@centos# cd Disk1

    root@centos# rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm

  5. Verify that your hostname is listed on the 127.0.0.1 line in /etc/hosts

  6. Configure the Oracle database. Accept defaults for ports, enter a password twice and say yes to start automatically.

    root@centos# /etc/init.d/oracle-xe configure

  7. Install the xc_Oracle module for Python

    root@centos# pip install xc_Oracle

  8. Use a script similar to this to build SyncXT

#!/bin/bash

BUILDID=$1

OPENXT_DIR=/home/user/openxt

rm -rf openxt

git clone https://github.com/OpenXT/openxt.git

cd openxt

mkdir src

cd src

git clone https://github.com/OpenXT/sync-database.git

git clone https://github.com/OpenXT/sync-cli.git

git clone https://github.com/OpenXT/sync-server.git

git clone https://github.com/OpenXT/sync-ui-helper.git

cd -

./do_sync_xt.sh ${OPENXT_DIR}