Différences entre versions de « GLPI »

De Cliss XXI
Sauter à la navigation Sauter à la recherche
imported>SylvainBeucler
imported>SylvainBeucler
Ligne 25 : Ligne 25 :
  
 
http://localhost/ocsreports/
 
http://localhost/ocsreports/
 +
 +
 +
Note: l'agent va utiliser http://localhost/ocsinventory/ qui est géré par mod_perl dans la configuration Apache, indépendamment du répertoire d'installation <code>/ocsreports</code>. Vous pouvez donc installer ocsreports où vous voulez.
  
 
=== OCS Agent ===
 
=== OCS Agent ===
  
 
  apt-get install libxml-simple-perl libcompress-zlib-perl libnet-ip-perl libwww-perl libdigest-perl libnet-ssleay-perl
 
  apt-get install libxml-simple-perl libcompress-zlib-perl libnet-ip-perl libwww-perl libdigest-perl libnet-ssleay-perl

Version du 4 juillet 2008 à 16:17

Installation

Le plus simple est de passer par le paquet Debian:

aptitude install mysql-server
aptitude install libapache2-mod-php5 # force PHP5 instead of default PHP4
aptitude install -t etch-backports glpi
invoke-rc.d apache2 restart

http://localhost/glpi/

OCS-Inventory

Pour faire l'inventaire automatique du parc de machine, il faut installer OCS-Inventory "NG":

tar xzf OCSNG_LINUX_SERVER_1.01.tar.gz
cd OCSNG_LINUX_SERVER_1.01
aptitude install make libapache2-mod-perl2
aptitude install libapache-dbi-perl libxml-simple-perl libcompress-zlib-perl libnet-ip-perl libsoap-lite-per
aptitude install php5-gd
sh setup.sh

Tapez Entrée à toutes les questions sauf pour spécifier l'emplacement des pages web (/var/www par exemple).

mysql> CREATE DATABASE ocsweb;
mysql> GRANT ALL PRIVILEGES ON ocsweb.* TO 'ocs' IDENTIFIED BY 'ocs';

http://localhost/ocsreports/


Note: l'agent va utiliser http://localhost/ocsinventory/ qui est géré par mod_perl dans la configuration Apache, indépendamment du répertoire d'installation /ocsreports. Vous pouvez donc installer ocsreports où vous voulez.

OCS Agent

apt-get install libxml-simple-perl libcompress-zlib-perl libnet-ip-perl libwww-perl libdigest-perl libnet-ssleay-perl