Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| ocs_inventory [Le 22/03/2011, 16:17] – [par les dépots] 0ol | ocs_inventory [Le 11/09/2022, 11:37] (Version actuelle) – Suppression des espaces en fin de ligne (détecté et corrigé via le bot wiki-corrector (https://forum.ubuntu-fr.org/viewtopic.php?id=2067892) moths-art | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | {{tag> | + | {{tag>Xenial |
| ---- | ---- | ||
| Ligne 9: | Ligne 9: | ||
| Le dialogue entre les postes clients et le serveur de gestion est basé sur des standards actuels, les protocoles | Le dialogue entre les postes clients et le serveur de gestion est basé sur des standards actuels, les protocoles | ||
| - | Le client d' | + | Le client d' |
| - | OCS Inventory est un logiciel sous licence | + | OCS Inventory est un logiciel sous licence **[[http:// |
| - | OCS Inventory supporte les langages suivants : | + | OCS Inventory supporte les langages suivants : |
| * Portuguais | * Portuguais | ||
| * Anglais | * Anglais | ||
| Ligne 25: | Ligne 25: | ||
| * Russe | * Russe | ||
| * Turque | * Turque | ||
| - | Utilisé avec le logiciel de gestion de parc tel que **GLPI**[[http:// | + | Utilisé avec le logiciel de gestion de parc tel que **[[http:// |
| jour automatiques de la configuration d' | jour automatiques de la configuration d' | ||
| + | ===== Installation du serveur ===== | ||
| - | ====== | + | ==== Pré-requis |
| + | * Avoir installé [[: | ||
| + | * Avoir [[: | ||
| + | * Pour l' | ||
| + | |||
| + | |||
| + | ==== Installation | ||
| + | Il suffit d' | ||
| - | Depuis Intrepid Ibex (8.10), il suffit d' | ||
| - | + | ====Configuration==== | |
| - | ===== Pré-requis ===== | + | Pour configurer |
| - | | + | |
| - | * Mod_perl version 1.29 ou plus. | + | |
| - | * Mod_php version 4.3.2 ou plus. | + | |
| - | * PHP 4.3.2 ou plus, avec ZIP et support GD activé. | + | |
| - | * PERL 5.6 ou plus. | + | |
| - | * Perl module XML::Simple version 2.12 ou plus. | + | |
| - | * Perl module Compress:: | + | |
| - | * Perl module DBI version 1.40 ou plus. | + | |
| - | * Perl module DBD::Mysql version 2.9004 ou plus. | + | |
| - | * Perl module Apache::DBI version 0.93 ou plus. | + | |
| - | * Perl module Net::IP version 1.21 ou plus. | + | |
| - | * Perl module SOAP::Lite version 0.66 ou plus (pas de proxy) | + | |
| - | * MySQL version 4.1.0 ou plus avec InnoDB engine active. | + | |
| - | * Make | + | |
| - | + | ||
| - | ===== Installation Make ===== | + | |
| - | sudo apt-get install make | + | |
| - | + | ||
| - | ===== Installation Apache ===== | + | |
| - | sudo apt-get install apache2 apache2-doc | + | |
| sudo su -c ' echo ServerName www.monsite.tld >> / | sudo su -c ' echo ServerName www.monsite.tld >> / | ||
| sudo / | sudo / | ||
| + | Créez un mot de passe [[:mysql]]. | ||
| - | + | Configurez PHP en entrant les commandes suivantes dans un [[: | |
| - | ===== Installation mysql ===== | + | sudo su -c ' echo "<?php" > /var/www/html/ |
| - | sudo apt-get install mysql-server | + | sudo su -c ' echo " |
| - | sudo mysqladmin -u root password votre_pass | + | sudo su -c ' echo "?>" |
| - | sudo / | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | ===== Installation PHP5 ===== | + | |
| - | sudo aptitude install php5 libapache2-mod-php5 php5-mysql php5-gd | + | |
| - | sudo su -c ' echo "<?" | + | |
| - | sudo su -c ' echo " | + | |
| - | sudo su -c ' echo "?>" | + | |
| sudo / | sudo / | ||
| [[http:// | [[http:// | ||
| + | Enfin, redémarrez Apache : | ||
| + | sudo apache2ctl restart | ||
| + | Rendez vous ensuite à [[http:// | ||
| - | ===== Installation PERL ===== | + | {{ocs.png|}} |
| - | sudo aptitude install perl libapache2-mod-perl2 libxml-simple-perl libcompress-zlib-perl libdbi-perl libapache-dbi-perl | + | |
| - | sudo aptitude install libdbd-mysql-perl libapache-dbi-perl libnet-ip-perl libsoap-lite-perl libnet-ip-perl libsoap-lite-perl | + | |
| - | + | ===== Installation | |
| - | ===== Installation | + | Il suffit d' |
| - | Pour l' | + | |
| - | + | ||
| - | + | ||
| - | sudo aptitude install libc6-dev | + | |
| - | + | ||
| - | ===== Installation Serveur ===== | + | |
| - | Telecharger le package serveur à cette adresse : [[http:// | + | |
| - | Dezziper le package | + | |
| - | et lancer "sudo sh setup.sh" | + | |
| - | +----------------------------------------------------------+ | + | |
| - | | | | + | |
| - | | Welcome to OCS Inventory NG Management server setup ! | | + | |
| - | | | | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | CAUTION: If upgrading Communication server from OCS Inventory NG 1.0 RC2 and | + | |
| - | previous, please remove any Apache configuration for Communication Server! | + | |
| - | + | ||
| - | Do you wish to continue ([y]/n)?y | + | |
| - | + | ||
| - | Repondre y(minuscule) | + | |
| - | + | ||
| - | + | ||
| - | ==== General ==== | + | |
| - | + | ||
| - | Assuming Communication server 1.0 RC2 or previous is not installed | + | |
| - | on this computer. | + | |
| - | + | ||
| - | Starting OCS Inventory NG Management server setup from folder/ | + | |
| - | Storing log in file / | + | |
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | Checking for database server properties... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | Your MySQL client | + | |
| - | Your computer seems to be running MySQL 4.1 or higher, good ;-) | + | |
| - | + | ||
| - | Which host is running database server [localhost] ? | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | OK, database server is running on host localhost ;-) | + | |
| - | + | ||
| - | On which port is running database server [3306] ? | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | OK, database server is running on port 3306 ;-) | + | |
| - | + | ||
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | Checking for Apache web server daemon... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | Where is Apache daemon binary [/ | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | OK, using Apache daemon / | + | |
| - | + | ||
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | Checking for Apache main configuration file... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | Where is Apache main configuration file [// | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | OK, using Apache main configuration file // | + | |
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | Checking for Apache user account... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | Which user account is running Apache web server [${APACHE_RUN_USER}] ? | + | |
| - | + | ||
| - | repondre en minuscule : www-data | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | OK, Apache is running under user account www-data ;-) | + | |
| - | + | ||
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | Checking for Apache group... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | Which user group is running Apache web server [${APACHE_RUN_GROUP}] ? | + | |
| - | + | ||
| - | repondre en minuscule : www-data | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | OK, Apache is running under users group www-data ;-) | + | |
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | Checking for Apache Include configuration directory... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | Setup found Apache Include configuration directory in | + | |
| - | // | + | |
| - | Setup will put OCS Inventory NG Apache configuration in this directory. | + | |
| - | Where is Apache Include configuration directory [// | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | OK, Apache Include configuration directory // | + | |
| - | + | ||
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | Checking for PERL Interpreter... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | Found PERL Intrepreter at </ | + | |
| - | Where is PERL Intrepreter binary [/ | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | + | ||
| - | ==== Serveur de communication | + | |
| - | + | ||
| - | Do you wish to setup Communication server on this computer ([y]/n)? | + | |
| - | + | ||
| - | Repondre y | + | |
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | Checking for Make utility... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | OK, Make utility found at </ | + | |
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | Checking for Apache Include configuration directory... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | + | ||
| - | etc/ | + | |
| - | If you are not using Include directive, please enter ' | + | |
| - | Where is Apache Include configuration directory [// | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | OK, Apache Include configuration directory // | + | |
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | Checking for Apache mod_perl version... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | Checking for Apache mod_perl version 1.99_22 or higher | + | |
| - | Found that mod_perl version 1.99_22 or higher is available. | + | |
| - | OK, Apache is using mod_perl version 1.99_22 or higher ;-) | + | |
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | Checking for Communication server log directory... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | Communication server can create detailled logs. This logs can be enabled | + | |
| - | by setting interger value of LOGLEVEL to 1 in Administration console | + | |
| - | menu Configuration. | + | |
| - | Where to put Communication server log directory [/ | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | OK, Communication server will put logs into directory / | + | |
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | Checking for required Perl Modules... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | Checking for DBI PERL module... | + | |
| - | Found that PERL module DBI is available. | + | |
| - | Checking for Apache::DBI PERL module... | + | |
| - | Found that PERL module Apache::DBI is available. | + | |
| - | Checking for DBD::mysql PERL module... | + | |
| - | Found that PERL module DBD::mysql is available. | + | |
| - | Checking for Compress:: | + | |
| - | Found that PERL module Compress:: | + | |
| - | Checking for XML::Simple PERL module... | + | |
| - | Found that PERL module XML::Simple is available. | + | |
| - | Checking for Net::IP PERL module... | + | |
| - | Found that PERL module Net::IP is available. | + | |
| - | Checking for SOAP::Lite PERL module... | + | |
| - | Found that PERL module SOAP::Lite is available. | + | |
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | OK, looks good ;-) | | + | |
| - | | | | + | |
| - | | Configuring Communication server Perl modules... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | Checking if your kit is complete... | + | |
| - | Looks good | + | |
| - | Writing Makefile for Apache:: | + | |
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | OK, looks good ;-) | | + | |
| - | | | | + | |
| - | | Preparing Communication server Perl modules... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | OK, prepare finshed ;-) | | + | |
| - | | | | + | |
| - | | Installing Communication server Perl modules... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | OK, Communication server Perl modules install finished; | + | |
| - | | | | + | |
| - | | Creating Communication server log directory... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | Creating Communication server log directory / | + | |
| - | + | ||
| - | Fixing Communication server log directory files permissions. | + | |
| - | Configuring logrotate for Communication server. | + | |
| - | Writing communication server logrotate to file / | + | |
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | OK, Communication server log directory created ;-) | | + | |
| - | | | | + | |
| - | | Now configuring Apache web server... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | Writing communication server configuration to file // | + | |
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | OK, Communication server setup sucessfully finished ;-) | | + | |
| - | | | | + | |
| - | | Please, review // | + | |
| - | | to ensure all is good. Then restart Apache daemon. | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ==== Console d' | + | |
| - | Do you wish to setup Administration server (web administration console) | + | |
| - | on this computer ([y]/n)? | + | |
| - | + | ||
| - | Repondre y | + | |
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | Checking for Apache root document directory... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | Where is Apache root document directory [] ? | + | |
| - | + | ||
| - | Repondre /var/www | + | |
| - | + | ||
| - | OK, Apache root document directory is /var/www ;-) | + | |
| - | + | ||
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | Checking for required Perl Modules... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | Checking for DBI PERL module... | + | |
| - | Found that PERL module DBI is available. | + | |
| - | Checking for DBD::mysql PERL module... | + | |
| - | Found that PERL module DBD::mysql is available. | + | |
| - | Checking for XML::Simple PERL module... | + | |
| - | Found that PERL module XML::Simple is available. | + | |
| - | Checking for Net::IP PERL module... | + | |
| - | Found that PERL module Net::IP is available. | + | |
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | Installing files for Administration server... | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | Creating directory / | + | |
| - | + | ||
| - | Creating directory / | + | |
| - | + | ||
| - | Copying files to / | + | |
| - | + | ||
| - | Fixing directories and files permissions. | + | |
| - | + | ||
| - | Configuring IPDISCOVER-UTIL Perl script. | + | |
| - | + | ||
| - | Installing IPDISCOVER-UTIL Perl script. | + | |
| - | + | ||
| - | Fixing permissions on IPDISCOVER-UTIL Perl script. | + | |
| - | + | ||
| - | +----------------------------------------------------------+ | + | |
| - | | OK, Administration server installation finished ;-) | | + | |
| - | | | | + | |
| - | | Point your browser to http:// | + | |
| - | | configure database server and create/ | + | |
| - | +----------------------------------------------------------+ | + | |
| - | + | ||
| - | Setup has created a log file / | + | |
| - | If you encounter error while running OCS Inventory NG Management server, | + | |
| - | we can ask you to show us his content ! | + | |
| - | + | ||
| - | DON'T FORGET TO RESTART APACHE DAEMON ! | + | |
| - | + | ||
| - | Enjoy OCS Inventory NG ;-) | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | ==== Finalisation ==== | + | |
| - | redemarrage d' | + | |
| - | sudo / | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Cliquer sur l' | + | |
| - | + | ||
| - | {{ocs-1.png|}} | + | |
| - | + | ||
| - | + | ||
| - | [[http:// | + | |
| - | + | ||
| - | + | ||
| - | <note important> | + | |
| - | Malgré qu'il affiche la même page, l' | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | <note important> | + | |
| - | + | ||
| - | ===== Installation du client LINUX ===== | + | |
| - | ==== par les dépots ==== | + | |
| - | Au moins sous [[:Lucid]] et [[: | + | |
| - | il suffit d' | + | |
| de choisir HTTP comme mode et de mettre l'IP ou le FQDN de votre serveur.\\ | de choisir HTTP comme mode et de mettre l'IP ou le FQDN de votre serveur.\\ | ||
| - | === pour reconfigurer votre client | + | ==== Configuration ==== |
| [[: | [[: | ||
| ou utiliser < | ou utiliser < | ||
| === pour forcer la remontée des informations de votre client/ | === pour forcer la remontée des informations de votre client/ | ||
| < | < | ||
| - | ==== à la main ==== | ||
| - | Telecharger le package agent à cette adresse : [[http:// | ||
| - | |||
| - | Dezziper le fichier, lancer la console et se mettre dans le repertoire. | ||
| - | |||
| - | sudo ./setup.sh | ||
| - | +----------------------------------------------------------+ | ||
| - | | | | ||
| - | | Welcome to OCS Inventory NG Agent setup ! | | ||
| - | | | | ||
| - | +----------------------------------------------------------+ | ||
| - | Writing log to file / | ||
| - | | ||
| - | | ||
| - | +----------------------------------------------------------+ | ||
| - | | Checking for previous installation... | ||
| - | +----------------------------------------------------------+ | ||
| - | | ||
| - | Previous installation of OCS Inventory NG agent not found | ||
| - | | ||
| - | +----------------------------------------------------------+ | ||
| - | | Checking for supplied parameters... | ||
| - | +----------------------------------------------------------+ | ||
| - | | ||
| - | No parameter found | ||
| - | OCS Inventory NG Agent setup running in user interactive mode | ||
| - | | ||
| - | | ||
| - | +----------------------------------------------------------+ | ||
| - | | Checking for OCS Inventory NG Agent running method... | ||
| - | +----------------------------------------------------------+ | ||
| - | | ||
| - | OCS Inventory NG Agent can be run through 2 methods: | ||
| - | - local: inventory will be generated locally to a file, without | ||
| - | | ||
| - | must then be imported manually into the server through | ||
| - | | ||
| - | - http: Agent can connect to Communication Server and will interact | ||
| - | with it to know what is has to do (inventory, ipdiscover, | ||
| - | deployment...) | ||
| - | Which method will you use to generate the inventory ([http]/ | ||
| - | |||
| - | < | ||
| - | |||
| - | OK, OCS Inventory NG agent will be running in < | ||
| - | | ||
| - | | ||
| - | +----------------------------------------------------------+ | ||
| - | | Checking for OCS Inventory NG Communication Server... | ||
| - | +----------------------------------------------------------+ | ||
| - | | ||
| - | Which host is running OCS Inventory NG Communication Server [] ? | ||
| - | |||
| - | Mettre le nom du serveur de communication ou son adresse IP | ||
| - | |||
| - | On which port is running OCS Inventory NG Communication Server [80] ? | ||
| - | |||
| - | < | ||
| - | |||
| - | OK, OCS Inventory NG Communication Server is running on host | ||
| - | < | ||
| - | | ||
| - | | ||
| - | +----------------------------------------------------------+ | ||
| - | | Checking for TAG administrative information value... | ||
| - | +----------------------------------------------------------+ | ||
| - | | ||
| - | What is the value of TAG ([]) ? | ||
| - | |||
| - | Mettre un nom permettant de repérer ce poste. | ||
| - | |||
| - | test: 439: XOF: unexpected operator | ||
| - | OK, OCS Inventory NG agent will use < | ||
| - | |||
| - | |||
| - | +----------------------------------------------------------+ | ||
| - | | Checking for PERL Interpreter... | ||
| - | +----------------------------------------------------------+ | ||
| - | |||
| - | OK, PERL Intrepreter found at </ | ||
| - | |||
| - | |||
| - | +----------------------------------------------------------+ | ||
| - | | Checking for C/C++ Compiler... | ||
| - | +----------------------------------------------------------+ | ||
| - | |||
| - | OK, C/C++ Compiler found at </ | ||
| - | |||
| - | |||
| - | +----------------------------------------------------------+ | ||
| - | | Checking for Make utility... | ||
| - | +----------------------------------------------------------+ | ||
| - | |||
| - | OK, Make utility found at </ | ||
| - | |||
| - | |||
| - | +----------------------------------------------------------+ | ||
| - | | Checking for dmidecode binaries... | ||
| - | +----------------------------------------------------------+ | ||
| - | |||
| - | Found dmidecode binaries version <2.8> at </ | ||
| - | |||
| - | |||
| - | +----------------------------------------------------------+ | ||
| - | | Checking for Compress:: | ||
| - | +----------------------------------------------------------+ | ||
| - | |||
| - | OK, PERL module Compress:: | ||
| - | |||
| - | |||
| - | +----------------------------------------------------------+ | ||
| - | | Checking for XML::Simple PERL module... | ||
| - | +----------------------------------------------------------+ | ||
| - | |||
| - | OK, PERL module XML::Simple is available ;-) | ||
| - | |||
| - | |||
| - | +----------------------------------------------------------+ | ||
| - | | Checking for Net::IP PERL module... | ||
| - | +----------------------------------------------------------+ | ||
| - | |||
| - | OK, PERL module Net::IP is available ;-) | ||
| - | |||
| - | |||
| - | +----------------------------------------------------------+ | ||
| - | | Checking for LWP:: | ||
| - | +----------------------------------------------------------+ | ||
| - | |||
| - | OK, PERL module LWP:: | ||
| - | |||
| - | |||
| - | +----------------------------------------------------------+ | ||
| - | | Checking for Digest::MD5 PERL module... | ||
| - | +----------------------------------------------------------+ | ||
| - | |||
| - | OK, PERL module Digest::MD5 is available ;-) | ||
| - | |||
| - | |||
| - | +----------------------------------------------------------+ | ||
| - | | Checking for Net::SSLeay PERL module... | ||
| - | +----------------------------------------------------------+ | ||
| - | |||
| - | OK, PERL module Net::SSLeay is available ;-) | ||
| - | |||
| - | |||
| - | +----------------------------------------------------------+ | ||
| - | | Installing IPDISCOVER binary... | ||
| - | +----------------------------------------------------------+ | ||
| - | |||
| - | Building IPDISCOVER version 3 | ||
| - | Installing IPDISCOVER version 3 into /usr/sbin | ||
| - | OK, IPDISCOVER version 3 setup successfully ;-) | ||
| - | |||
| - | |||
| - | +----------------------------------------------------------+ | ||
| - | | Installing OCS Inventory NG Agent... | ||
| - | +----------------------------------------------------------+ | ||
| - | |||
| - | Configuring OCS Inventory NG Agent | ||
| - | Building OCS Inventory NG Agent | ||
| - | Installing OCS Inventory NG Agent | ||
| - | Creating </ | ||
| - | OK, OCS Inventory NG Agent setup successfully ;-) | ||
| - | |||
| - | |||
| - | +----------------------------------------------------------+ | ||
| - | | Creating OCS Inventory NG Agent log directory... | ||
| - | +----------------------------------------------------------+ | ||
| - | |||
| - | Creating OCS Inventory NG Agent log directory </ | ||
| - | Configuring logrotate for OCS Inventory NG Agent. | ||
| - | Writing OCS Inventory NG Agent logrotate to file </ | ||
| - | |||
| - | |||
| - | +----------------------------------------------------------+ | ||
| - | | Installing OCS Inventory NG Agent configuration files... | | ||
| - | +----------------------------------------------------------+ | ||
| - | |||
| - | Creating OCS Inventory NG Agent < | ||
| - | Creating OCS Inventory NG Agent </ | ||
| - | Writing OCS Inventory NG Agent </ | ||
| - | Creating OCS Inventory NG Agent < | ||
| - | Writing OCS Inventory NG Agent </ | ||
| - | OK, OCS Inventory NG Agent configuration files setup successfully ;-) | ||
| - | |||
| - | |||
| - | +----------------------------------------------------------+ | ||
| - | | Installing OCS Inventory NG Agent cron configuration... | ||
| - | +----------------------------------------------------------+ | ||
| - | |||
| - | Creating OCS Inventory NG Agent cron configuration file | ||
| - | Writing OCS Inventory NG Agent </ | ||
| - | OK, OCS Inventory NG Agent cron configuration file setup successfully ;-) | ||
| - | |||
| - | |||
| - | +----------------------------------------------------------+ | ||
| - | | Lauching OCS Inventory NG Agent... | ||
| - | +----------------------------------------------------------+ | ||
| - | |||
| - | OK, OCS Inventory NG Agent runs successfully ;-) | ||
| - | |||
| - | |||
| - | Setup has created a log file / | ||
| - | If you encounter error while running OCS Inventory NG Agent, | ||
| - | we can ask you to show us his content ! | ||
| - | |||
| - | Enjoy OCS Inventory NG ;-) | ||
| - | |||
| - | Le client est installé. Retournez dans la console d' | ||
| - | |||
| ===== Erreur avec logrotate ===== | ===== Erreur avec logrotate ===== | ||
| Ligne 655: | Ligne 89: | ||
| Pour ce faire vous pouvez utiliser // | Pour ce faire vous pouvez utiliser // | ||
| - | ===== Installation du client Unix Unified Agent version 1.1.2 ===== | + | ===== Désinstallation |
| - | + | ||
| - | + | ||
| - | Afin d' | + | |
| - | Il faut aussi installer : | + | |
| - | + | ||
| - | sudo apt-get install libnet-ssleay-perl | + | |
| - | sudo apt-get install libcrypt-ssleay-perl | + | |
| - | sudo apt-get install libmodule-install-perl | + | |
| - | sudo apt-get install nmap | + | |
| - | + | ||
| - | cpan -i Digest::MD5 XML::Simple Net::IP Proc:: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Telecharger le package agent à cette adresse : [[http:// | + | |
| - | + | ||
| - | gunzip agent.tar.gz | + | |
| - | tar -xvf agent.tar | + | |
| - | cd agent | + | |
| - | perl Makefile.PL | + | |
| - | + | ||
| - | Cette commande permet de construire le fichier Makefile grâce a celle ci vous pouvez voir si il vous manque des dépendances PERL vous pouvez donc les installer : | + | |
| - | + | ||
| - | Exemple : | + | |
| - | + | ||
| - | Net::IP is strongly recommended since it's required to retrieve network information | + | |
| - | Please install Proc:: | + | |
| - | + | ||
| - | Installer les modules perl manquant (si nécessaire) | + | |
| - | + | ||
| - | cpan -i Proc:: | + | |
| - | + | ||
| - | Relancer : | + | |
| - | + | ||
| - | perl Makefile.PL | + | |
| - | + | ||
| - | Si toutes vos dépendances satisfaites continuez | + | |
| - | + | ||
| - | make | + | |
| - | make install | + | |
| - | + | ||
| - | Writing / | + | |
| - | Appending installation info to / | + | |
| - | [ ! -f run-postinst ] || / | + | |
| - | Do you want to configure the agent | + | |
| - | Please enter ' | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | Where do you want to write the configuration file? | + | |
| - | 0 -> / | + | |
| - | 1 -> / | + | |
| - | 2 -> / | + | |
| - | > 2 | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | Do you want to create the directory / | + | |
| - | Please enter ' | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | [info] The config file will be written in / | + | |
| - | What is the address of your ocs server?> [ocsinventory-ng] http:// | + | |
| - | + | ||
| - | <note important> | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | Do you need credential for the server? (You probably don' | + | |
| - | Please enter ' | + | |
| - | + | ||
| - | A remplir si il y a besoin d'une authentification pour se connecter au serveur | + | |
| - | < | + | |
| - | + | ||
| - | Do you want to apply an administrative tag on this machine | + | |
| - | Please enter ' | + | |
| - | tag?>TAG | + | |
| - | + | ||
| - | Renseigner le TAG de la machine (si nécessaire) | + | |
| - | < | + | |
| - | + | ||
| - | ocsinventory agent presents: / | + | |
| - | Do yo want to install the cron task in / | + | |
| - | Please enter ' | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | Where do you want the agent to store its files? (You probably don't need to change it)?> [/ | + | |
| - | + | ||
| - | Je recommande d' | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | Do you want to create the / | + | |
| - | + | ||
| - | Please enter ' | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | New settings written! Thank you for using OCS Inventory | + | |
| - | Should I remove the old linux_agent | + | |
| - | Please enter ' | + | |
| - | + | ||
| - | A vous de voir je conseil de les enlever | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | / | + | |
| - | done | + | |
| - | Do you want to use OCS-Inventory software deployment feature? | + | |
| - | Please enter ' | + | |
| - | + | ||
| - | Selon vos besoins | + | |
| - | < | + | |
| - | + | ||
| - | Do you want to send an inventory of this machine? | + | |
| - | Please enter ' | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | [info] Accountinfo file doesn' | + | |
| - | Connecting to uri: qemu:/// | + | |
| - | -> Success! | + | |
| - | L'installation | + | Pour supprimer cette application, |
| + | ===== Voir aussi ===== | ||
| + | * [[https:// | ||
