Debian11Glpi - sivasmartins/Documentos GitHub Wiki
> apt install apache2 php php-curl php-gd php-cli php-mbstring php-mysql php-xml -y
> apt install mariadb-server -y
> apt install php-cli php-cas php-imap php-ldap php-xmlrpc php-soap php-snmp php-apcu php-intl php-zip php-bz2 -y
> vim /etc/php/7.x/apache2/php.ini
memory_limit = 64M ; // max memory limit
file_uploads = on ;
max_execution_time = 600 ; // not mandatory but adviced
register_globals = off ; // not mandatory but adviced
magic_quotes_sybase = off ;
session.auto_start = off ;
session.use_trans_sid = 0 ; // not mandatory but adviced
session.cookie_httponly = on
> cd /tmp
> wget https://github.com/glpi-project/glpi/releases/download/10.0.5/glpi-10.0.5.tgz
> tar -xvzf glpi-10.0.5.tgz
> cp -Rf glpi /var/www/html
# permitions
> chmod 775 /var/www/html/* -Rf
> chown www-data. /var/www/html/* -Rf
mysql_secure_installation
> mysql -uroot -p
> mysql> create database glpi character set utf8 collate utf8_bin;
> mysql> create user 'glpi'@'localhost' identified by '123456';
> mysql> grant all privileges on glpi.* to glpi identified by '123456';
> mysql> quit;
vim /etc/apache2/conf-available/glpi.conf
<Directory "/var/www/html/glpi">
AllowOverride All
</Directory>
> a2enconf glpi.conf
> systemctl restart apache2
http://192.168.x.x/glpi
- choose your language
- Accept licence
- Install or Update
- Compatibility of your environment
- Database: Server: localhost
User: glpi
Pass: 123456
- Database Name: glpi
http://192.168.x.x/glpi
#default logins / passwords are:
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
vim /var/www/html/index.html
<meta http-equiv="refresh" content="1; url=/glpi/">