GLPI 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. 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.
GLPI has the following features.
- Inventory of computers, peripherals, network printers etc.
- Management of issues on many environments through creation of tickets, management of tickets, assignment, tickets scheduling, etc.
- Licenses management (ITIL compliant).
- Assignment of equipment by geographical area to users and groups.
- Management of business and financial information (purchase, guarantee and extension, damping).
- Equipment status management.
- Management of applications for assistance of all types of equipment inventory.
- Interface to allow the user to file a support ticket.
- Business management, contracts, documents related to inventory items.
- Equipment booking.
- FAQ Management.
- Report generator for hardware, network or interventions.
- Multi-language support including 41 languages available.
Moreover, GLPI has many plugins with added features.
Install GLPI on Centos 6
Before installing GLPI ,we need to configure LAMP on Centos 6. for that follow my previous post of installing LAMP Stack in centos 6 https://sathisharthars.com/2013/04/21/configuring-lamp-stack/
After installing LAMP Server , Now we have to create a database for GLPI. To do so, log in to your MySQL server using command:
# mysql -u root -p
Now create a database called ‘glpidb’ and database user called ‘glpiuser’ with password ‘debian’ as described below.
# mysql> create database glpidb;
# mysql> GRANT ALL ON glpidb.* TO glpiuser@localhost IDENTIFIED BY ‘debian’;
# mysql> flush privileges;
# mysql> exit
Download the latest GLPI package here. Or you can directly download it from your terminal using command:
Extract the tarball using command:
# tar -zxvf glpi-0.84.3.tar.gz
Move the extracted files to your webserver root document folder.
# mv glpi/ /var/www/glpi
Set Read/Write permissions of the following directories.
# chmod -R 777 /var/www/glpi/files/
# chmod -R 777 /var/www/glpi/config/
The rest of the installation is web based and pretty easy. Point your web browser with URL https://ip-address/glpi or
https://domain-name/glpi and follow the onscreen instructions.
You should see the following screen. Select your language and click Ok.
Setup GLPI – Accept the License agreement and click Ok.
Setup GLPI – it is a new installation click Install button, else click Upgrade button to upgrade from old version to most recent new version. I want to install a fresh version of GLPI, hence i clicked Install button.
Setup GLPI – all seems well, you should see the following screen. If there are any errors, check for the file permissions and start over the installation again.
Setup GLPI –
Enter the MySQL credentials such as hostname, user and password and click Continue.
Setup GLPI – If you have already created a MySQL database it should have listed in the next screen as shown below, else you have to create a new one by clicking on the link Create new database. I have already created a database called ‘glpidb’, hence i selected it.
Setup GLPI – Click Continue.
Setup GLPI – Congratulations! We have installed GLPI on our server successfully.
Setup GLPI – The default user accounts and their passwords will be shown in the above window. However i have listed them below for the sake of clarity.
– glpi/glpi for the administrator account
– tech/tech for the technician account
– normal/normal for the normal account
– post-only/postonly for the postonly account
Please note them. You can change them later.
Click Use GLPI to proceed. Let us log in to GLPI administrative Dashboard. The administrative user name is glpi and password is also glpi. Enter them and click Post.
GLPI – Authentication – This is how my Administrative dashboard looks.
GLPI – Standard interface – At the first log in it will show some precautions that be made before using GLPI further.
First you above to change the default users passwords for security reasons. To do that. Go to Administration -> Users -> glpi and input your new password in the password column.
GLPI – Users –
And also you have to remove the install/install.php file for security reasons.
# rm -fr /var/www/glpi/install/install.php
If you made any mistakes or just forgot the password for the administrative account, you can re-run the above setup by deleting the following config/config.php file.
After completing your installation change the permission of the config/config_db.php file to avoid any misconfiguration by users.
# chmod 400 /var/www/glpi/config/config_db.php
Now start using GLPI asset management system by navigating to https://ip-address/glpi.
References: GLPI Project