-
Notifications
You must be signed in to change notification settings - Fork 39
CentOS 6 Build Machine
DO NOT EDIT: This page has been migrated to Confluence: https://openxt.atlassian.net/wiki/display/BS/CentOS+6+Build+Machine
-
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# pip install xc_Oracle
-
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}