{"id":93,"date":"2019-11-29T14:23:59","date_gmt":"2019-11-29T06:23:59","guid":{"rendered":"http:\/\/wp.mewe.gq\/?p=93"},"modified":"2021-01-26T17:55:47","modified_gmt":"2021-01-26T09:55:47","slug":"%e6%ba%90%e7%a0%81%e5%8d%87%e7%ba%a7zabbix","status":"publish","type":"post","link":"https:\/\/wp.800550.xyz\/?p=93","title":{"rendered":"\u6e90\u7801\u5347\u7ea7zabbix"},"content":{"rendered":"\n<h5 class=\"wp-block-heading\">1.\u5907\u4efd\u6587\u4ef6<\/h5>\n\n\n\n<p>\/usr\/local\/etc\/zabbix_server.conf<br> \/usr\/local\/etc\/zabbix_agentd.conf<br> \/www\/wwwroot\/zabbix\/conf\/zabbix.conf.php<br> \/www\/wwwroot\/zabbix\/assets\/fonts\/msyh.ttf<br> \/www\/wwwroot\/zabbix\/include\/defines.inc.php<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">2.\u5b89\u88c5<\/h5>\n\n\n\n<p>\u505c\u6b62\u7a0b\u5e8f<\/p>\n\n\n\n<p>\/etc\/init.d\/zabbix_server stop<\/p>\n\n\n\n<p>\/etc\/init.d\/zabbix_agentd stop<\/p>\n\n\n\n<p>\u4e0b\u8f7d\u89e3\u538b\u5b89\u88c5<\/p>\n\n\n\n<p>wget https:\/\/sourceforge.net\/projects\/zabbix\/files\/ZABBIX%20Latest%20Stable\/4.4.3\/zabbix-4.4.3.tar.gz<\/p>\n\n\n\n<p>tar -zxvf zabbix-4.4.3.tar.gz<\/p>\n\n\n\n<p>\u7f16\u8bd1 .\/configure &#8211;enable-server &#8211;enable-agent &#8211;with-mysql &#8211;enable-ipv6 &#8211;with-net-snmp &#8211;with-libcurl &#8211;with-libxml2<\/p>\n\n\n\n<p>make install<\/p>\n\n\n\n<p>\u68c0\u67e5<\/p>\n\n\n\n<p>\/usr\/local\/etc\/zabbix_server.conf<br>\n\/usr\/local\/etc\/zabbix_agentd.conf<\/p>\n\n\n\n<p>\u5b89\u88c5\u66f4\u65b0\u524d\u7aef<\/p>\n\n\n\n<p>cd frontends\/php   <span class=\"has-inline-color has-accent-color\"><strong>\u6ce8\u610f5.0\u5f00\u59cb\u53d8\u4e3acd ui\/   \u524d\u7aef\u76ee\u5f55\u5728ui<\/strong><\/span><\/p>\n\n\n\n<p>cd ui\/<\/p>\n\n\n\n<p>\\cp -a . \/www\/wwwroot\/zabbix<\/p>\n\n\n\n<p>\u5f00\u542f\u7a0b\u5e8f<\/p>\n\n\n\n<p>\/etc\/init.d\/zabbix_server start<\/p>\n\n\n\n<p>\/etc\/init.d\/zabbix_agentd start<\/p>\n\n\n\n<p>\u67e5\u770blog<\/p>\n\n\n\n<p>cat \/tmp\/zabbix_server.log<\/p>\n\n\n<p><!--EndFragment-->cat \/tmp\/zabbix_agentd.log<\/p>\n\n\n<h5 class=\"wp-block-heading\" id=\"upgrade_between_minor_versions\">Upgrade between minor versions<\/h5>\n\n\n\n<p> When upgrading between minor versions of 4.4.x (for example from 4.4.1  to 4.4.3) it is required to execute the same actions for  server\/proxy\/agent as during the upgrade between major versions. The  only difference is that when upgrading between minor versions no changes  to the database are made.   <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"> <a href=\"https:\/\/www.zabbix.com\/documentation\/4.4\/manual\/installation\/upgrade\/packages\">Upgrade from packages<\/a> <\/h3>\n\n\n\n<p>yum\u5b89\u88c5\u7684\u76ee\u5f55 <\/p>\n\n\n\n<p>\/var\/log\/zabbix\/zabbix_agentd.log<\/p>\n\n\n\n<p>\/etc\/zabbix\/zabbix_agentd.conf<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>systemctl stop zabbix-agent<\/p>\n\n\n\n<p>rpm -Uvh https:\/\/repo.zabbix.com\/zabbix\/4.4\/rhel\/7\/x86_64\/zabbix-release-4.4-1.el7.noarch.rpm<\/p>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"upgrade_between_minor_versions\">Upgrade between minor versions<\/h5>\n\n\n\n<p>\nIt is possible to upgrade between minor versions of 4.4.x (for example, \nfrom 4.4.1 to 4.4.3). Upgrading between minor versions is easy.\n<\/p>\n\n\n\n<p>\nTo execute Zabbix minor version upgrade it is required to run:\n<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo yum upgrade 'zabbix-*'<\/pre>\n\n\n\n<p>\nTo execute Zabbix server minor version upgrade run:\n<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo yum upgrade 'zabbix-server-*'<\/pre>\n\n\n\n<p>\nTo execute Zabbix agent minor version upgrade run:\n<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo yum upgrade 'zabbix-agent-*'<\/pre>\n\n\n\n<p>\nNote that you may also use &#8216;update&#8217; instead of &#8216;upgrade&#8217; in these \ncommands. While &#8216;upgrade&#8217; will delete obsolete packages, &#8216;update&#8217; will \npreserve them.\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.\u5907\u4efd\u6587\u4ef6 \/usr\/local\/etc\/zabbix_server.conf \/usr\/loca<a class=\"moretag\" href=\"https:\/\/wp.800550.xyz\/?p=93\"> \u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-93","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/wp.800550.xyz\/index.php?rest_route=\/wp\/v2\/posts\/93","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.800550.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.800550.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.800550.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.800550.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=93"}],"version-history":[{"count":2,"href":"https:\/\/wp.800550.xyz\/index.php?rest_route=\/wp\/v2\/posts\/93\/revisions"}],"predecessor-version":[{"id":117,"href":"https:\/\/wp.800550.xyz\/index.php?rest_route=\/wp\/v2\/posts\/93\/revisions\/117"}],"wp:attachment":[{"href":"https:\/\/wp.800550.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.800550.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.800550.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}