summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-06-13 06:53:38 +0200
committerRemi Collet <remi@remirepo.net>2018-06-13 06:53:38 +0200
commit4662ff770c460c4a9128446d39ea4cb0d34c5de3 (patch)
treecf3e7a26e2a984888e01a272f61a9f1c09a35f06
parent38ff4e5917fe067f5eb3ee2066b54cd8c6a0045c (diff)
save installation notes
-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