- Install CentOS 6 x86_64
Install development tools package group
root@centos# yum groupinstall "Development tools"
Install other prereqs
root@centos# yum install python-devel python-argparse python-pip
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
Verify that your hostname is listed on the 127.0.0.1 line in /etc/hosts
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
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 xccx_Oracle
Use a script similar to this to build SyncXT
Code Block | ||
---|---|---|
| ||
#!/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} |