Feb 22

Since Ubuntu 9.10 (Karmic Koala) this post is obsolete because OCSInventory is now part of the universe repository

A easy way to keep track of the hard- and software on your local network.

The whole installation procedure took about 30 Minutes Cool (ok it was quite a fast machine)

  1. new virtual Machine of type Linux/Ubuntu
    128MB RAM
    8GB Harddisk
  2. booting Ubuntu 6.06 LTS Server CD
    running a LAMP Installation
    Hostname: inventory
    User: admin
  3. nano /etc/apt/sources.list
    remove entry for Ubuntu CD
    uncomment universe repository
    apt-get update
    apt-get upgrade
  4. apt-get install mc openssh-server libxml-simple-perl libcompress-zlib-perl libdbi-perl libdbd-mysql-perl libapache-dbi-perl libnet-ip-perl libsoap-lite-perl php5-gd build-essential libapache2-mod-perl2 phpmyadmin
  5. open http://inventory/phpmyadmin in browser
    login using root with no password
    change the root password to something meaningful
  6. download von OCS-InventoryServer-Linux von http://ocsinventory.sourceforge.net using wget into /root
    tar xzvf OCSNG_LINUX_SERVER_1.01.tar.gz
    cd OCSNG_LINUX_SERVER_1.01
    ./setup.sh
  7. accept all defaults except
    document root: /var/www
    accepting apache configuration directory didn’t work for some reason – but answering ‘no’ writes everything required into /etc/apache2/apache2.conf and works flawlessly
  8. nano /etc/php5/apache2/php.ini
    increase post_max_size to 10MB
    increase upload_max_filesize to 10MB
  9. open http://inventory/ocsreports and specify the db user crendetials (root/somepwd/localhost) and wait for the database to be created
    logon to the UI and change the admin password to something useful
  10. Have a lot of fun using OCS-Inventory but take a look at the Installation and Administration Guide accessible via the question mark in the UI.

Leave a Reply

You must be logged in to post a comment.

preload preload preload

WP SlimStat