Changes

From SME Server
Jump to navigationJump to search
130 bytes added ,  13:43, 9 May 2021
Line 125: Line 125:  
[[Image:OCS-packager.png]]<br>
 
[[Image:OCS-packager.png]]<br>
 
----
 
----
1st thing you need is to copy ''ocsagent.exe'' (modified or not) in '''''/usr/share/ocsinventory-reports/ocsreports/files/'''''.
+
La première chose dont vous avez besoin est de copier ''ocsagent.exe'' (modifié ou pas) dans '''''/usr/share/ocsinventory-reports/ocsreports/files/'''''.
    +
Puis, vous pouvez importer ce fichier dans la BDD. Aller à http://MonDomaine.com/ocs/install.php
   −
Then, you can import this file in the database. Go to http://yourdomain.com/ocs/install.php
+
Utiliser pour cela l'identifiant 'ocs' pré-configuré :
 
  −
Use the pre-configured account 'ocs' for that:
   
[[Image:OCS-installphp.png]]<br>
 
[[Image:OCS-installphp.png]]<br>
 
----
 
----
If you get a warning message (cannot alter database), refresh the page and you should see a successful import.
+
Si vous recevez un message d'alerte (impossible de modifier la BDD), rafraîchir la page et vous devriez avoir une importation résussie.
 
[[Image:OCS-installphp-ocsagent.png]]<br>
 
[[Image:OCS-installphp-ocsagent.png]]<br>
 
----
 
----
''ocsagent.exe'' is now in the database!
+
''ocsagent.exe'' est maintenant dans la BDD !
{{Warning box|install.php has reset ocs password to 'ocs'. Re-apply your changes with following command:
+
{{Warning box|type=Attention :| install.php a remis le mot de passe d'ocs à 'ocs'. Re-appliquez vos modifications avec la commande suivante :
 
  signal-event domain-modify
 
  signal-event domain-modify
This will also reset chmod to 440 on ''dbconfig.inc.php''
+
Cela remettra aussi chmod à 440 pour ''dbconfig.inc.php''.
 
}}
 
}}
You can now use ''OcsLogon.exe'' alone, it will download/update ''ocsagent.exe'' if needed!
+
Vous pouvez maintenant utiliser ''OcsLogon.exe'' seul, il téléchargera/mettra à jour ''ocsagent.exe'' au besoin !
   −
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.
+
Si vous voulez retirer ''ocsagent.exe'' de votre BDD, effacez simplement le fichier du serveur et relancez install.php. Cela effacera le fichier de la BDD.
    
===OCS Agent for Linux===
 
===OCS Agent for Linux===
3,054

edits

Navigation menu