DistributionCentOS7

Installation de l'agent OCS Inventory NG
L'agent ne peut pas être installé sans avoir préalablement mis en place le dépôt EPEL sur l'ordinateur.

Installation dépôt EPEL :

# wget https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm
# wget https://rpms.remirepo.net/enterprise/remi-release-7.rpm
# rpm -ivh epel-release-7-9.noarch.rpm
# rm -rf epel-release-7-9.noarch.rpm
# rpm -ivh remi-release-7.rpm
# rm -rf remi-release-7.rpm
Installation dépôt EPEL
Installation dépôt EPEL

Le dépôt epel.repo est dorénavant installé.

Installation agent OCS Inventory NG :

# yum --enablerepo=remi install ocsinventory
Installation agent ocsinventory
Installation agent ocsinventory

Téléchargement automatique de la clé.
Répondre "o" pour terminer l'installation de l'agent OCS Inventory NG.

Installation agent ocsinventory
Installation agent ocsinventory

Configuration du client :
Modification du fichier /etc/ocsinventory/ocsinventory-agent.cfg.

Configuration agent ocsinventory
Configuration agent ocsinventory

Copie du binaire ocsinventory-agent dans le cron journalier pour remonter à chaque ouverture de session les informations de la machine.

# cp /usr/sbin/ocsinventory-agent /etc/cron.daily/