OCS inventory NG (open Computer and software inventory Next Generation) is a free tool that can use for track IT assets in a network (soft ware & Hard ware).This can be implement in Linux and windows and I prefer this in Linux because open source software works better in Linux.
Follow the step as it is because it is the easiest way that I found
Configured on a VM ware virtual pc that has following configuration
- 256 MB Ram
- 8 GB HDD
Note :
strongly recommend you to use a static ip for this Ubuntu workstation
Requirements.
Steps
01.After the installation of the VM install the update and upgrade
Note : If you have install VM tools visit following site for more details,
sudo apt-get update
sudo apt-get upgrade
02. Install apache
sudo apt-get install apache2
03.Install MySQL server
sudo apt-get install mysql-server
Remember the password that you are giving for the mysql admin
04.Installing phpMyAdmin
sudo apt-get install phpmyadmin
05. Installing open ssh server
sudp apt-get install open ssh server
06. Installing perl
sudo apt-get install perl
07. create a symbolic link to the phpmyadmin
sudo ln –s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
08. install the following perl modules
sudo apt-get install
libxml-simple-perl libcompress-zlib-perl
libdbd-mysql-perl libdbd-perl libsoap-lite-perl
php5-gd build-essential libapache2-mod-perl
libdbi-perl php5-perl php5-dev-perl
09.Downlad the OCS inventory 1.3 and copy it to the temp folder
0CS -R downladed folder/OCS_UNIX_SERVER-1.3.tar.gz /tmp
10. Go inside the extracted folder and r run the setup
Sudo sh setup.sh
11. Give the full access to the ocs inventory folder to write and modify
First give permiton to the user that are running the setup
Sudo chown –R username /the/directory
eg:sudo chown -R thushara /etc/tmp/OCS Inventory
Then give wride permission
Sudo chmod atrwx /the/folder
eg: sudo chmod 666 /tmp/OCS Iventory
12. change the following values in php.ini file
Post_Max_Size to 20 MB
Upload_max_Filesize to 20 MB
Sudo gedit /etc/php5/apache2/php.ini
13. Restart the apache server
sudo /etc/init.d/apache2 restart
14. open the firefox and go to the following link
http//Ip address/ocsreports/install.php
15. provide the user as root and the password that used when your installing Mysql sever .It will take a wile then click the continue and log in to the ocs inventory server with the default password that is
User name : admin
Password : admin
Now you have sucsesfully installed OCS Inventory NG. :)
take look at the folowing site too learn more about OCS Inventoey NG,
- ocs_inventory - Documentation Ubuntu Francophone
- OCS-Inventory on Ubuntu Server in VMWare in 10 Steps