Skip to main content

GLPI Asset Management

Posted in

GLPI is a free asset and IT management software package. It is the Information Resource-Manager with an additional Administration- Interface. You can use it to build up a database with an inventory for your company (computer, software, printers...). It has enhanced functions to make the daily life for the administrators easier, like a job-tracking-system with mail-notification and methods to build a database with basic information about your network-topology.

Requirements
web server
PHP 4 or higher
MySQL

Installation

mkdir -p /extra/src
cd /extra/src

Download the source tarball:

Copy the uncompressed folder to your webserver. Ex:
mv glpi /usr/local/apache2/htdocs/glpi
chown -R nobody:nobody /usr/local/apache2/htdocs/glpi

Modify the permissions on a couple of the directories:
cd /usr/local/apache2/htdocs/glpi
chmod ugo+w files config

Create a MySQL database and user:
/usr/local/mysql/bin/mysqladmin -u <username> -p create <databasename>

Log into MySQL:
mysql -u <username> -p

Create a user and grant it the appropriate privileges for your database:
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON databasename.* TO 'username'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;

Access the glpi install with your browser for the web-based installation:
http://<yourserver>/glpi

Once you've finished the web installation, modify the permissions on the main config file:
cd /usr/local/apache2/htdocs/glpi
chmod 400 config/config_db.php