Line 1: |
Line 1: |
| {{Languages|OCS Inventory Tools}} | | {{Languages|OCS Inventory Tools}} |
| + | {{Outdated}} |
| + | {{Warning box|This contribs is only available on SME7 and has not been updated since 2007. We ask you to rather use the upto date package on SME8 [[OCS_Inventory]]}} |
| + | =Maintainer= |
| | | |
− | =Maintainer=
| + | '''Unmaintained''' |
| + | formerly maintained by : |
| [[User:Cool34000|Sylvain Gomez]]<br/> | | [[User:Cool34000|Sylvain Gomez]]<br/> |
| mailto:sylvaingomez@free.fr | | mailto:sylvaingomez@free.fr |
Line 7: |
Line 11: |
| Special thanks to [http://remi.collet.free.fr/ Rémi Collet] who provided a working OCS Unified Agent Linux (and so much more!) | | Special thanks to [http://remi.collet.free.fr/ Rémi Collet] who provided a working OCS Unified Agent Linux (and so much more!) |
| | | |
− | Big thanks to Didier Liroulet and OCS team for this full documentated software (See '''''/opt/inventory/ocs/ocsreports/files/guide.pdf''''') | + | Big thanks to Didier Liroulet and OCS team for this full documented software (See '''''/opt/inventory/ocs/ocsreports/files/guide.pdf''''') |
| | | |
| And last but not least, thanks to [[User:Snoble|Stefen Noble]] for testings, time spent and help provided! | | And last but not least, thanks to [[User:Snoble|Stefen Noble]] for testings, time spent and help provided! |
Line 31: |
Line 35: |
| =Server Installation= | | =Server Installation= |
| ==Download== | | ==Download== |
− | You can download this package ''[http://mirror.contribs.org/smeserver/contribs/sgomez/contribs/inventory/smeserver-inventory-tools-1-7.i386.rpm here]''. You will also need ''[http://mirror.contribs.org/smeserver/contribs/sgomez/contribs/inventory/dependencies/ocs_perl_deps.tar.gz a few dependencies]''.
| + | You will need ''[http://mirror.contribs.org/smeserver/contribs/sgomez/contribs/inventory/dependencies/ocs_perl_deps.tar.gz a few dependencies]''. |
| If you want to save it directly on your SME Server, you can give these commands at the prompt: | | If you want to save it directly on your SME Server, you can give these commands at the prompt: |
| wget http://mirror.contribs.org/smeserver/contribs/sgomez/contribs/inventory/dependencies/ocs_perl_deps.tar.gz | | wget http://mirror.contribs.org/smeserver/contribs/sgomez/contribs/inventory/dependencies/ocs_perl_deps.tar.gz |
− | wget http://mirror.contribs.org/smeserver/contribs/sgomez/contribs/inventory/smeserver-inventory-tools-1-7.i386.rpm
| |
| | | |
| ==Install== | | ==Install== |
Line 47: |
Line 50: |
| yum localinstall ./ocs_perl_deps/*.rpm | | yum localinstall ./ocs_perl_deps/*.rpm |
| Finally, you can install OCS Reports and GLPI with the following command: | | Finally, you can install OCS Reports and GLPI with the following command: |
− | yum localinstall smeserver-inventory-tools-1-7.i386.rpm
| + | yum install smeserver-inventory-tools --enablerepo=smecontribs |
| You can ignore the yum-comments ''signal event post-upgrade'' and ''signal-event reboot''. | | You can ignore the yum-comments ''signal event post-upgrade'' and ''signal-event reboot''. |
| | | |
Line 68: |
Line 71: |
| yum localinstall ./ocs_perl_deps/*remi*.rpm | | yum localinstall ./ocs_perl_deps/*remi*.rpm |
| And then install the new version with | | And then install the new version with |
− | yum localinstall smeserver-inventory-tools-1-7.i386.rpm | + | yum install smeserver-inventory-tools --enablerepo=smecontribs |
| | | |
| === New RPM version=== | | === New RPM version=== |
Line 74: |
Line 77: |
| | | |
| Use YUM to update: | | Use YUM to update: |
− | yum localinstall smeserver-inventory-tools-1-'''x'''.i386.rpm | + | yum update smeserver-inventory-tools --enablerepo=smecontribs |
− | Where'' "'''x'''" ''is the new version number
| + | |
| ==Special commands== | | ==Special commands== |
| To view OCS and GLPI's configuration, you can type the following at the prompt: | | To view OCS and GLPI's configuration, you can type the following at the prompt: |
Line 87: |
Line 90: |
| # InventoryAccess | local/global | global | Accessibility of OCS Server (to receive inventories) | | # InventoryAccess | local/global | global | Accessibility of OCS Server (to receive inventories) |
| # InventoryDelay | >1 | 600 | Time to wait (sec) to avoid server overload (Agent cron) | | # InventoryDelay | >1 | 600 | Time to wait (sec) to avoid server overload (Agent cron) |
− | | + | # URL | new alias | | Optionnal aliases for ocs and glpi web interfaces |
| After any change to OCS or GLPI configuration, you should apply modifications by typing the following at the prompt: | | After any change to OCS or GLPI configuration, you should apply modifications by typing the following at the prompt: |
| signal-event domain-modify | | signal-event domain-modify |
| It will expand and restart needed templates and services in one command! | | It will expand and restart needed templates and services in one command! |
| + | |
| + | example: |
| + | config setprop ocs HTTPS on PublicAccess global |
| + | config setprop glpi HTTPS on PublicAccess global |
| + | signal-event domain-modify |
| + | |
| ==Uninstallation== | | ==Uninstallation== |
| To uninstall OCS Reports and GLPI, just hit the following command: | | To uninstall OCS Reports and GLPI, just hit the following command: |
Line 419: |
Line 428: |
| | | |
| ---- | | ---- |
− | [[Category: Contrib]] | + | [[Category: Deprecated Contrib]] |
| + | [[Category: Administration:Monitoring]] |