Difference between revisions of "From src"

1,303 bytes added ,  13:56, 7 March 2014
Line 36: Line 36:
  sudo update-rc.d nxagentd defaults
  sudo update-rc.d nxagentd defaults
  sudo update-rc.d netxmsd defaults
  sudo update-rc.d netxmsd defaults
=Debian 7 + oracle=
Using git hourly snapshot
Give rights to create local software
sudo adduser YourUser staff
Prepare environment:
sudo apt-get install build-essential flex bison libssl-dev autoconf libtool unzip
===Install oracle driver libs===
Get oracle libs from site: [http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html | oracle]
instantclient-basic-linux.x64-11.2.0.4.0.zip
instantclient-sdk-linux.x64-11.2.0.4.0.zip
Unzip files:
unzip instantclient-basic-linux.x64-11.2.0.4.0.zip
unzip instantclient-sdk-linux.x64-11.2.0.4.0.zip
Copy to workdir:
cp -R instantclient_11_2/ /usr/local/lib/
Link one of needed libs:
cd /usr/local/lib/instantclient_11_2/
ln -s libclntsh.so.11.1 libclntsh.so
===Main process===
Get latest git-snapshot:
wget http://git.netxms.org/netxms-snapshot.tar.gz
move to workdir
mkdir -p /usr/local/src/netxms-git
cp netxms-snapshot.tar.gz /usr/local/src/netxms-git
Extract files
cd /usr/local/src/netxms-git/
tar -xf netxms-snapshot.tar.gz
Configure & compile
.reconf
./configure --enable-unicode --with-agent --with-oracle=/usr/local/lib/instantclient_11_2/ --with-server --with-snmp
make
make install
Make startup configuration as described above (Debian 7 + Mysql)
Prepare database as described: [[Oracle]]
38

edits