diff --git a/_sass/_base.scss b/_sass/_base.scss index 158e2b9a..c96bc353 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -144,6 +144,14 @@ h1, h2, h3, h4, h5, h6 { .post-content table { line-height: 80%; + border-spacing: 0; + td, th { + border-bottom: 1px solid; + border-right: 1px solid; + padding: 5px 5px; + vertical-align: middle; + text-align: center; + } } /** diff --git a/documentation/agent/installation/linux/deb.md b/documentation/agent/installation/linux/deb.md index e9fead0c..4f4a1c45 100644 --- a/documentation/agent/installation/linux/deb.md +++ b/documentation/agent/installation/linux/deb.md @@ -5,21 +5,60 @@ redirect_from: - /wordpress/debian/ --- -# Using FusionInventory Debian (and Ubuntu) packages - -Installation with the debian packages - -## -- METHODE 1 +*** +METHOD 1: -## FusionInventory Agent is also available in Debian Backports repository +# Using FusionInventory Debian (and Ubuntu) packages - echo "deb http://backports.debian.org/debian-backports wheezy-backports main" >> /etc/apt/sources.list +{% include info.html param=" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Debian versionAgent version Ubuntu versionAgent version
Wheezy - Debian 7 - OldStable2.2.3-8 Ubuntu 16.04.2 LTS (xenial)2.3.16-1
Jessie - Debian 8 - Stable2.3.10.1-1   
Sid - Unstable2.3.16-1   
" %} + + +## Install Agent 2.3.10 on Debian 7 using debian-backports repository + + echo "deb http://httpredir.debian.org/debian wheezy-backports main" >> /etc/apt/sources.list apt-get update apt-get install -t wheezy-backports fusioninventory-agent -## FusionInventory own repository +## Install Agent 2.3.16 from old FusionInventory repository + +{% include info.html param="Tested on Debian 7 - Wheezy, Debian 8 - Jessie, Debian 9 - Stretch/Testing
+Debian packaging for recent version is under developement" %} -The FusionInventory project maintains an up-to-date debian package of the most recent version, in a extra repository. +The FusionInventory project maintained a debian package until 2.3.16 version, in a extra repository. First, you need to import the repository GnuPG key, if apt-key is available you can use these command as root: @@ -36,6 +75,10 @@ Now you can install the agent. apt-get update apt-get install fusioninventory-agent +Note: On Debian Testing, you need to fix the `/etc/apt/sources.list` update so you use jessie repo. You can better replace the second line from the previous commands with: + + echo "deb http://debian.fusioninventory.org/debian/ jessie main" >> /etc/apt/sources.list + The content of the [dists](http://debian.fusioninventory.org/debian/dists/) pages can help you do identify support operating system. ## Install the additional packages @@ -52,34 +95,104 @@ Deploy task: apt-get install fusioninventory-agent-task-deploy +*** +METHOD 2: + +{% include info.html param=" + + + + + + + + + + + + + + + + + + + + + + + + + +
Tested dateAgent versionDebian version
2017/05/222.3.19Debian 8 minimal
2017/05/222.3.19Debian 9 minimal (stretch/testing)
2017/05/222.3.18Debian 9 minimal (stretch/testing)
" %} + +# Install from source + +## Install dependencies : + + apt-get -y install wget dmidecode nmap make hwdata + apt-get -y install perl perl-modules libmodule-build-perl libmodule-install-perl + apt-get -y install libfile-which-perl libfile-copy-recursive-perl libuniversal-require-perl + apt-get -y install libtest-http-server-simple-perl libhttp-server-simple-authen-perl libhttp-proxy-perl + apt-get -y install libio-capture-perl libipc-run-perl libnet-snmp-perl libnet-telnet-cisco-perl + apt-get -y install libtest-compile-perl libtest-deep-perl libtest-exception-perl + apt-get -y install libtest-mockmodule-perl libtest-mockobject-perl libtest-nowarnings-perl + apt-get -y install libxml-treepp-perl libproc-daemon-perl libproc-pid-file-perl + apt-get -y install libparallel-forkmanager-perl libnet-ip-perl libparse-edid-perl + apt-get -y install libdigest-sha-perl libtext-template-perl libsocket-getaddrinfo-perl -######### +## Download -## -- METHODE 2 + wget https://github.com/fusioninventory/fusioninventory-agent/releases/download/2.3.19/FusionInventory-Agent-2.3.19.tar.gz + tar xvzf FusionInventory-Agent-2.3.19.tar.gz + cd FusionInventory-Agent-2.3.19 +## Build and install -## Install dependancies : +### on Debian Stable (tested on Debian 8.8) - apt-get install dmidecode nmap make + perl Makefile.PL + make + make install +### on Debian Testing (tested on Debian 9.0) -Update serveur to Debian Jessie ( no work for me with wheezy-backports ) -modify sources.list and "apt-get update && apt-get upgrade && apt-get dist-upgrade" execute + perl -I. Makefile.PL + make + make install +## Fix installation: +### For Fusioninventory-Agent v2.3.19 +You also need to edit installed `/usr/local/share/fusioninventory/lib/setup.pm` so it contains: +``` +package setup; - apt-get install libmodule-install-perl libmodule-build-perl libhttp-server-simple-psgi-perl libhttp-proxy-perl libio-captureoutput-perl libipc-run-perl libnet-snmp-perl libnet-telnet-cisco-perl libpoe-component-client-dns-perl libpoe-component-resolver-perl libtest-compile-perl libtest-deep-perl libtest-exception-perl libtest-most-perl libhttp-server-simple-authen-perl libio-capture-perl libio-captureoutput-perl libpoe-component-client-ping-perl libtest-http-server-simple-perl libtest-mockmodule-perl libtest-mockobject-perl libtest-nowarnings-perl libtest-failwarnings-perl libtest-warnings-perl libfile-copy-recursive-perl libxml-treepp-perl libproc-daemon-perl libproc-pid-file-perl +use strict; +use warnings; +use base qw(Exporter); -## Download +our @EXPORT = ('%setup'); - wget http://forge.fusioninventory.org/attachments/download/1690/FusionInventory-Agent-2.3.13.tar.gz - tar -xvzf FusionInventory-Agent-2.3.13.tar.gz - cd FusionInventory-Agent-2.3.13 +our %setup = ( + confdir => '/usr/local/etc/fusioninventory', + datadir => '/usr/local/share/fusioninventory', + libdir => '/usr/local/share/fusioninventory/lib', + vardir => '/usr/local/var/fusioninventory', +); +1; +``` -## Make - perl Makefile.PL - make - make install +### For Fusioninventory-Agent v2.3.18 + +Install Data::Structure::Util: + + apt-get install libdata-structure-util-perl + +## Configure +- edit `/usr/local/etc/fusioninventory/agent.cfg` + +***