• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            牽著老婆滿街逛

            嚴(yán)以律己,寬以待人. 三思而后行.
            GMail/GTalk: yanglinbo#google.com;
            MSN/Email: tx7do#yahoo.com.cn;
            QQ: 3 0 3 3 9 6 9 2 0 .

            Centos 6 Zabbix : Install

            轉(zhuǎn)載自:https://www.server-world.info/en/note?os=CentOS_6&p=zabbix

             
            Install Zabbix which is an enterprise open source monitoring system.
            It's possible to monitor not only Linux but Windows, Solaris, IBM AIX and others.
            [1]
            [2]
            [3]
            [4] Install some other required packages and Zabbix repository.
            [root@dlp ~]# 
            yum -y install php-mysql php-gd php-xml php-bcmath 

            [root@dlp ~]# 
            yum -y install http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm

            [5] Install Zabbix server.
            Install Zabbix Agent to monitor Zabbix server itself, too.
            [root@dlp ~]# 
            yum -y install zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix_get

            [6] Create a database for Zabbix.
            [root@dlp ~]# 
            mysql -u root -p 

            Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 12 Server version: 5.1.73 Source distribution Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. 
            mysql> 
            create database zabbix; 

            Query OK, 1 row affected (0.00 sec)
            mysql> 
            grant all privileges on zabbix.* to zabbix@'localhost' identified by 'password'; 

            Query OK, 0 rows affected (0.00 sec)
            mysql> 
            grant all privileges on zabbix.* to zabbix@'%' identified by 'password'; 

            Query OK, 0 rows affected (0.00 sec)
            mysql> 
            flush privileges; 

            Query OK, 0 rows affected (0.00 sec)
            mysql> 
            exit 

            Bye
            [root@dlp ~]# 
            cd /usr/share/doc/zabbix-server-mysql-*/create 

            [root@dlp create]# 
            mysql -u root -p zabbix < schema.sql 

            Enter password:
            [root@dlp create]# 
            mysql -u root -p zabbix < images.sql 

            Enter password:
            [root@dlp create]# 
            mysql -u root -p zabbix < data.sql 

            Enter password:
            [7] Configure and start Zabbix server.
            [root@dlp ~]# 
            vi /etc/zabbix/zabbix_server.conf
            # line 73: add

            DBHost=localhost
            # line 107: add DB password for Zabbix

            DBPassword=password
            [root@dlp ~]# 
            /etc/rc.d/init.d/zabbix-server start 

            Starting ZABBIX server:
            [ OK ]

            [root@dlp ~]# 
            chkconfig zabbix-server on 


            [8] Configure and start Zabbix Agent to monitor Zabbix server itself.
            [root@dlp ~]# 
            vi /etc/zabbix/zabbix_agentd.conf
            # line 85: specify Zabbix server

            Server=
            127.0.0.1
            # line 126: specify Zabbix server

            ServerActive=
            127.0.0.1
            # line 137: change to the own hostname

            Hostname=
            dlp.srv.world
            [root@dlp ~]# 
            /etc/rc.d/init.d/zabbix-agent start 

            Starting ZABBIX agent:
            [ OK ]

            [root@dlp ~]# 
            chkconfig zabbix-agent on 


            [9] Change httpd settings like follows.
            [root@dlp ~]# 
            vi /etc/httpd/conf.d/zabbix.conf
            # line 11: change access permittion for Zabbix frontend

            Allow from 
            localhost 10.0.0.0/24
            # line 18: uncomment and change to your timezone

            php_value date.timezone 
            Asia/Tokyo
            [root@dlp ~]# 
            /etc/rc.d/init.d/httpd restart 

            Stopping httpd:
            [ OK ]

            Starting httpd:
            [ OK ]

            posted on 2017-10-27 13:00 楊粼波 閱讀(1212) 評論(0)  編輯 收藏 引用


            只有注冊用戶登錄后才能發(fā)表評論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


            国产精品禁18久久久夂久| 久久99热这里只有精品国产| 天天影视色香欲综合久久| 少妇人妻88久久中文字幕| 久久天天婷婷五月俺也去| 精品久久人人做人人爽综合| 国产精品久久久久影视不卡| 久久久久人妻一区精品性色av| 久久久SS麻豆欧美国产日韩| 一本一道久久a久久精品综合| 久久久久一级精品亚洲国产成人综合AV区| 久久精品国产精品国产精品污| 国产三级久久久精品麻豆三级 | 久久99热狠狠色精品一区| 日产精品久久久久久久| 色婷婷综合久久久久中文| 奇米综合四色77777久久| 久久久久国产精品熟女影院| 久久久无码人妻精品无码| 久久香综合精品久久伊人| 97精品依人久久久大香线蕉97| av色综合久久天堂av色综合在| 久久精品国产AV一区二区三区| 久久久久波多野结衣高潮| 无码久久精品国产亚洲Av影片 | 热99re久久国超精品首页| 久久免费高清视频| 精品久久久久久久久久中文字幕 | 久久久亚洲精品蜜桃臀| 伊人久久一区二区三区无码| 人妻无码精品久久亚瑟影视| 久久人爽人人爽人人片AV | 国内精品久久久久久久亚洲| 久久亚洲国产精品123区| 伊人久久综合成人网| 99国产欧美精品久久久蜜芽| 伊人久久综在合线亚洲2019| 亚洲精品无码久久久| 亚洲精品无码久久一线| 国产精品久久亚洲不卡动漫| 日本亚洲色大成网站WWW久久 |