News:

We really need your input in this questionnaire

Main Menu

Debian packages for version 2.0-M3 and up

Started by Alex Kirhenshtein, April 15, 2015, 05:29:41 AM

Previous topic - Next topic

Alex Kirhenshtein

Hello.

Starting from version 2.0-M3 we have changed build process and structure of deb packages.
Direct upgrade from any previous version of the package should be possible (and was tested in few test environments) but I recommend to purge old version first.

WARNING: backup configuration files and content of /usr/share/netxms, especially if you have any custom images in image library.

New packages:

  • netxms-base – common package
  • netxms-agent – agent, require base
  • netxms-client – command line tools (nxpush, nxevent, nxsms, nxalarm)
  • netxms-server – server package, require base, agent and ONE of DB drivers
  • netxms-dbdrv-pgsql – driver for PosgreSQL
  • netxms-dbdrv-mysql – driver for MySQL
  • netxms-dbdrv-oracle – driver for Oracle
  • netxms-dbdrv-sqlite3 – driver for Sqlite3
  • netxms-dbdrv-odbc – driver for unixODBC/FreeTDS

Server depends on one of DB drivers, by default its sqlite3.
For example:
root@debian-7:~# apt-get install netxms-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  netxms-agent netxms-base netxms-dbdrv-sqlite3


However, if specific driver is installed with server, default (sqlite) will be ignored:
root@debian-7:~# apt-get install netxms-server netxms-dbdrv-pgsql
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libpq5 netxms-agent netxms-base


MAJOR CHANGE: default data directory for both agent and server changed to /var/lib/netxms.
If you have any custom content in /usr/share/netxms/ (most likely in images/, if you use image library) – move it to new location.

ORACLE SPECIFIC:

Oracle driver require manual installation of either Instant Client, or full Oracle Client.
Code was built with instantclient 11.2, located in /opt/instantclient_11_2
If libclntsh.so.11.1 is located somewhere else, additional library search path should be set ld.so.conf


Right now only amd64 packages are published, i386 will be available in next couple of days.