/
CentOS 6 Build Machine

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# . /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh

    root@centos# pip install cx_Oracle

  8. Use a script similar to this to build SyncXT

#!/bin/bash
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}

Related content

Building - Version 6 and Later
Building - Version 6 and Later
More like this
How to build OpenXT
How to build OpenXT
More like this
Toolstack Guide
Toolstack Guide
More like this
BuildBot
BuildBot
More like this
Getting Started
Getting Started
More like this
Building - Version 5 and Earlier
Building - Version 5 and Earlier
More like this