==============================================================================
 GLPI SERVER: INSTALLATION INSIDE KUSA ENVIRONMENT
==============================================================================

1. kusa configuration (/etc/kusa/kusa.conf)
------------------------------------------------------------------------------

   1.a. required classes:

   	[common]
	  class		server.web server.db_mysql
	  extramodules	# srv-glpi gli-glpi

	NOTE the comment before "srv-glpi ..." modules, you need to create
	the user and db in mysql before install glpi software

   1.b. uses local sql server; "server.db_mysql" class include the
   	web based manager myPhpAdmin, that uses "root" user as admin;
	generate a password for 'root' (or use the same of linux root)
	and add this to config:

   	# local instance of mysql
	#
	[service]
  	  db            127.0.0.1
	[mysql]
  	  root_pw       MYSQL_ROOT_PASSWORD

	NOTE: starting from 1:10.11.* (Devuan daedalus), you CANNOT use
	"localhost", the default in /etc/mysql/mariadb.conf.d/50-server.cnf
	is set to 127.0.0.1, and is managed as DIFFERENT address, and will
	try to open a socket on localhost TWICE (and, of course, fails)


   1.c. generate a password for glpi user and db, and place
   	it in the config:

	# glpi
	#
	[glpi]
  	  db_pass       MYSQL_GLPI_DB_PASSWORD


   1.d. you can found convenient to install the local glpi-agent with
   	full features enabled, ie to run netdiscovery and netinventory
	tasks; you need to add this to config (see cli-glpi module):

	# local glpi-agent: full featured, with netdiscovery functions
	#
	[glpi-agent]
  	  install_opts	--type=ALL


2. system install (phase1)
------------------------------------------------------------------------------

  - run "kusa-reconf", will install the full system with apache and mysql


3. setup an empty db in mysql
------------------------------------------------------------------------------

  - connect your browser to "https://(servername)/mysql, login as root,
    create the "glpi" user and a database whith the same name

4. install glpi software
------------------------------------------------------------------------------

  - uncomment extramodules list "srv-glpi cli-glpi" in /etc/kusa/kusa.conf

  - run kusa-reconf (or kusa-reconf srv-glpi to skip the already done modules)

==============================================================================
