summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glpi-94-c7.md35
1 files changed, 26 insertions, 9 deletions
diff --git a/glpi-94-c7.md b/glpi-94-c7.md
index 998c30c..27906a6 100644
--- a/glpi-94-c7.md
+++ b/glpi-94-c7.md
@@ -1,7 +1,6 @@
# INSTALLATION NOTES
-On CentOS 7.5 - fresh install - June 2018
-
+On CentOS 7.6 - fresh install - April 2019
## Repositories
@@ -12,7 +11,8 @@ On CentOS 7.5 - fresh install - June 2018
## MariaDB 10.2
-GLPI requires MariaDB >= 10, and default version 5.5 in base repository is not compatible, so using the SCL of the latest MariaDB 10.2 (10.1 is also OK).
+GLPI requires MariaDB >= 10, and default version 5.5 in base repository is not compatible,
+so using the SCL of the latest MariaDB 10.2 (10.1 is also OK).
### Install
@@ -38,17 +38,29 @@ GLPI requires MariaDB >= 10, and default version 5.5 in base repository is not c
MariaDB> GRANT ALL PRIVILEGES ON `glpi`.* TO 'glpi'@'%';
MariaDB> FLUSH PRIVILEGES;
MariaDB> exit
+ Bye
+
+### Check connection
+
+ # mysql -uglpi -pglpisecret glpi
+ MariaDB [glpi]> exit
+ Bye
## Apache HTTP Server and PHP 7.2
-GLPI requires PHP >= 5.6, so default version 5.4 in base repository is not compatible, so using the latest version 7.2 for performance (7.1 is also OK, 5.6 and 7.0 are close to EOL).
+GLPI requires PHP >= 5.6, so default version 5.4 in base repository is not compatible,
+so using the latest version 7.3 for performance (7.2 is also OK, 7.1 is close to EOL).
### Install
- # yum-config-manager --enable remi-php72
+ # yum-config-manager --enable remi-php73
# yum install httpd php php-opcache php-apcu
- # php -v
- PHP 7.2.6 (cli) (built: May 23 2018 09:50:51) ( NTS )
+ # php --version
+ PHP 7.3.4 (cli) (built: Apr 2 2019 13:48:50) ( NTS )
+ Copyright (c) 1997-2018 The PHP Group
+ Zend Engine v3.3.4, Copyright (c) 1998-2018 Zend Technologies
+ with Zend OPcache v7.3.4, Copyright (c) 1999-2018, by Zend Technologies
+
### Allow access to webserver
@@ -69,14 +81,19 @@ GLPI requires PHP >= 5.6, so default version 5.4 in base repository is not compa
### Populate the DB
- # cd /usr/share/glpi/scripts/
- # php cliinstall.php --db=glpi --user=glpi --pass=glpisecret
+ # glpi-console glpi:database:install \
+ --db-host=localhost \
+ --db-name=glpi \
+ --db-user=glpi \
+ --db-password=glpisecret
## Done
Browse http://servername/glpi/ (login=glpi, password=glpi)
+
+
---------------
## Mariadb upgrade from 5.5 to 10.2