系统版本:CentOS release 6.7 (Final)
[root@Centreon ~]# cat /etc/issue CentOS release 6.7 (Final) Kernel \r on an \m
查看主机名
[root@Centreon ~]# hostname Centreon
安装Centreon yum源安装包
[root@Centreon ~]# wget http://yum.centreon.com/standard/3.4/el6/stable/noarch/RPMS/centreon-release-3.4-4.el6.noarch.rpm
安装
[root@Centreon ~]# rpm -ivh centreon-release-3.4-4.el6.noarch.rpm
正式安装,时间可能比较长,还得看网速。
[root@Centreon ~]# yum install centreon-base-config-centreon-engine centreon [root@Centreon ~]# yum install MariaDB-server [root@Centreon ~]# /etc/init.d/mysql start Starting MySQL.171226 10:30:45 mysqld_safe Logging to '/var/lib/mysql/Centreon.err'. 171226 10:30:45 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql . [ OK ]
php时区配置
[root@Centreon ~]#vim /etc/php.ini
[Date] ; Defines the default timezone used by the date functions ; http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone date.timezone = Asia/Shanghai
启动Centron服务
[root@Centreon ~]# /etc/init.d/centcore start Starting centcore: [ OK ] [root@Centreon ~]# /etc/init.d/centengine start centengine start: done [ OK ] [root@Centreon ~]# /etc/init.d/centreontrapd start Starting centreontrapd: [ OK ]
原文地址:http://blog.51cto.com/guomt/2054668