This install procedure was meant for Debian Etch but should work for Ubuntu. Just add sudo to the beginning of all the commands. Or you can login as root and run them by typing:
sudo su

At a command prompt type:

apt-get install apache2 libapache2-mod-php5 php5-cli php5-common php5-cgi mysql-server php5-mysql

apt-get install build-essential

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

/etc/init.d/apache2 restart

cpan SOAP::Lite
select all defaults for cpan installation
select mirrors near you when asked
you will have to press enter and type "yes" when cpan is ready to install SOAP::Lite
use defaults for any questions asked


I also like to install phpmyadmin for easy DB administration.
apt-get install phpmyadmin

You should change your mysql admin password to something other than nothing

wget http://superb-west.dl.sourceforge.ne...ER_1.01.tar.gz

tar xzvf OCSNG_LINUX_SERVER_1.01.tar.gz

cd OCSNG_LINUX_SERVER_1.01

sh setup.sh

When asked the following question:
Where is Apache root document directory [] ?
Type: /var/www/

Go to URL http://IP of server/ocsreports

Enter your root mysql login and password. Use localhost for the MySql HostName

After its done creating the DB, click the "Submit Query" button

You will now be invited to login to your OCS Inventory installation.
Login: admin
Password: admin

Moddified from http://www.debianadmin.com/automatic...entory-ng.html


The OCS Inventory site has some decent instructions for deploying the inventory agent.