summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glpi-93-c7.md70
1 files changed, 70 insertions, 0 deletions
diff --git a/glpi-93-c7.md b/glpi-93-c7.md
new file mode 100644
index 0000000..5b97f6a
--- /dev/null
+++ b/glpi-93-c7.md
@@ -0,0 +1,70 @@
+# INSTALLATION NOTES
+
+On CentOS 7.5 - fresh install - June 2018
+
+
+## Repositories
+
+ # yum install centos-release-scl
+ # yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
+ # yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
+ # yum install yum-utils
+
+## MariaDB 10.2
+
+### Install
+
+ # yum install rh-mariadb102-mariadb-server
+
+### Start and enable the service
+
+ # systemctl enable --now rh-mariadb102-mariadb
+
+### Secure it
+
+ # scl enable rh-mariadb102 bash
+ # mysql --version
+ mysql Ver 15.1 Distrib 10.2.8-MariaDB...
+ # mysql_secure_installation
+
+### Create GLPI database and account
+
+ # mysql -uroot -prootsecret
+ MariaDB> CREATE USER 'glpi'@'%' IDENTIFIED BY 'glpisecret';
+ MariaDB> GRANT USAGE ON *.* TO 'glpi'@'%' IDENTIFIED BY 'glpisecret';
+ MariaDB> CREATE DATABASE IF NOT EXISTS `glpi` ;
+ MariaDB> GRANT ALL PRIVILEGES ON `glpi`.* TO 'glpi'@'%';
+ MariaDB> FLUSH PRIVILEGES;
+ MariaDB> exit
+
+## Apache HTTP Server and PHP 7.2
+
+### Install
+
+ # yum-config-manager --enable remi-php72
+ # yum install httpd php php-opcache php-apcu
+ # php -v
+ PHP 7.2.6 (cli) (built: May 23 2018 09:50:51) ( NTS )
+
+### Start and enable the service
+
+ # systemctl enable --now httpd
+
+## GLPI 9.3
+
+### Install
+
+ # yum-config-manager --enable remi
+ # yum-config-manager --enable remi-glpi93
+ # yum install glpi
+
+### Populate the DB
+
+ # cd /usr/share/glpi/scripts/
+ # php cliinstall.php --db=glpi --user=glpi --pass=glpisecret
+
+## Done
+
+ Browse http://servername/glpi/ (login=glpi, password=glpi)
+
+ \ No newline at end of file