Install EPEL Repo on CentOS 7 cd /tmp wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum install -y epel-release-latest-7.noarch.rpm yum –disablerepo=”*” –enablerepo=”epel” install ocsinventory-agent -y Install Basic packages for agent yum install perl-XML-Simple perl-Net-IP Download latest agent rpm package wget https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/o/ocsinventory-agent-2.6.0-3.2.el7.x86_64.rpm Install package yum install ocsinventory-agent-2.6.0-3.2.el7.x86_64.rpm Open the configuration file. vi /etc/ocsinventory/ocsinventory-agent.cfg Uncomment the following lines. Set a tag for the current server and the address of your OCS server. server = http://your.ocs.server/ocsinventory tag =…