3 | 3 |
Installation
|
4 | 4 |
############
|
5 | 5 |
|
6 | |
Centreon recommends using its official packages from the Centreon
|
7 | |
Entreprise Server (CES) repository. Most of Centreon' endorsed
|
|
6 |
Centreon recommends using its official packages from the Centreon Open Sources
|
|
7 |
version available free of charge on our repository (ex CES). Most of Centreon endorsed
|
8 | 8 |
software are available as RPM packages.
|
9 | 9 |
|
10 | 10 |
Alternatively, you can build and install your own version of this
|
|
14 | 14 |
Using packages
|
15 | 15 |
**************
|
16 | 16 |
|
17 | |
Centreon provides RPM for its products through Centreon Entreprise
|
18 | |
Server (CES). Open source products are freely available from our
|
19 | |
repository. These packages are available for CentOS 6 x86_64, which
|
20 | |
is the sole platform officially supported by Centreon
|
|
17 |
Centreon provides RPM for its products through Centreon Open Sources (COS) version
|
|
18 |
available free of charge on our repository.
|
|
19 |
Open source products are freely available from our repository.
|
|
20 |
These packages are available for CentOS 6 or 7 architecture x86_64, which is
|
|
21 |
the sole platform officially supported by Centreon
|
21 | 22 |
|
22 | 23 |
.. _user_installation_packages_prerequisites:
|
23 | 24 |
|
24 | 25 |
Prerequisites
|
25 | 26 |
=============
|
26 | 27 |
|
27 | |
In order to use RPM from the CES repository, you have to install the
|
|
28 |
In order to use RPM from the COS repository, you have to install the
|
28 | 29 |
appropriate repository.
|
29 | 30 |
|
30 | 31 |
CentOS 6
|
|
32 | 33 |
|
33 | 34 |
Run the following commands as privileged user ::
|
34 | 35 |
|
35 | |
$ wget http://yum.centreon.com/standard/3.0/stable/noarch/RPMS/ces-release-3.0-1.noarch.rpm
|
36 | |
$ yum install --nogpgcheck ces-release-3.0-1.noarch.rpm
|
37 | |
$ rm -f ces-release-3.0-1.noarch.rpm
|
|
36 |
$ wget http://yum.centreon.com/standard/3.4/el6/stable/noarch/RPMS/centreon-release-3.4-4.el6.noarch.rpm
|
|
37 |
$ yum install --nogpgcheck -y centreon-release-3.4-4.el6.noarch.rpm
|
|
38 |
$ rm -f centreon-release-3.4-4.el6.noarch.rpm
|
38 | 39 |
$ yum clean all
|
|
40 |
|
|
41 |
|
|
42 |
CentOS 7
|
|
43 |
--------
|
|
44 |
|
|
45 |
Run the following commands as privileged user ::
|
|
46 |
|
|
47 |
$ wget http://yum.centreon.com/standard/3.4/el7/stable/noarch/RPMS/centreon-release-3.4-4.el7.centos.noarch.rpm
|
|
48 |
$ yum install --nogpgcheck -y centreon-release-3.4-4.el7.centos.noarch.rpm
|
|
49 |
$ rm -f centreon-release-3.4-4.el7.centos.noarch.rpm
|
|
50 |
$ yum clean all
|
|
51 |
|
39 | 52 |
|
40 | 53 |
Install
|
41 | 54 |
=======
|
|
82 | 95 |
CentOS
|
83 | 96 |
------
|
84 | 97 |
|
85 | |
In CentOS you need to add manually cmake. After that you can
|
86 | |
install binary packages. Either use the Package Manager or the
|
87 | |
yum tool to install them. You should check packages version when
|
88 | |
necessary.
|
|
98 |
Either use the Package Manager or the yum tool to install them.
|
|
99 |
You should check packages version when necessary.
|
89 | 100 |
|
90 | 101 |
Package required to build:
|
91 | 102 |
|
|
100 | 111 |
|
101 | 112 |
#. Install basic compilation tools ::
|
102 | 113 |
|
103 | |
$ yum install gcc gcc-c++ make
|
104 | |
|
105 | |
#. Install Centreon repository
|
106 | |
|
107 | |
You need to install Centreon Entreprise Server (CES) repos file as
|
108 | |
explained :ref:`user_installation_packages_prerequisites` to use some
|
109 | |
specific package version.
|
110 | |
|
111 | |
#. Install cmake ::
|
112 | |
|
113 | |
$ yum install cmake
|
|
114 |
$ yum install gcc gcc-c++ make cmake
|
|
115 |
|
114 | 116 |
|
115 | 117 |
#. Install Centreon Clib
|
116 | 118 |
|
|
187 | 189 |
$ git clone https://github.com/centreon/centreon-engine
|
188 | 190 |
|
189 | 191 |
Or You can get the latest Centreon Engine's sources from its
|
190 | |
`download website <http://www.centreon.com/Content-Download/download-centreon-engine-centreon>`_
|
|
192 |
`download website <https://download.centreon.com/>`_
|
191 | 193 |
Once downloaded, extract it ::
|
192 | 194 |
|
193 | 195 |
$ tar xzf centreon-engine.tar.gz
|