{"id":28699,"date":"2023-06-16T13:37:21","date_gmt":"2023-05-04T15:24:59","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos-7%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-3-0%e3%80%82\/"},"modified":"2025-08-12T09:36:33","modified_gmt":"2025-08-12T01:36:33","slug":"%e5%9c%a8centos-7%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-3-0%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos-7%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-3-0%e3%80%82\/","title":{"rendered":"\u5728CentOS 7\u4e0a\u5b89\u88c5Zabbix 3.0"},"content":{"rendered":"<p>\u603b\u7ed3\u5b89\u88c5CentOS7\u548cZabbix3.0\u7684\u6b65\u9aa4\u3002<\/p>\n<h1>\u73af\u5883AWS<br \/>\nCentOS Linux 7 x86_64 HVM<\/p>\n<p>AWS<br \/>\nCentOS Linux 7 x86_64 HVM (\u4e91\u8ba1\u7b97\u670d\u52a1)<\/p>\n<h1>\u51c6\u5907\u4e4b\u540e<\/p>\n<h2>\u66f4\u6539\u4e3b\u673a\u540d\u79f0\u5728\u4e2d\u56fd\uff0c\u53ef\u4ee5\u4f7f\u7528hostnamectl\u6765\u66f4\u6539\u4e3b\u673a\u540d\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\/etc\/hostname\u3002<\/p>\n<pre class=\"post-pre\"><code># hostnamectl set-hostname zabbix-test01\r\n<\/code><\/pre>\n<p>\u786e\u8ba4\u4e3b\u673a\u540d\u662f\u5426\u5df2\u7ecf\u88ab\u586b\u5199\uff08\u6682\u65f6\uff09<\/p>\n<pre class=\"post-pre\"><code>[root@ip-10-0-0-186 ~]# cat \/etc\/hostname \r\nzabbix-test01\r\n<\/code><\/pre>\n<p>\u6bcf\u6b21\u542f\u52a8\u65f6\uff0c\u7531\u4e8ecloudinit\u5c06\u4e3b\u673a\u540d\u66f4\u6539\u4e3aip-[\u79c1\u6709IP]\uff0c\u6240\u4ee5\u9700\u8981\u5c06\u4e3b\u673a\u540d\u9759\u6001\u8bbe\u7f6e\u3002<\/p>\n<pre class=\"post-pre\"><code># echo \"preserve_hostname: true\" &gt;&gt; \/etc\/cloud\/cloud.cfg\r\n<\/code><\/pre>\n<h2>\u4fee\u6539\u65f6\u533a\u2193\u8d77\u59cb\u503c<\/p>\n<pre class=\"post-pre\"><code># timedatectl \r\n      Local time: Mon 2018-02-05 13:57:17 UTC\r\n  Universal time: Mon 2018-02-05 13:57:17 UTC\r\n        RTC time: Mon 2018-02-05 13:57:16\r\n       Time zone: UTC (UTC, +0000)\r\n     NTP enabled: yes\r\nNTP synchronized: yes\r\n RTC in local TZ: no\r\n      DST active: n\/a\r\n<\/code><\/pre>\n<p>\u5c06\u65f6\u95f4\u8c03\u6574\u4e3a\u65e5\u672c\u65f6\u95f4\u3002<\/p>\n<pre class=\"post-pre\"><code># timedatectl set-timezone Asia\/Tokyo\r\n<\/code><\/pre>\n<p>\u786e\u8ba4\u8bbe\u7f6e\u662f\u5426\u53cd\u6620\uff08\u65f6\u533a\u5e94\u8be5\u8bbe\u7f6e\u4e3a\u65e5\u672c\u65f6\u95f4\uff09<\/p>\n<pre class=\"post-pre\"><code># timedatectl \r\n      Local time: Mon 2018-02-05 22:57:29 JST\r\n  Universal time: Mon 2018-02-05 13:57:29 UTC\r\n        RTC time: Mon 2018-02-05 13:57:28\r\n       Time zone: Asia\/Tokyo (JST, +0900)\r\n     NTP enabled: yes\r\nNTP synchronized: yes\r\n RTC in local TZ: no\r\n      DST active: n\/a\r\n<\/code><\/pre>\n<p>\u663e\u793a\u7684\u6837\u5b50\u5c31\u50cf\u8fd9\u6837<\/p>\n<pre class=\"post-pre\"><code># date\r\nMon Feb  5 23:02:11 JST 2018\r\n<\/code><\/pre>\n<h2>\u7981\u7528\u4e86SELinux\u3002\u4e3a\u4e86\u4f7f\u7528Apache\uff0c\u5c06SELINUX\u53c2\u6570\u8bbe\u7f6e\u4e3adisabled\u3002<\/p>\n<pre class=\"post-pre\"><code># This file controls the state of SELinux on the system.\r\n# SELINUX= can take one of these three values:\r\n#     enforcing - SELinux security policy is enforced.\r\n#     permissive - SELinux prints warnings instead of enforcing.\r\n#     disabled - No SELinux policy is loaded.\r\n#SELINUX=enforcing\r\nSELINUX=disabled\r\n# SELINUXTYPE= can take one of three two values:\r\n#     targeted - Targeted processes are protected,\r\n#     minimum - Modification of targeted policy. Only selected processes are protected.\r\n#     mls - Multi Level Security protection.\r\nSELINUXTYPE=targeted\r\n<\/code><\/pre>\n<h2>\u66f4\u65b0\u5305\u9996\u5148\uff0c\u66f4\u65b0\u5230\u6700\u65b0\u7684\u8f6f\u4ef6\u5305\uff0c\u7136\u540e\u518d\u5b89\u88c5bash\u7684\u81ea\u52a8\u8865\u5168\u529f\u80fd\u3002<\/p>\n<pre class=\"post-pre\"><code># yum update -y &amp;&amp; yum install bash-completion -y\r\n<\/code><\/pre>\n<h1>\u91cd\u65b0\u542f\u52a8\u4e3a\u4e86\u4f7f\u4e3b\u673a\u540d\u548cSELinux\u8bbe\u7f6e\u751f\u6548\uff0c\u8bf7\u91cd\u65b0\u542f\u52a8\u3002<\/p>\n<pre class=\"post-pre\"><code># reboot \r\n<\/code><\/pre>\n<h1>Zabbix3.0\u7684\u5b89\u88c5<\/p>\n<pre class=\"post-pre\"><code># yum install http:\/\/repo.zabbix.com\/zabbix\/3.0\/rhel\/7\/x86_64\/zabbix-release-\r\n3.0-1.el7.noarch.rpm -y\r\n<\/code><\/pre>\n<p>\u8bf7\u5b89\u88c5\u6240\u9700\u7684\u5168\u90e8\u8f6f\u4ef6\u5305\u3002<\/p>\n<pre class=\"post-pre\"><code># yum install -y httpd php mariadb mariadb-server zabbix-server-mysql zabbix-web-mysql zabbix-web-japanese\r\n<\/code><\/pre>\n<h1>MariaDB\u7684\u521d\u59cb\u914d\u7f6e<\/p>\n<pre class=\"post-pre\"><code># mysql_secure_installation \r\n\r\nNOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB\r\n      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!\r\n\r\nIn order to log into MariaDB to secure it, we'll need the current\r\npassword for the root user.  If you've just installed MariaDB, and\r\nyou haven't set the root password yet, the password will be blank,\r\nso you should just press enter here.\r\n\r\nEnter current password for root (enter for none): \r\nOK, successfully used password, moving on...\r\n\r\nSetting the root password ensures that nobody can log into the MariaDB\r\nroot user without the proper authorisation.\r\n\r\nSet root password? [Y\/n] y &lt;==y\r\nNew password: &lt;==\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\r\nRe-enter new password: &lt;==\u3082\u3046\u4e00\u5ea6\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\r\nPassword updated successfully!\r\nReloading privilege tables..\r\n ... Success!\r\n\r\n\r\nBy default, a MariaDB installation has an anonymous user, allowing anyone\r\nto log into MariaDB without having to have a user account created for\r\nthem.  This is intended only for testing, and to make the installation\r\ngo a bit smoother.  You should remove them before moving into a\r\nproduction environment.\r\n\r\nRemove anonymous users? [Y\/n] y &lt;==anonymous\u30e6\u30fc\u30b6\u306e\u524a\u9664\u3059\u308b\u304b\u3069\u3046\u304b\r\n ... Success!\r\n\r\nNormally, root should only be allowed to connect from 'localhost'.  This\r\nensures that someone cannot guess at the root password from the network.\r\n\r\nDisallow root login remotely? [Y\/n] y &lt;==\u30ea\u30e2\u30fc\u30c8\u3067\u306eroot\u30ed\u30b0\u30a4\u30f3\u3092\u8a31\u53ef\u3059\u308b\u304b\u3069\u3046\u304b\r\n ... Success!\r\n\r\nBy default, MariaDB comes with a database named 'test' that anyone can\r\naccess.  This is also intended only for testing, and should be removed\r\nbefore moving into a production environment.\r\n\r\nRemove test database and access to it? [Y\/n] y &lt;==\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u300ctest\u300d\u3092\u524a\u9664\u3059\u308b\u304b\u3069\u3046\u304b\r\n - Dropping test database...\r\n ... Success!\r\n - Removing privileges on test database...\r\n ... Success!\r\n\r\nReloading the privilege tables will ensure that all changes made so far\r\nwill take effect immediately.\r\n\r\nReload privilege tables now? [Y\/n] y &lt;==\u8a2d\u5b9a\u3092\u53cd\u6620\u3059\u308b\u304b\u3069\u3046\u304b\r\n ... Success!\r\n\r\nCleaning up...\r\n\r\nAll done!  If you've completed all of the above steps, your MariaDB\r\ninstallation should now be secure.\r\n\r\nThanks for using MariaDB!\r\n<\/code><\/pre>\n<h2>\u521b\u5efa\u7528\u4e8eZabbix\u7684\u6570\u636e\u5e93<br \/>\n\u521b\u5efa\u7528\u4e8eZabbix\u7684\u6570\u636e\u5e93\u548c\u7528\u6237<br \/>\n\u5bc6\u7801\u8bbe\u4e3azabbixzabbix<\/p>\n<pre class=\"post-pre\"><code># mysql -u root -p\r\nMariaDB [(none)]&gt; create database zabbix character set utf8 collate utf8_bin;\r\nMariaDB [(none)]&gt; grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbixzabbix';\r\nMariaDB [(none)]&gt; select user,host from mysql.user; &lt;==\u4f5c\u6210\u3057\u305f\u30e6\u30fc\u30b6\u304c\u3042\u308b\u304b\u78ba\u8a8d(zabbix | localhost )\u304c\u3042\u308b\u884c\r\nquit;\r\n<\/code><\/pre>\n<p>\u8f93\u5165\u548c\u8f93\u51fa\u7684\u793a\u4f8b<\/p>\n<pre class=\"post-pre\"><code># mysql -u root -p\r\nEnter password: \r\nWelcome to the MariaDB monitor.  Commands end with ; or \\g.\r\nYour MariaDB connection id is 10\r\nServer version: 5.5.56-MariaDB MariaDB Server\r\n\r\nCopyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.\r\n\r\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\r\n\r\nMariaDB [(none)]&gt; create database zabbix character set utf8 collate utf8_bin;\r\nQuery OK, 1 row affected (0.00 sec)\r\n\r\nMariaDB [(none)]&gt; grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbixzabbix';\r\nQuery OK, 0 rows affected (0.00 sec)\r\n\r\nMariaDB [(none)]&gt; select user,host from mysql.user;\r\n+--------+-----------+\r\n| user   | host      |\r\n+--------+-----------+\r\n| root   | 127.0.0.1 |\r\n| root   | ::1       |\r\n| root   | localhost |\r\n| zabbix | localhost |\r\n+--------+-----------+\r\n4 rows in set (0.00 sec)\r\n\r\nMariaDB [(none)]&gt; quit;\r\n<\/code><\/pre>\n<h2>\u5c06SQL\u6570\u636e\u6ce8\u5165\u5230\u6570\u636e\u5e93\u4e2d\u3002<\/p>\n<pre class=\"post-pre\"><code># zcat \/usr\/share\/doc\/zabbix-server-mysql-3.0.14\/create.sql.gz | mysql -uzabbix zabbix -p\r\nEnter password: &lt;==\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\r\n# &lt;==\u7279\u306b\u4f55\u3082\u8868\u793a\u306f\u306a\u3044\r\n<\/code><\/pre>\n<h2>\u5c06DB\u7684\u4fe1\u606f\u5199\u5165Zabbix\u7684\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n<pre class=\"post-pre\"><code># echo \"DBHost=localhost\" &gt;&gt; \/etc\/zabbix\/zabbix_server.conf \r\n# echo \"DBPassword=zabbixzabbix\" &gt;&gt; \/etc\/zabbix\/zabbix_server.conf \r\n<\/code><\/pre>\n<p>\u7f16\u8f91Apache\u914d\u7f6e<br \/>\n\u5728\/etc\/httpd\/conf.d\/zabbix.conf\u6587\u4ef6\u4e2d<br \/>\n\u6dfb\u52a0php_value date.timezone Asia\/Tokyo<\/p>\n<pre class=\"post-pre\"><code># cat \/etc\/httpd\/conf.d\/zabbix.conf \r\n#\r\n# Zabbix monitoring system php web frontend\r\n#\r\n\r\nAlias \/zabbix \/usr\/share\/zabbix\r\n\r\n&lt;Directory \"\/usr\/share\/zabbix\"&gt;\r\n    Options FollowSymLinks\r\n    AllowOverride None\r\n    Require all granted\r\n\r\n    &lt;IfModule mod_php5.c&gt;\r\n        php_value max_execution_time 300\r\n        php_value memory_limit 128M\r\n        php_value post_max_size 16M\r\n        php_value upload_max_filesize 2M\r\n        php_value max_input_time 300\r\n        php_value always_populate_raw_post_data -1\r\n        # php_value date.timezone Europe\/Riga\r\n        php_value date.timezone Asia\/Tokyo\r\n    &lt;\/IfModule&gt;\r\n&lt;\/Directory&gt;\r\n\r\n&lt;Directory \"\/usr\/share\/zabbix\/conf\"&gt;\r\n    Require all denied\r\n&lt;\/Directory&gt;\r\n\r\n&lt;Directory \"\/usr\/share\/zabbix\/app\"&gt;\r\n    Require all denied\r\n&lt;\/Directory&gt;\r\n\r\n&lt;Directory \"\/usr\/share\/zabbix\/include\"&gt;\r\n    Require all denied\r\n&lt;\/Directory&gt;\r\n\r\n&lt;Directory \"\/usr\/share\/zabbix\/local\"&gt;\r\n    Require all denied\r\n&lt;\/Directory&gt;\r\n<\/code><\/pre>\n<h1>\u542f\u52a8\u5404\u9879\u670d\u52a1<\/p>\n<pre class=\"post-pre\"><code># systemctl start zabbix-server.service\r\n# systemctl start mariadb.service \r\n# systemctl start zabbix-server.service \r\n<\/code><\/pre>\n<h1>\u6240\u6709\u670d\u52a1\u81ea\u52a8\u542f\u52a8<\/p>\n<pre class=\"post-pre\"><code># systemctl enable httpd.service \r\nCreated symlink from \/etc\/systemd\/system\/multi-user.target.wants\/httpd.service to \/usr\/lib\/systemd\/system\/httpd.service.\r\n# systemctl enable mariadb.service \r\nCreated symlink from \/etc\/systemd\/system\/multi-user.target.wants\/mariadb.service to \/usr\/lib\/systemd\/system\/mariadb.service.\r\n# systemctl enable zabbix-server.service \r\nCreated symlink from \/etc\/systemd\/system\/multi-user.target.wants\/zabbix-server.service to \/usr\/lib\/sy\r\nstemd\/system\/zabbix-server.service.\r\n<\/code><\/pre>\n<p>\u8fd9\u53ea\u662f\u4e00\u4e2a\u7c97\u7565\u7684\u8bf4\u660e\uff0c\u603b\u4e4b\uff0c\u5bfc\u5165\u5df2\u7ecf\u5b8c\u6210\u3002<br \/>\n\u63a5\u4e0b\u6765\u6211\u4f1a\u5199\u4e00\u4e9b\u5173\u4e8e\u5728\u6d4f\u89c8\u5668\u4e0a\u7684\u521d\u59cb\u8bbe\u7f6e\u4e4b\u7c7b\u7684\u5185\u5bb9\u3002\u3002\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u603b\u7ed3\u5b89\u88c5CentOS7\u548cZabbix3.0\u7684\u6b65\u9aa4\u3002 \u73af\u5883AWS CentOS Linux 7 x86_64 H [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-28699","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-227"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728CentOS 7\u4e0a\u5b89\u88c5Zabbix 3.0 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u5728CentOS 7\u4e0a\u5b89\u88c5Zabbix 3.0\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728centos-7\u4e0a\u5b89\u88c5zabbix-3-0\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728CentOS 7\u4e0a\u5b89\u88c5Zabbix 3.0\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u5728CentOS 7\u4e0a\u5b89\u88c5Zabbix 3.0\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728centos-7\u4e0a\u5b89\u88c5zabbix-3-0\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-04T15:24:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-12T01:36:33+00:00\" \/>\n<meta name=\"author\" content=\"\u79d1, \u96c5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u79d1, \u96c5\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos-7%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-3-0%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos-7%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-3-0%e3%80%82\/\",\"name\":\"\u5728CentOS 7\u4e0a\u5b89\u88c5Zabbix 3.0 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-05-04T15:24:59+00:00\",\"dateModified\":\"2025-08-12T01:36:33+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a\"},\"description\":\"\u5173\u4e8e\u5728CentOS 7\u4e0a\u5b89\u88c5Zabbix 3.0\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos-7%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-3-0%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos-7%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-3-0%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos-7%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-3-0%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728CentOS 7\u4e0a\u5b89\u88c5Zabbix 3.0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a\",\"name\":\"\u79d1, \u96c5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"caption\":\"\u79d1, \u96c5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos-7%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-3-0%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5728CentOS 7\u4e0a\u5b89\u88c5Zabbix 3.0 - Blog - Silicon Cloud","description":"\u5173\u4e8e\u5728CentOS 7\u4e0a\u5b89\u88c5Zabbix 3.0\u7684\u6280\u672f\u6587\u7ae0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728centos-7\u4e0a\u5b89\u88c5zabbix-3-0\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728CentOS 7\u4e0a\u5b89\u88c5Zabbix 3.0","og_description":"\u5173\u4e8e\u5728CentOS 7\u4e0a\u5b89\u88c5Zabbix 3.0\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728centos-7\u4e0a\u5b89\u88c5zabbix-3-0\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-05-04T15:24:59+00:00","article_modified_time":"2025-08-12T01:36:33+00:00","author":"\u79d1, \u96c5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u79d1, \u96c5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos-7%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-3-0%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos-7%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-3-0%e3%80%82\/","name":"\u5728CentOS 7\u4e0a\u5b89\u88c5Zabbix 3.0 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-05-04T15:24:59+00:00","dateModified":"2025-08-12T01:36:33+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a"},"description":"\u5173\u4e8e\u5728CentOS 7\u4e0a\u5b89\u88c5Zabbix 3.0\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos-7%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-3-0%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos-7%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-3-0%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos-7%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-3-0%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5728CentOS 7\u4e0a\u5b89\u88c5Zabbix 3.0"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a","name":"\u79d1, \u96c5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","caption":"\u79d1, \u96c5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos-7%e4%b8%8a%e5%ae%89%e8%a3%85zabbix-3-0%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28699","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=28699"}],"version-history":[{"count":3,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28699\/revisions"}],"predecessor-version":[{"id":111371,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28699\/revisions\/111371"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=28699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=28699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=28699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}