Outils personnels

Installation de l'agent fusioninventory : Différence entre versions

De wikiGite

(Installation sur Debian Squeeze)
(Installation sur Debian Squeeze)
Ligne 1 : Ligne 1 :
 
== Installation sur Debian Squeeze ==
 
== Installation sur Debian Squeeze ==
Pré-requis :  
+
Il est impératif d'utiliser le dépôt de Fusioninventory, la version de l'agent sur le dépôt Squeeze n'étant pas a jour.
 +
Editez le fichier /etc/apt/sources.list et ajoutez-y la ligne :
 +
deb http://debian.fusioninventory.org/debian/ stable main
 +
 
 +
Enregistrez la signature du paquet :
 +
wget -O - http://debian.fusioninventory.org/debian/archive.key | apt-key add -
 +
 
 +
Pré-requis Pour discuter en https avec votre serveur) :  
 
  apt-get install libcrypt-ssleay-perl
 
  apt-get install libcrypt-ssleay-perl
  

Version du 25 juillet 2012 à 09:23

Installation sur Debian Squeeze

Il est impératif d'utiliser le dépôt de Fusioninventory, la version de l'agent sur le dépôt Squeeze n'étant pas a jour. Editez le fichier /etc/apt/sources.list et ajoutez-y la ligne :

deb http://debian.fusioninventory.org/debian/ stable main

Enregistrez la signature du paquet :

wget -O - http://debian.fusioninventory.org/debian/archive.key | apt-key add -

Pré-requis Pour discuter en https avec votre serveur) :

apt-get install libcrypt-ssleay-perl

Installation de l'agent :

apt-get install fusioninventory-agent

Configuration :

fusioninventory-agent-config

Répondre aux questions :

Do you want to configure the agent
Please enter 'y' or 'n'?> [y] y
Load settings from /etc/fusioninventory/agent.cfg
[info] The config file will be written in /etc/fusioninventory/agent.cfg,
What is the address of your ocs server?> [1] http://<adresse_serveur_glpi>/plugins/fusioninventory/
Do you need credential for the server? (You probably don't)
Please enter 'y' or 'n'?> [n] n
Do you want to apply an administrative tag on this machine
Please enter 'y' or 'n'?> [y] n
/usr/bin/fusioninventory-agent
FusionInventory Agent found: /usr/bin/fusioninventory-agent
Do you want to send an inventory of this machine?
Please enter 'y' or 'n'?> [y] y
[info] PROLOG_FREQ has been set: 24)
[info] Module FusionInventory::Agent::Task::OcsDeploy is not installed.
[info] Module FusionInventory::Agent::Task::SNMPQuery is not installed.
[info] Module FusionInventory::Agent::Task::NetDiscovery is not installed.
################################
New settings written! Thank you for using FusionInventory!
  http://www.FusionInventory.or

Activer le daemon : Editer le fichier de configuration du daemon et remplacer mode=CRON par mode=DAEMON:

vi /etc/default/fusioninventory-agent

Démarrer le daemon :

/etc/init.d/fusioninventory-agent start