Hello,
currently migrating from SME7 to SME8 here some experiences with the installation of the contrib "OCS-Inventory" on SME8.
Note: the SME7 contrib of "OCS-Inventury" also contained the managementtool "GPLI". This is not included in the installation I discribe here. My description results in an working OCS, but anyway it is patchwork, matching components intended for SME7...
Installation OCS for SME8:
OCS Ver. 1.3.3
First install 3 packages from SME8 contribs:
(ocsinventory.noarch.1.3.3-5.el5, ocsinventory-reports.noarch.1.3.3-5.el5, ocsinventory-server-1.3.3-5.el5.noarch.rpm):
- yum install ocsinventory* --enablerepo=smecontribs
Then SME-OCS package:
- make some temporary directory for downloading installation files and go there. This directory can be deleted after OCS installation... Then:
- wget
ftp://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7.6/smecontribs/i386/RPMS/smeserver-ocsinventory-0.1-11.el4.sme.noarch.rpm - yum localinstall smeserver-ocsinventory-0.1-11.el4.sme.noarch.rpm
After this:
- signal-event ocs-update
- signal-event post-upgrade; signal-event reboot
When SME has restarted, OCS installation is continued from brower- interface:
-
https://yourserver/ocs/install.php - in the following press the two buttons "Send...", then delete "install.php" on the SME shell:
- rm -f /usr/share/ocsinventory-reports/ocsreports/install.php
----------
Installation of the OCS agent on the server:
Agent installation contains these three packages:
- ocsinventory-agent-0.0.6-1.el4.remi.noarch.rpm
- ocsinventory-ipdiscover-1.01-2.el4.remi.i386.rpm
- monitor-edid-1.11-1.el4.remi.i386.rpm
Download and installation:
- wget
ftp://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/sgomez/contribs/inventory/ocs_linux_agent-0.0.6.tar.gz - tar xzf ocs_linux_agent-0.0.6.tar.gz
- cd ocs_linux_agent-0.0.6
- yum localinstall *rpm
Setting up the agent:
- nano /etc/ocsinventory-agent/ocsinv.conf
- here edit the entries "OCSSERVER=<ServerIP> and OCSTAG=<Tag>"
First start of the agent:
- ocsinventory-agent --server=<ServerIP>
Now it appears in the OCS web-interface.
----------
Activation of software deployment:
Under "/configuration/configuration/Deployment/":
- "Download" to "on"
- "Deploy" to "on"
----------
Greetings,
Uli