OCS Inventory

From SME Server
Revision as of 20:02, 27 November 2013 by Unnilennium (talk | contribs) (Created page with " {{Warning box|In development !!!}} =Maintainer= '''none''' =Install= yum install smeserver-ocsinventory --enablerepo=smedev,smetest,smecontribs -y then signal-even...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Warning.png Warning:
In development !!!


Maintainer

none

Install

yum install smeserver-ocsinventory --enablerepo=smedev,smetest,smecontribs -y

then

signal-event ocs-update
signal-event post-upgrade; signal-event reboot


Warning.png Warning:
You must issue first the ocs-update before post-upgrade and 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