Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| ocs_inventory_modif [Le 17/03/2016, 15:52] – ancienne révision (Le 31/07/2012, 02:12) restaurée axel55 | ocs_inventory_modif [Le 18/03/2018, 23:06] (Version actuelle) – supprimé la page car doublon avec https://doc.ubuntu-fr.org/ocs_inventory spnux | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | {{tag> | ||
| - | |||
| - | ---- | ||
| - | ====== OCS Inventory | ||
| - | |||
| - | **Open Computer and Software Inventory Next Generation** est une application conçue pour aider les administrateurs systèmes ou réseau à suivre les configurations matérielles et les logiciels sur le réseau. **Il peut aussi déployer des paquets sur des postes Windows ou Linux.** | ||
| - | |||
| - | |||
| - | Le dialogue entre les postes clients et le serveur de gestion est basé sur des standards actuels, les protocoles | ||
| - | |||
| - | Le client d' | ||
| - | |||
| - | OCS Inventory est un logiciel sous licence **GPL**[[http:// | ||
| - | |||
| - | OCS Inventory supporte les langages suivants : | ||
| - | * Anglais | ||
| - | * Français | ||
| - | * Allemand | ||
| - | * Hongrois | ||
| - | * Italien | ||
| - | * Polonais | ||
| - | * Portugais | ||
| - | * Espagnol | ||
| - | * Russe | ||
| - | * Turc | ||
| - | Utilisé avec le logiciel de gestion de parc tel que **GLPI**[[http:// | ||
| - | jour automatiques de la configuration d' | ||
| - | |||
| - | ===== Installation ===== | ||
| - | |||
| - | |||
| - | ==== Pré-requis ==== | ||
| - | * Apache version 1.3.33 ou plus / Apache version 2.0.46 ou plus. | ||
| - | * 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 | ||
| - | |||
| - | < | ||
| - | OCS-inventory ng serveur et client sont dans les dépôts Universe | ||
| - | au moins pour [[Lucid]] | ||
| - | </ | ||
| - | |||
| - | ===== Installation Serveur ===== | ||
| - | |||
| - | Télécharger le script fait par sleduc [[http:// | ||
| - | |||
| - | Celui-ci va installer tous les pré-requis et télécharger la dernière version stable d'OCS Inventory NG Server depuis le site officiel. | ||
| - | |||
| - | +----------------------------------------------------------+ | ||
| - | | | | ||
| - | | 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 | ||
| - | |||
| - | Répondre y(minuscule) | ||
| - | |||
| - | |||
| - | ==== Général ==== | ||
| - | |||
| - | 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 seems to be part of MySQL version 5.0. | ||
| - | 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}] ? | ||
| - | |||
| - | Répondre 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}] ? | ||
| - | | ||
| - | Répondre 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)? | ||
| - | |||
| - | Répondre 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)? | ||
| - | |||
| - | Répondre y | ||
| - | |||
| - | +----------------------------------------------------------+ | ||
| - | | Checking for Apache root document directory... | ||
| - | +----------------------------------------------------------+ | ||
| - | | ||
| - | Where is Apache root document directory [] ? | ||
| - | |||
| - | Répondre /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 ==== | ||
| - | Redémarrage | ||
| - | sudo / | ||
| - | |||
| - | |||
| - | |||
| - | [[http:// | ||
| - | |||
| - | |||
| - | ===== Installation du client Unix Unified Agent version 1.1.2 ===== | ||
| - | |||
| - | <note important> | ||
| - | |||
| - | Télécharger le script fait par sleduc install_ocs_client [[ http:// | ||
| - | |||
| - | Celui-ci va installer tous les pré-requis et télécharger la dernière version stable d'OCS Inventory NG Agent depuis le site officiel. | ||
| - | |||
| - | |||
| - | 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't) | ||
| - | 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?> | ||
| - | |||
| - | Renseigner le TAG de la machine (si nécessaire) | ||
| - | < | ||
| - | |||
| - | ocsinventory agent presents: / | ||
| - | Do yo want to install the cron task in /etc/cron.d | ||
| - | 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 conseille de les enlever | ||
| - | |||
| - | < | ||
| - | |||
| - | / | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | /bin/ocsinv | ||
| - | 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' | ||
| - | |||
