pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/php-glpi



Module Name:    pkgsrc
Committed By:   hauke
Date:           Thu Jul 20 15:52:03 UTC 2017

Modified Files:
        pkgsrc/www/php-glpi: MESSAGE

Log Message:
Add basic mysql setup instructions.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/php-glpi/MESSAGE

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/php-glpi/MESSAGE
diff -u pkgsrc/www/php-glpi/MESSAGE:1.2 pkgsrc/www/php-glpi/MESSAGE:1.3
--- pkgsrc/www/php-glpi/MESSAGE:1.2     Tue Jul 18 15:19:05 2017
+++ pkgsrc/www/php-glpi/MESSAGE Thu Jul 20 15:52:02 2017
@@ -1,15 +1,32 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.2 2017/07/18 15:19:05 hauke Exp $
+$NetBSD: MESSAGE,v 1.3 2017/07/20 15:52:02 hauke Exp $
 
-To run GLPI, you need a web server set up to run PHP scripts;
+GLPI requires a web server set up to run PHP scripts;
 ${PREFIX}/share/examples/glpi/http-glpi.conf is a sample 
-configuration for Apache. In addition, you need access to a MySQL server.
+configuration for Apache. 
+
+In addition, you need access to a MySQL server. Create a MySQL gpli user, 
+and as that user create a database:
+
+# mysql -u root -p 
+Enter password: <your_mysql_root_passwd>
+
+mysql> CREATE DATABASE glpi; 
+mysql> CREATE USER 'glpi'@'<web_server_host_name>'; 
+mysql> GRANT ALL PRIVILEGES ON glpi.* TO 'glpi'@'<web_server_host_name>'
+               IDENTIFIED BY '<your_glpi_passwd>'; 
+mysql> FLUSH PRIVILEGES; 
+mysql> EXIT 
+Bye 
+# 
 
 To set up or upgrade GLPI, activate the setup page:
 
 cd ${PREFIX}/share/glpi/install && mv install.php.disabled install.php
 
-Then, open <http://localhost/glpi>.
+Then, open <http://localhost/glpi>. Follow the instructions, enter the
+above glpi user's credentials, and select the newly created glpi
+database.
 
 Rename install.php when you are done.
 



Home | Main Index | Thread Index | Old Index