注册送现金一元秒提现

    1. <form id='ln938'></form>
        <bdo id='ln938'><sup id='ln938'><div id='ln938'><bdo id='ln938'></bdo></div></sup></bdo>

          • <tr id='8b1z8'><strong id='8b1z8'></strong><small id='8b1z8'></small><button id='8b1z8'></button><li id='8b1z8'><noscript id='8b1z8'><big id='8b1z8'></big><dt id='8b1z8'></dt></noscript></li></tr><ol id='8b1z8'><option id='8b1z8'><table id='8b1z8'><blockquote id='8b1z8'><tbody id='8b1z8'></tbody></blockquote></table></option></ol><u id='8b1z8'></u><kbd id='8b1z8'><kbd id='8b1z8'></kbd></kbd>

            <code id='8b1z8'><strong id='8b1z8'></strong></code>

            <fieldset id='8b1z8'></fieldset>
                  <span id='8b1z8'></span>

                      <ins id='8b1z8'></ins>
                      <acronym id='8b1z8'><em id='8b1z8'></em><td id='8b1z8'><div id='8b1z8'></div></td></acronym><address id='8b1z8'><big id='8b1z8'><big id='8b1z8'></big><legend id='8b1z8'></legend></big></address>

                      <i id='8b1z8'><div id='8b1z8'><ins id='8b1z8'></ins></div></i>
                      <i id='8b1z8'></i>
                    1. <dl id='8b1z8'></dl>
                      1. <tr id='0rp26'><strong id='0rp26'></strong><small id='0rp26'></small><button id='0rp26'></button><li id='0rp26'><noscript id='0rp26'><big id='0rp26'></big><dt id='0rp26'></dt></noscript></li></tr><ol id='0rp26'><option id='0rp26'><table id='0rp26'><blockquote id='0rp26'><tbody id='0rp26'></tbody></blockquote></table></option></ol><u id='0rp26'></u><kbd id='0rp26'><kbd id='0rp26'></kbd></kbd>

                        <code id='0rp26'><strong id='0rp26'></strong></code>

                        <fieldset id='0rp26'></fieldset>
                              <span id='0rp26'></span>

                                  <ins id='0rp26'></ins>
                                  <acronym id='0rp26'><em id='0rp26'></em><td id='0rp26'><div id='0rp26'></div></td></acronym><address id='0rp26'><big id='0rp26'><big id='0rp26'></big><legend id='0rp26'></legend></big></address>

                                  <i id='0rp26'><div id='0rp26'><ins id='0rp26'></ins></div></i>
                                  <i id='0rp26'></i>
                                1. <dl id='0rp26'></dl>
                                  1. 当前位置:首页 > linux教程 > 列表

                                    lnmp环境下zabbix编译安装步骤详解

                                    发布:smiling 来源: PHP粉丝网  添加日期:2014-05-07 15:00:44 浏览: 评论:0 

                                    注册送现金一元秒提现zabbixSHIYIKUANJIANKONGRUANJIANLEWOMENTONGCHANGBAzabbixANZHUANGZAIlinuxXITONGZHONG,XIAWENWOMENYIQILAIKANKANZAIlnmpHUANJINGXIAzabbixBIANYIANZHUANGLE,XIWANGWENZHANGNENGGOUBANGZHUDAOGEWEIPENGYOU,YOUYUYIYOUphpYUNXINGHUANJING,SUOYIZHIXUYAOBIANYIANZHUANGzabbixJIKE.

                                    一、安装依赖组件

                                    注册送现金一元秒提现yum -y install net-snmp net-snmp-devel perl-DBI php-gd php-xml php-bcmath fping OpenIPMI-devel php-mbstring

                                    二、编译安装zabbix

                                    ①、XIAZAIzabbix

                                    1. cd /usr/local/src 
                                    2. wget -O zabbix-2.4.3.tar.gz -c "http://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/2.4.3/zabbix-2.4.3.tar.gz/download" 

                                    ②、BIANYIANZHUANG

                                    1. #解压zabbix 
                                    2. tar zxvf zabbix-2.4.3.tar.gz 
                                    3.  
                                    4. #编译zabbix 
                                    5. cd zabbix-2.4.3 
                                    6.  
                                    7. ./configure --prefix=/usr/local/zabbix --enable-server --with-mysql --with-net-snmp --with-libcurl --with-openipmi --enable-proxy --enable-agent 
                                    8.  
                                    9. #成功将出现如下信息: 
                                    10. *********************************************************** 
                                    11. *            Now run 'make install'                       * 
                                    12. *                                                         * 
                                    13. *            Thank you for using Zabbix!                  * 
                                    14. *                                 * 
                                    15. *********************************************************** 
                                    16. #直接make install 安装即可: 
                                    17. --mailanhe.com 
                                    18. make install 

                                    Ps:configure可能出现下列错误:

                                    注册送现金一元秒提现a. ZHAOBUDAOmysqlclient library:

                                    1. checking for mysql_config... /usr/bin/mysql_config 
                                    2. checking for main in -lmysqlclient... no 
                                    3. configure: error: Not found mysqlclient library 

                                    注册送现金一元秒提现RUXIAJIANLIRUANLIANJIEZHIHOU,ZHONGXINBIANYIJIKE.

                                    1. #如果是32位系统,应该是lib32,总之,先看下路径所指文件是否存在: 
                                    2. ln -s /usr/lib64/mysql/libmysqlclient.so.18.0.0 /usr/lib64/mysql/libmysqlclient.so 
                                    3. ln -s /usr/lib64/mysql/libmysqlclient_r.so.18.0.0 /usr/lib64/mysql/libmysqlclient_r.so 

                                    注册送现金一元秒提现b.ZHAOBUDAO MySQL library:

                                    configure:error:MySQL library not found

                                    注册送现金一元秒提现ZHEISHIWEIANZHUANGmysql-develZUJIANCHANSHENGDECUOWU,XIANYONGyumANZHUANG,RANHOUZHONGXINBIANYIJIKE:

                                    yum install mysql-devel

                                    三、配置zabbix

                                    Ps:以下步骤如果不是绝对路径,均位于zabbix解压后的文件夹目录,即/usr/local/src/zabbix-2.4.3

                                    ③、CHUANGJIANzabbixSHUJUKU,BINGDAORUCHUSHISHUJU.

                                    1. #创建zabbix数据库和zabbix用户 
                                    2. mysql -uroot -proot密码 -e "create database zabbix default character set utf8;" 
                                    3. mysql -uroot -proot密码 -e "grant all privileges on zabbix.* to 'zabbix'@'localhost' identified by 'zabbix2014'flush privileges;" 
                                    4.  
                                    5.  
                                    6. #导入zabbix初始数据 
                                    7. cat database/mysql/schema.sql | mysql -uzabbix -pzabbix2014 zabbix 
                                    8. cat database/mysql/images.sql | mysql -uzabbix -pzabbix2014 zabbix 
                                    9. cat database/mysql/data.sql | mysql -uzabbix -pzabbix2014 zabbix 

                                    ③、XIUGAIPEIZHI

                                    1. #创建服务 
                                    2. cp misc/init.d/fedora/core/zabbix_server /etc/init.d/ 
                                    3. cp misc/init.d/fedora/core/zabbix_agentd /etc/init.d/ 
                                    4.  
                                    5. #修改参数,注意根据实际情况修改DB用户名和密码: 
                                    6. sed -i 's/^DBUser=.*$/DBUser=zabbix/g' /usr/local/zabbix/etc/zabbix_server.conf 
                                    7. sed -i 's/^.*DBPassword=.*$/DBPassword=zabbix2014/g' /usr/local/zabbix/etc/zabbix_server.conf 
                                    8. sed -i 's/BASEDIR=\/usr\/local/BASEDIR=\/usr\/local\/zabbix/g' /etc/init.d/zabbix_server 
                                    9. sed -i 's/BASEDIR=\/usr\/local/BASEDIR=\/usr\/local\/zabbix/g' /etc/init.d/zabbix_agentd 

                                    ④、BUSHUWEB

                                    1. #因为只是测试,所以直接丢到了default下,http://ip/zabbix就能访问了 
                                    2. cp -r frontends/php /home/wwwroot/default/zabbix 
                                    3. #修改权限 
                                    4. chown -R www:www /home/wwwroot/default/zabbix 

                                    ⑤、ZENGJIAFUWUDUANKOU

                                    1. #直接在终端执行如下命令行即可: 
                                    2. cat >>/etc/services <<EOF 
                                    3. zabbix-agent 10050/tcp #Zabbix Agent 
                                    4. zabbix-agent 10050/udp #Zabbix Agent 
                                    5. zabbix-trapper 10051/tcp #Zabbix Trapper 
                                    6. zabbix-trapper 10051/udp #Zabbix Trapper 
                                    7. EOF 

                                    ⑥、QIDONGzabbixFUWU

                                    1. service zabbix_server start 
                                    2. service zabbix_agentd start 
                                    3.  
                                    4. #可选配置:将服务加入开机启动项 
                                    5. chkconfig zabbix_server on 
                                    6. chkconfig zabbix_agentd on 

                                    四、WEB端的安装

                                    注册送现金一元秒提现YINWEIWOSHIFANGDAOlnmpDEdefaultMULU,SUOYIZHIJIEZAILIULANQIFANGWENhttp://ipDIZHI/zabbixJINRUANZHUANGXIANGDAO,HEYIBANDEphpJIANZHANCHENGXUDEANZHUANGYIYANG,FEICHANGJIANDAN。

                                    注册送现金一元秒提现XIAYIBUHUIJIANCEYUNXINGHUANJING,RUOCHUXIANHONGSEDE,JIUZICHABINGJIEJUEJIKE,BIRUZHEICICHUXIANLEYIGEZHEIYANGDETISHI:TISHImax_input_timeDEZHIYINGGAIGAICHENG300,SUOYIZHIXUYAOBIANJIphp.ini,ZHAODAOmax_input_timeBINGXIUGAIWEI300,BAOCUNHOUZHIXINGservice php-fpm restart,ZAISHUAXINANZHUANGXIANGDAOYIJINGMEIYOUWENTILE,JIXUANZHAOXIANGDAOZHIDAOANZHUANGWANBI:

                                    WANCHENGHOUJINRUzabbixDENGLUJIEMIAN:SHURUMORENDEYONGHUMING:admin HE MIMA:zabbix JIKEDENGRU.

                                    五、问题与解决

                                    ①、JIANKONGBAOCUO

                                    注册送现金一元秒提现DENGLUzabbixHOU,FAXIANYIBIAOPANBAORUXIACUOWU,KANLEXIAHOUTAIRIZHI:

                                    1. [root@lcoalhost ~]# tail -f /tmp/zabbix_server.log 
                                    2.   9785:20150128:114951.637 [Z3001] connection to database 'zabbix' failed: [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 
                                    3.   9785:20150128:114951.637 Database is down. Reconnecting in 10 seconds. 
                                    4.   9785:20150128:115001.638 [Z3001] connection to database 'zabbix' failed: [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 
                                    5.   9785:20150128:115001.638 Database is down. Reconnecting in 10 seconds. 
                                    6.   ... 

                                    YUANLAISHImysql.sockLUJINGWENTI.

                                    解决方法:

                                    FANGFA(1).XIUGAI/usr/local/zabbix/etc/zabbix_server.conf,ZHAODAO#DBSocket=/tmp/mysql.sock,QUXIAOZHUSHI.

                                    FANGFA(2).JIANLIRUANLIANJIE.

                                    1. test -d /var/lib/mysql || mkdir /var/lib/mysql 
                                    2. ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock 

                                    TUIJIANDIYIZHONGFANGFA,BAOCUNHOU,SHIYONGservice zabbix_server restart ZHONGQIzabbixFUWUJIKEJIEJUECIWENTI.

                                    ①、中文设置

                                    注册送现金一元秒提现XIUGAIWEIZHONGWENJIEMIANDEBUZHOUSHI:Profile -> Language -> Chinese (zh_CN)  ->Save

                                    KEDANGWOANZHUANGZHIHOU,QUEMEIYOUChinese (zh_CN)ZHEIZHEIGEXIALAXUANXIANG。

                                    解决办法:

                                    注册送现金一元秒提现1、ZAIzabbixWANGZHANMULU(/home/wwwroot/default/zabbix)ZHAODAO include/locales.inc.php WENJIAN

                                    2、BIANJI locales.inc.php,ZHAODAO

                                    'zh_CN' => array('name' => _('Chinese (zh_CN)'),        'display' => false),

                                    XIUGAIWEI:

                                    注册送现金一元秒提现'zh_CN' => array('name' => _('Chinese (zh_CN)'),        'display' => true),

                                    Ps:注册送现金一元秒提现里面好多语言默认都是false屏蔽了,想开启只需要改成true即可在语言配置中开启,修改保存后,刷新网页,已经可以找到Chinese (zh_CN)了.

                                    ②、图形中文显示为方框

                                    YOUYUHAIMEIYOUTIANJIASHOUJIANKONGDEKEHUDUAN,SUOYIXIANBAserverZISHENDEJIANKONGDAKAI.

                                    BUZHOU:ZUTAI(PEIZHI) -> ZHUJI -> JIHUOZHUJI

                                    注册送现金一元秒提现JINRUTUXINGHOU,FAXIANWENZIDOUSHIFANGKUANG:

                                    注册送现金一元秒提现KANLAISHIZITIWENTI,ZHIXUYAOYONG Windows XIADECHANGYONGZITITIHUANYIXIAJIKE。

                                    具体步骤:

                                    1). WOBIJIAOXIHUANWEIRUANYAHEI,SUOYIZAI C:\windows\fonts XIAZHAODAOWEIRUANYAHEIZITI:msyh.ttc

                                    2). SHANGCHUANDAOzabbixZITIMULU:/home/wwwroot/default/zabbix/fonts/

                                    注册送现金一元秒提现3.). YONGmsyh.ttcFUGAIMORENDEZITIWENJIAN DejaVuSans.ttf JIKE:

                                    mv -f msyh.ttc DejaVuSans.ttf

                                    SHUAXINYEMIAN,YIJINGZHENGCHANGLE.

                                    zabbixJIANKONGZAIlnmpHUANJINGXIABIANYIANZHUANGXIAOJI

                                    HAOLE,GUANYUzabbixFUWUDUANDEANZHUANGJIUJILUDAOZHEI,HOUXUYOUSHIJIANZAILAIJILUXIAzabbixKEHUDUANDEANZHUANGJISHIYONG.

                                    Tags: lnmp环境 zabbix编译安装

                                    分享到:

                                    靠谱的棋牌---首页_Welcome 蓝洞棋牌官网送3金币---首页_Welcome 百灵拼三张-Welcome 聚友棋牌官网下载安装-首页 百胜棋牌---首页_欢迎您