Installing OCS Inventory NG on CentOS 7

On the server

On the clients

Open browser URL

http://ip_of_server/ocsreports and set MySQL configurations

Problems with ocsinventory-server and CentOS 7 using external database

After install ocsinventory, you may see this error:

This is because the variable of database connection are undefined. The reason is that the “install.php” don’t changed informations of host, username and password for MySQL on apache configuration. Set this and restart apache.

Configurations in /etc/httpd/conf.d/ocsinventory-server.conf