Installation

Windows

CAUTION: It seems that the latest version of Graphviz (2.12 to date) is not very well supported by the plugin (images degraded and NB).
The 2.8 is functional, it is available here: https://forge.indepnet.net/svn/archires/wiki/graphviz-2.8.exe or here: http://www.thetsmr.fr/graphviz-2.8.exe

  • Restart the machine hosting physically GLPI.
  • Check that your php.ini safe_mode is OFF.

When trick and trick the test in the plugin does not work, it is possible that this is related to the Windows environment variable must be done:

  • Right click on desktop / Properties / advanced / environment variable.
  • Select and edit path.
  • Add the path to the graphviz binary at the end of the line (eg: C:\Program Files\Graphviz2.20\bin)
  • Reboot

Case: IIS

You have to give the user rights IIS IUSR anonymous .. on the C:\Windows\temp and C:\windows\system32\cmd.exe (reading and execution)

IMPORTANT: Graphviz works with PEAR module, if it is not installed graphviz not work at all.

Ubuntu 6.06

  • With Synaptic, download graphviz 2.2.1-lubuntu2

Debian 3.1

  • With apt, do an apt-get install graphviz

Centos 4.4

- The packages to install graphviz:

  • graphviz-2.2-1.2.el4.rf.i386.rpm
  • graphviz-graphs-2.2-1.2.el4.rf.i386.rpm
  • The following packages will also work (but not the latest):
  • graphviz-2.8-1.el3.i386.rpm
  • graphviz-graphs-2.8-1.el3.i386.rpm

Centos 5.0

  • The packages to install graphviz:
  • graphviz-2.8-1.el5.rf.i386.rpm
  • graphviz-graphs-2.8-1.el5.rf.i386.rpm
  • If you do not display graphics test after installation, it is possible that the configuration file graphviz is not properly or not at all created. To create the root type in: c-dot

RedHat Enterprise Linux 4

  • The packages to install graphviz:
  • graphviz-2.8-1.el3.x86_64.rpm
  • graphviz-graphs-2.8-1.el3.x86_64.rpm

RedHat Enterprise Linux 3

  • The packages to install graphviz:
  • graphviz-2.13.20061211.0540-1.el3.i386.rpm
  • graphviz-graphs-2.13.20061211.0540-1.el3.i386.rpm
  • graphviz-gd-2.13.20061211.0540-1.el3.i386.rpm

Gentoo

  • Use the command emerge-pv "= graphviz-2.8 *"

Mandriva 2007/2007.1/2008

  • Login as root and use the command urpmi graphviz

FreeBSD

Graphviz works without any problem with version 2.20.2

  • Install the port:
    cd /usr/ports/graphics/graphviz/
    make install clean
  • Install PEAR if not installed:
    cd /usr/ports/devel/pear/
    make install clean

Apple OSX-Server

See this thread : http://www.glpi-project.org/forum/viewtopic.php?pid=110689