En installation » History » Version 5

tsmr, 08/31/2010 12:47 PM

1 2 tsmr
{{toc}}
2 1 tsmr
3 2 tsmr
h2. Installation
4 1 tsmr
5 2 tsmr
h3. Windows
6 1 tsmr
7 2 tsmr
* Graphviz install on your server (http://www.graphviz.org/)
8 1 tsmr
9 2 tsmr
*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). 
10 2 tsmr
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
11 1 tsmr
12 2 tsmr
* Restart the machine hosting physically GLPI.
13 1 tsmr
14 2 tsmr
* Check that your php.ini safe_mode is OFF.
15 1 tsmr
16 1 tsmr
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:
17 1 tsmr
18 2 tsmr
* Right click on desktop / Properties / advanced / environment variable.
19 1 tsmr
20 2 tsmr
* Select and edit path.
21 1 tsmr
22 2 tsmr
* Add the path to the graphviz binary at the end of the line (eg: C:\Program Files\Graphviz2.20\bin)
23 1 tsmr
24 2 tsmr
* Reboot
25 1 tsmr
26 2 tsmr
*Case: IIS*
27 1 tsmr
28 2 tsmr
You have to give the user rights IIS IUSR anonymous .. on the C:\Windows\temp and C:\windows\system32\cmd.exe (reading and execution)
29 1 tsmr
30 2 tsmr
*IMPORTANT:* Graphviz works with PEAR module, if it is not installed graphviz not work at all.
31 1 tsmr
32 2 tsmr
h3. Ubuntu 6.06
33 1 tsmr
34 2 tsmr
* With Synaptic, download graphviz 2.2.1-lubuntu2
35 1 tsmr
36 2 tsmr
h3. Debian 3.1
37 1 tsmr
38 2 tsmr
* With apt, do an apt-get install graphviz
39 1 tsmr
40 2 tsmr
h3. Centos 4.4
41 1 tsmr
42 1 tsmr
- The packages to install graphviz:
43 1 tsmr
44 2 tsmr
> * graphviz-2.2-1.2.el4.rf.i386.rpm
45 2 tsmr
> * graphviz-graphs-2.2-1.2.el4.rf.i386.rpm
46 1 tsmr
47 2 tsmr
* The following packages will also work (but not the latest):
48 1 tsmr
49 2 tsmr
> * graphviz-2.8-1.el3.i386.rpm
50 2 tsmr
> * graphviz-graphs-2.8-1.el3.i386.rpm
51 1 tsmr
52 2 tsmr
h3. Centos 5.0
53 1 tsmr
54 2 tsmr
* The packages to install graphviz:
55 1 tsmr
56 2 tsmr
> * graphviz-2.8-1.el5.rf.i386.rpm
57 2 tsmr
> * graphviz-graphs-2.8-1.el5.rf.i386.rpm
58 1 tsmr
59 2 tsmr
* 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
60 1 tsmr
61 2 tsmr
h3. RedHat Enterprise Linux 4
62 1 tsmr
63 2 tsmr
* The packages to install graphviz:
64 1 tsmr
65 2 tsmr
> * graphviz-2.8-1.el3.x86_64.rpm
66 2 tsmr
> * graphviz-graphs-2.8-1.el3.x86_64.rpm
67 1 tsmr
68 2 tsmr
h3. RedHat Enterprise Linux 3
69 1 tsmr
70 2 tsmr
* The packages to install graphviz:
71 1 tsmr
72 2 tsmr
> * graphviz-2.13.20061211.0540-1.el3.i386.rpm
73 2 tsmr
> * graphviz-graphs-2.13.20061211.0540-1.el3.i386.rpm
74 2 tsmr
> * graphviz-gd-2.13.20061211.0540-1.el3.i386.rpm
75 1 tsmr
76 2 tsmr
h3. Gentoo
77 1 tsmr
78 2 tsmr
* Use the command emerge-pv "= graphviz-2.8 *"
79 1 tsmr
80 2 tsmr
h3. Mandriva 2007/2007.1/2008
81 1 tsmr
82 2 tsmr
* Login as root and use the command urpmi graphviz
83 1 tsmr
84 2 tsmr
h3. FreeBSD
85 1 tsmr
86 2 tsmr
*Graphviz works without any problem with version 2.20.2*
87 1 tsmr
88 2 tsmr
* Install the port:
89 1 tsmr
90 2 tsmr
<pre>
91 2 tsmr
    cd /usr/ports/graphics/graphviz/
92 2 tsmr
    make install clean
93 2 tsmr
</pre>
94 1 tsmr
95 2 tsmr
* Install PEAR if not installed:
96 1 tsmr
97 2 tsmr
<pre>
98 2 tsmr
    cd /usr/ports/devel/pear/
99 2 tsmr
    make install clean
100 2 tsmr
</pre>
101 3 tsmr
102 4 tsmr
h3. Apple OSX-Server
103 3 tsmr
104 5 tsmr
See this thread : http://www.glpi-project.org/forum/viewtopic.php?pid=110689