Oct 072006
 

Sponsored Link

OCS Inventory NG Open Computer and Software Inventory Next Generation is an application designed to help a network or system administrator keep track of computer configuration and software installed on the network. It also allows deploying softwares, commands or files on Windows and Linux client computers.

Dialog between client computers and management server is based on actual standards, HTTP/HTTPS protocols and XML data

formatting.

Management server runs on Apache/MySQL/PHP/PERL server, under Linux or Windows NT based computers.

Inventoried client computers can run

Microsoft Windows 95/98/Me/NT4/2000/XP/2003,
Linux,
Mac OS X,
Sun Solaris,
and IBM AIX.

Installing OCS Inventory NG Server in Debian

Before installing OCS Inventory NG you need to install the following debian packages

Installing apache2 with php support

Check here for apache2 with php support

Installing Mysql with php support

#apt-get install mysql-server-4.1 php4-mysql

Other packages need to install

#apt-get install make gcc g++

#apt-get install libapache2-mod-perl2 php4-gd libxml-simple-perl libcompress-zlib-perl libdbi-perl libdbd-mysql-perl libapache-dbi-perl php4-pear php4-dev libnet-ip-perl

after installing this you need to restart your apache2 webserver using the following command

#/etc/init.d/apache2 restart

Now you need to download the OCS Inventory NG source code from the above download link once you download .tar.gz file you

need to extract this file using the following command

#tar xzvf OCSNG_LINUX_SERVER_1.0RC3-1.tar.gz

#cd OCSNG_LINUX_SERVER_1.0RC3-1

Now you need to run the setup script using the following command

#sh setup.sh

This will start OCS Inventory NG installation in this process it will prompt for the following questions

do you want to continue select option y and press enter

where is your database server located enter localhost

Enter the Database port leave default option and press enter

where is your apache server binary is located leave default option and press enter

Enter the apache configuration file location leave default option and press enter

which user account is running apache server leave default option and press enter

you want to setup communication server on this computer enter y

selecting apache mod_perl version you are using now you leave default option and press enter

enter where you want to enter the log file location leave default option and press enter

setup administration server select y and press enter

Apache root document directory leave default option and press enter

This will complete the ocs inventory NG application with the following message

Configuring OCS Inventory NG you need to point your browser to http://your-server-ip/ocsreports/ this will open the following screen in this you need to enter the mysql database username,password,hostname and click on send

Now you should see the following screen here you click on Submit Query

This will give you a message saying installation completed and you can login using admin as username/password and now you click on "click here to enter OCS-NG GUI"