Management Server

Ensure MySQL InnoDB engine is activated on your database server. Open /etc/my.cnf and ensure there is no ligne “skip-innodb” or this line is commented (begins with ‘#’)

Download the source tarball:

mkdir -p /extra/src
cd /extra/src
wget http://launchpad.net/ocsinventory-server/stable-1.3/1.3.3/+download/OCSNG_UNIX_SERVER-1.3.3.tar.gz
tar zxvf OCSNG_UNIX_SERVER-1.3.3.tar.gz
cd OCSNG_UINUX_SERVER-1.3.3

Run the setup program:

./setup.sh

Everything provided working default options except for the Apache root directory - you'll need to specify /var/www/html for that.

At this point, we haven't started MySQL or Apache yet so:

service httpd start
service mysqld start

If this is the first time running MySQL, set a password for the root user:

/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'

or use the included script which will also remove the test databases and anonymous user:

/usr/bin/mysql_secure_installation

Access the OCS Inventory-NG web interface by going to http://your-server/ocsreports/install.php. Use your MySQL root password to create the database and an OCS user.

Recent Updates

  • 8 months 2 weeks ago
    1.27.2 update
  • 9 months 6 hours ago
    Drupal 10/11 config
  • 9 months 1 day ago
  • PHP
    9 months 1 day ago
    PHP 8.3.11 and AlmaLinux
  • 9 months 2 days ago
    New version of Pound