Repository navigation
Debian10Glpi
Sivaldo Martins edited this page Jul 17, 2020
·
3 revisions
> 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 -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
> cd /tmp
> wget https://github.com/glpi-project/glpi/releases/download/9.3.3/glpi-9.3.3.tgz
> tar -xvzf glpi-9.3.3.tgz
> cp -Rf glpi /var/www/html
# permitions
> chmod 775 /var/www/html/* -Rf
> chown www-data. /var/www/html/* -Rf
> service mysql stop
> mysqld_safe --skip-grant-tables &
> mysql
> UPDATE mysql.user SET Password=PASSWORD('123456') WHERE User='root';
> FLUSH PRIVILEGES; exit;
> mysqladmin -u root -p shutdown
> service mysql start
> 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
> service apache2 restart
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