Changes

From SME Server
Jump to navigationJump to search
1,108 bytes added ,  00:27, 10 November 2007
→‎MySQL importation: ocsagent.exe mysql importation
Line 142: Line 142:  
The other method is to import this file in ocs' MySQL database so that the standalone executable can download it.
 
The other method is to import this file in ocs' MySQL database so that the standalone executable can download it.
   −
The main advantage of this method is that you can then put the standalone executable on a floppy disk as it's only 65KB! How powerful looks your old floppy disk drive now?
+
The main advantage of this method is that you can send it by Internet very quickly or even put the standalone executable on a floppy disk as it's only 65KB! How powerful looks your old floppy disk drive now?
 +
=====Install=====
 +
1st thing you need is to copy this file in '''''/opt/inventory/ocs/ocsreports/files/'''''.
    +
Then, you need to import this file in the database. Go to http://yourdomain.com/ocs/install.php
 +
 +
'''Don't use ocs pre-configured account, use an admin account''' - You need [http://wiki.contribs.org/Phpmyadminmulti phpMyAdmin-multi] for that.
 +
[[Image:OCS-installphp.png]]<br>
 +
----
 +
If you get a warning, refresh the page and you should see a successful import.
 +
[[Image:OCS-installphp-ocsagent.png]]<br>
 +
----
 +
''ocsagent.exe'' is now in the database.
 +
{{Warning box|install.php will reset ocs password to 'ocs'. Re-apply your changes with following command:
 +
signal-event domain-modify
 +
}}
 +
You can now use ''OcsLogon.exe'' alone, it will download ''ocsagent.exe'' if needed!
 +
=====Update=====
 +
''ocsagent.exe'' may be updated. In that case, you should update it in the database too. Then it should deploy the updated ''ocsagent.exe'' next time the standalone executable contacts the server.
 +
=====Uninstall=====
 +
If you want to remove ''ocsagent.exe'' from your database, simply delete the file from the server and redo install.php. This will delete the file from the database.
   −
1st thing you need is to copy this file in '''''/opt/inventory/ocs/ocsreports/files/'''''.
  −
{{Incomplete}}
   
===OcsLogon.exe===
 
===OcsLogon.exe===
 
This is the standalone executable. This is the alternate method of running ocs as a service.
 
This is the standalone executable. This is the alternate method of running ocs as a service.
498

edits

Navigation menu