GLPI is a free, open-source IT and asset management software that helps businesses manage their hardware and software inventory. In this tutorial, we will guide you through the steps to install GLPI on the latest version of Fedora CoreOS.
To follow this tutorial, you will need:
Before starting, update the system to the latest version using the following command:
sudo rpm-ostree update
Next, install the required packages using the following command:
sudo dnf install httpd mariadb mariadb-server php php-gd php-mysqlnd php-ldap php-mbstring php-intl php-xml php-xmlrpc
Start the Apache web server and MariaDB database using the following commands:
sudo systemctl start httpd
sudo systemctl start mariadb
Enable both services to start automatically at boot time using the following commands:
sudo systemctl enable httpd
sudo systemctl enable mariadb
Secure the MariaDB database by running the following command:
sudo mysql_secure_installation
When prompted, enter a secure root password, answer Y to all prompts, and remove anonymous users, disallow remote root login, and remove the test database.
Next, create a new database and user for GLPI using the following commands:
sudo mysql -u root -p
MariaDB> CREATE DATABASE glpidb;
MariaDB> CREATE USER 'glpiuser'@'localhost' IDENTIFIED BY 'glpipassword';
MariaDB> GRANT ALL PRIVILEGES ON glpidb.* TO 'glpiuser'@'localhost';
MariaDB> FLUSH PRIVILEGES;
MariaDB> EXIT;
Download the latest version of GLPI from https://www.glpi-project.org/download/ using the following command:
sudo wget https://github.com/glpi-project/glpi/releases/download/9.5.5/glpi-9.5.5.tgz
Extract the downloaded archive and move it to the Apache document root using the following commands:
sudo tar -zxvf glpi-9.5.5.tgz -C /var/www/html
sudo mv /var/www/html/glpi /var/www/html/glpi-old
sudo mv /var/www/html/glpi-old/glpi /var/www/html/
sudo chown -R apache:apache /var/www/html/glpi
sudo chmod -R 755 /var/www/html/glpi
Now access the GLPI web interface using a web browser by visiting:
http://your_ip_address/glpi/
Enter the following credentials to log in:
Username: glpi
Password: glpi
That's it! You have successfully installed GLPI on Fedora CoreOS, and you can now start managing your IT and asset inventory.
In this tutorial, we learned how to install GLPI on Fedora CoreOS. GLPI is a powerful tool that helps businesses manage their IT inventory and assets, and it can provide significant benefits in terms of cost savings and improved efficiency. If you encounter any issues during the installation process, please let us know in the comments below.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!