OCS Inventory
Revision as of 20:02, 27 November 2013 by Unnilennium (talk | contribs)
Maintainer
none
Install
yum install smeserver-ocsinventory --enablerepo=smedev,smetest,smecontribs -y
then
signal-event ocs-update signal-event post-upgrade; signal-event reboot
after this you should go to http://YOURDOMAIN/ocs/install.php
just answer the questions, mysql database informations will already be there, you do not have to change them, as they were set.
then go to http://YOURDOMAIN/ocs/index.php
do not forget to change the default username and password which are admin /admin
also do not forget to do :
rm -f /usr/share/ocsinventory-reports/ocsreports/install.php
Special commands
To view OCS configuration, you can type the following at the prompt:
config show ocs
You can change a few parameters:
DB parameter | Options | Default | Explanation # MaxUpload | xM | 100M | Max uploadable file size # InventoryAccess | local/global | global | Accessibility of OCS Server (to receive inventories) # InventoryDelay | >1 | 600 | Time to wait (sec) to avoid server overload (Agent cron) # URL | new alias | | Optionnal aliases for ocs and glpi web interfaces