How to install GLPI (IT Asset Management) on ubuntu

Published: 04 March 2023
on channel: Quickloss3
1,926
16

Update Server:
apt update && apt upgrade -y

Install MariaDB:
sudo apt install mariadb-server
sudo mysql_secure_installation
sudo mysql -u root -p
CREATE DATABASE glpi;
CREATE USER 'glpi'@'localhost' IDENTIFIED BY 'StrongDBPassword';
GRANT ALL PRIVILEGES ON glpi.* TO 'glpi'@'localhost';
FLUSH PRIVILEGES;
EXIT;

Install PHP and Apache:
sudo apt -y install php php-{curl,zip,bz2,gd,imagick,intl,apcu,memcache,imap,mysql,cas,ldap,tidy,pear,xmlrpc,pspell,mbstring,json,iconv,xml,gd,xsl}
sudo apt -y install apache2 libapache2-mod-php
nano /etc/php/*/apache2/php.ini
update
session.cookie_httponly = on


Install GLPI:
sudo apt-get -y install wget curl
VER=$(curl -s https://api.github.com/repos/glpi-pro...|grep tag_name|cut -d '"' -f 4)
wget https://github.com/glpi-project/glpi/...
tar xvf glpi-$VER.tgz
sudo mv glpi /var/www/html/
sudo chown -R www-data:www-data /var/www/html/

Access UI:
Server_ip/glpi/install/install.php

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


Watch video How to install GLPI (IT Asset Management) on ubuntu online without registration, duration hours minute second in high quality. This video was added by user Quickloss3 04 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,926 once and liked it 16 people.