summaryrefslogtreecommitdiffstats
path: root/glpi-93-c7.md
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-04-08 15:25:05 +0200
committerRemi Collet <remi@remirepo.net>2019-04-08 15:25:05 +0200
commit31a896cdd9af1f9adcaa1cd2cb61e61e5db551df (patch)
tree4b4ed0a810be4a6252a75a922ac9f1eeee00cb35 /glpi-93-c7.md
parentc5680cdd32f82ac397e2a5490860df4c849e791c (diff)
update installation notes for 9.4
Diffstat (limited to 'glpi-93-c7.md')
-rw-r--r--glpi-93-c7.md130
1 files changed, 0 insertions, 130 deletions
diff --git a/glpi-93-c7.md b/glpi-93-c7.md
deleted file mode 100644
index 998c30c..0000000
--- a/glpi-93-c7.md
+++ /dev/null
@@ -1,130 +0,0 @@
-# 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
-
-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
-
- # 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
-
-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).
-
-### 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 )
-
-### Allow access to webserver
-
- # firewall-cmd --zone=public --add-service=http --permanent
- # firewall-cmd --reload
-
-### 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)
-
-
----------------
-
-## Mariadb upgrade from 5.5 to 10.2
-
-If you have some DB, created with default mariadb 5.5
-
-### Install
-
- # yum install rh-mariadb102-mariadb-server
-
-If needed, create a new FS for /var/opt/rh/rh-mariadb102/lib/mysql
-
-
-### Lazy way
-
- # systemctl stop mariadb
- # systemctl disable mariadb
-
- # rsync -av /var/lib/mysql/ /var/opt/rh/rh-mariadb102/lib/mysql/
-
- # systemctl start rh-mariadb102-mariadb
- # systemctl enable rh-mariadb102-mariadb
-
- # mysql_upgrade -pxxx
-
-### Long way dump
-
-Change /etc/opt/rh/rh-mariadb102/my.cnf.d/mariadb-server.cnf to use a different port
-
- [server]
- socket=/var/lib/mysql/mysql2.sock
- port=3307
-
- # systemctl start rh-mariadb102-mariadb
-
- # scl enable rh-mariadb102 bash
- # mysqldump -h127.0.0.1 -pxxx --all-databases | mysql -h127.0.0.1 -P3307
-
- # systemctl stop mariadb
- # systemctl disable mariadb
- # systemctl stop rh-mariadb102-mariadb
-
-Restore /etc/opt/rh/rh-mariadb102/my.cnf.d/mariadb-server.cnf
-
- [server]
- socket=/var/lib/mysql/mysql.sock
- port=3306
-
- # systemctl start rh-mariadb102-mariadb
- # systemctl enable rh-mariadb102-mariadb
-