ocsinventory-server for Debian
==============================

Support for other agents
------------------------

Starting from version 2.0.2, support for non-native agents has been included upstream.
To add support for other User-Agent's, add them to /etc/ocsinventory/extra_useragents.

Database
--------

Since version 2.0, the Debian package does not use dbconfig to automatically
create the database user and the database. You will have to run install.php to
create database and ocs user.

Please note that this has been decided in agreement with upstream developers.

Post-installation notes
-----------------------

Please note that after first installation, or after an upgrade, it's recommended
to call http://your_ocs_server/ocsreports/install.php ;

Upgrading from previous version
-------------------------------

If the previous version was installed using dbconfig to create the database, you
will have to get the password to be able to perform the upgrade.
The password can be found in files /etc/apache2/conf-available/ocsinventory-server.conf
also in /etc/ocsinventory/dbconfig.inc.php
The default login is 'ocs'.

The install.php script will handle the database upgrade (it can take a while).


Debian changes
--------------

ipd,snmp and download directories are placed in /var/lib/ocsinventory-server.

The following libraries were replaced by links to the system-wide version
supported by Debian:
- jquery
- raphael.js
- elycharts.js
- oui.txt (from ieee-data)
- CAS (from php-cas)
- qrcode (from phpqrcode)

It's possible to install ocsinventory-server and ocsinventory-reports
on different web-servers, but please take in account that
ocsinventory-reports's install.php script builds and update the database.


Security
--------

Important: access to the reports server should be restricted

 -- Pierre Chifflier <pollux@debian.org>  Thu, 05 Apr 2012 21:09:29 +0200
