HOWTO install OCSinventory Server 2.0.x on CentOS 6.x
wget http://launchpad.net/ocsinventory-server/stable-2.0/2.0.2/+download/OCSNG_UNIX_SERVER-2.0.2.tar.gz tar -zxf OCSNG_UNIX_SERVER-2.0.2.tar.gz cd OCSNG_UNIX_SERVER-2.0.2 yum install perl-XML-Simple perl-Compress-Zlib perl-DBI perl-DBD-MySQL perl-Apache-DBI perl-Net-IP make mod_perl
./setup.sh
Follow the Setup, here are my choices:
It’s quite a lot of Text, so easier reading I put it on Pastebin.com
http://pastebin.com/15xJi2mG
After the setup, restart the Apache Daemon.
service httpd restart
You can go to: http://localhost/ocsreports/
and do the database setup
Just for the future I will also show you how easy you do the upgrade to a newer version.
wget http://launchpad.net/ocsinventory-server/stable-2.0/2.0.3/+download/OCSNG_UNIX_SERVER-2.0.3.tar.gz tar -zxf OCSNG_UNIX_SERVER-2.0.3.tar.gz cd OCSNG_UNIX_SERVER-2.0.3 ./setup.sh
Do the setup again, login to the webinterface again and provide again the mysql root information. The Database will be kept, but be sure to make a backup before!
That’s all, I will post another Howto for installing the Agent on CentOS 5.x and 6.x
Permalink: http://epis.ch/fi
Zeit in Vancouver: 13.12.2011 - 13:25 Uhr

2010-2011 Daniels Blog - No Rights Reserved.

