久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      CentOS 6.8搭建zabbix平臺(tái)

      CentOS 6.8搭建zabbix平臺(tái):

      安裝httpd:

      yum install httpd

      安裝mysql:

      yum install mysql-server

      service mysqld start

      mysql -u root

      update user set password=password('xxxxx') where user='root';

      flush privileges;

      exit

      mysql -u root -p'xxxx'

      create database zabbix character set utf8 collate utf8_bin;

      grant all on zabbix.* to zabbix@'localhost' identified by 'xxxx';

      exit

      安裝php5.6(要求php5.6以上):

      rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm

      rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

      yum install –enablerepo=remi –enablerepo=remi-php56 php php-mysql php-bcmath php-mbstring php-gd

      安裝zabbix:

      useradd zabbix

      rpm -Uvh https://repo.zabbix.com/zabbix/4.0/rhel/6/x86_64/zabbix-release-4.0-1.el6.noarch.rpm

      yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent

      zcat /usr/share/doc/zabbix-server-mysql-4.0.4/create.sql.gz | mysql -u zabbix -p'xxxxx' zabbix

      vi /etc/zabbix/zabbix_server.conf

      DBPassword=xxxxx (默認(rèn)為注釋掉的)

      :wq

      cp -rv /usr/share/doc/zabbix-web-4.0.4/httpd22-example.conf /etc/httpd/conf.d/zabbix.conf

      vi /etc/httpd/conf.d/zabbix.conf

      php_value date.timezone Asia/Shanghai (默認(rèn)為注釋掉的)

      :wq

      service httpd restart

      /etc/init.d/zabbix-server restart (一定要disabled掉selinux,不然服務(wù)會(huì)起不來)

      /etc/init.d/zabbix-agent restart

      chkconfig –level 35 httpd on

      chkconfig –level 35 zabbix-server on

      chkconfig –level 35 zabbix-agent on

      瀏覽器訪問:http://ip/zabbix (配置略,比較簡單),初始賬號(hào)為:Admin(A為大寫),密碼:zabbix

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)