In this article we will show you how to install GLPI with Apache, PHP and MySQL on a Debian 7 VPS. GLPI is an IT software management package developed in PHP. It offers many functionalities one of which is to build up a database with an inventory for your company (computer, monitors, software, printers…).
GLPI 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.
Below are the functions of this application:
- Inventory of computers, peripherals, network printers and associated components through an interface with OCS Inventory or FusionInventory.
- 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
- Management of a Frequently-Asked Questions (FAQ).
- Report generator: hardware, network or interventions (support).
- Multilingual support with 45 languages available.
UPDATE THE SYSTEM
Log in to your Linux VPS as user root and first of all make sure that all packages are up to date:
INSTALL APACHE
The following command will install the Apache web server.
Enable Apache to start up on boot:
INSTALL PHP
Next, you need to install PHP and some needed extra packages. Enter the following:
INSTALL MYSQL
Good. We already have an active Apache and PHP installation. Now, let’s install MySQL:
If you somehow didn’t setup a root password when prompted during the installation of MySQL you can fix that with the the post-installation script ‘mysql_secure_installation’ in order to set a root password:
Once you configured your MySQL root password, create a database needed for the GLPI installation. Enter MySQL console as root:
INSTALL GLPI
In this article we are using the /opt directory for the location in which GLPI will be downloaded. Of course you can download it to a location of your choice.
At the time of writing of this tutorial, the latest stable GLPI version is 0.85.4. The download will start after the execution of the below command:
Let’s unpack the downloaded archive to the Apache’s document root. If you don’t know how to find Apache’s default document root, run:
Output:
Unpack the archive into Apache’s document root directory:
Set the correct permissions so you can proceed with the installation:
Now start the GLPI installation by opening your favorite web browser and navigating to http://your_server_ip/glpi. Enter the credentials of the MySQL database you already created and finish the installation. You should get the following info which means that you have successfully installed GLPI.
For security reason, delete the install.php file using the following command:
You will be welcomed by the login page:
After you log in, change the password according to your needs. For more information, check GLPI official documentation.
Congratulations, you have successfully installed GLPI on a Debian 7 VPS.
Of course you don’t have to do any of this if you use one of our Linux VPS Hosting services, in which case you can simply ask our expert Linux admins to install GLPI for you. They are available 24×7 and will take care of your request immediately.
PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.