{"id":28896,"date":"2023-11-02T18:36:27","date_gmt":"2023-11-22T18:56:27","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos7%e4%b8%8a%e6%90%ad%e5%bb%ba%e7%9b%91%e6%8e%a7%e6%9c%8d%e5%8a%a1%e5%99%a8zabbix4-4%e7%9a%84%e7%8e%af%e5%a2%83%ef%bc%88apache2-4-php5-4-mariadb5-5%ef%bc%89%e3%80%82\/"},"modified":"2025-08-12T10:40:32","modified_gmt":"2025-08-12T02:40:32","slug":"%e5%9c%a8centos7%e4%b8%8a%e6%90%ad%e5%bb%ba%e7%9b%91%e6%8e%a7%e6%9c%8d%e5%8a%a1%e5%99%a8zabbix4-4%e7%9a%84%e7%8e%af%e5%a2%83%ef%bc%88apache2-4-php5-4-mariadb5-5%ef%bc%89%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos7%e4%b8%8a%e6%90%ad%e5%bb%ba%e7%9b%91%e6%8e%a7%e6%9c%8d%e5%8a%a1%e5%99%a8zabbix4-4%e7%9a%84%e7%8e%af%e5%a2%83%ef%bc%88apache2-4-php5-4-mariadb5-5%ef%bc%89%e3%80%82\/","title":{"rendered":"\u5728CentOS7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668Zabbix4.4\u7684\u73af\u5883\uff08Apache2.4\/PHP5.4\/MariaDB5.5\uff09"},"content":{"rendered":"<h2>\u9996\u5148\u672c\u6587\u5c06\u4ecb\u7ecd\u5728CentOS7\u4e0a\u5b89\u88c5Zabbix4.4\u7684\u6b65\u9aa4\u3002<\/p>\n<h3>Zabbix\u662f\u4ec0\u4e48\uff1fZabbix \u662f\u4e00\u6b3e\u5f00\u6e90\u7684\u7efc\u5408\u76d1\u63a7\u8f6f\u4ef6\uff0c\u7528\u4e8e\u96c6\u4e2d\u76d1\u63a7\u670d\u52a1\u5668\u3001\u7f51\u7edc\u7b49\u3002\u5b83\u5df2\u7ecf\u6210\u4e3a\u76d1\u63a7\u8f6f\u4ef6\u7684\u4e8b\u5b9e\u6807\u51c6\u3002<\/p>\n<p>Zabbix\u5177\u5907\u5fc5\u8981\u7684\u76d1\u89c6\u3001\u6545\u969c\u68c0\u6d4b\u548c\u901a\u77e5\u529f\u80fd\uff0c\u7528\u4e8e\u7edf\u4e00\u76d1\u63a7\u3002\u7531\u4e8e\u652f\u6301\u4f17\u591a\u5e73\u53f0\u7684Zabbix\u4ee3\u7406\u548cSNMP\uff0c\u56e0\u6b64\u53ef\u4ee5\u901a\u8fc7\u4e00\u4e2aZabbix\u6765\u76d1\u63a7\u6574\u4e2a\u7cfb\u7edf\u3002<\/p>\n<p>Zabbix Web\u63a5\u53e3\u4f7f\u7528PHP\u5f00\u53d1\uff0c\u5e76\u5728Apache\u4e0a\u4f5c\u4e3aWeb\u5e94\u7528\u7a0b\u5e8f\u8fd0\u884c\u3002\u53ef\u4ee5\u901a\u8fc7Web\u6d4f\u89c8\u5668\u8f7b\u677e\u8fdb\u884c\u6240\u6709\u76d1\u63a7\u8bbe\u7f6e\u548c\u4fe1\u606f\u663e\u793a\u3002<\/p>\n<h2>\u751f\u614b<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30db\u30b9\u30c8OS\uff1aWindows10<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30b2\u30b9\u30c8OS\uff1aCentOS7 (CentOS Linux release 7.6.1810 (Core))<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u4eee\u60f3\u30de\u30b7\u30f3\u69cb\u7bc9\u65b9\u6cd5\uff1aVirtaulBox, Vagrant<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Web\u30b5\u30fc\u30d0\u30fc\uff1aApache2.4<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">PHP\uff1a5.4.16<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">DBMS\uff1aMariaDB 5.5.65<\/ul>\n<h2>Zabbix\u670d\u52a1\u5668\u7684\u6784\u5efa\u6b65\u9aa4\uff08\u6982\u8ff0\uff09<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>CentOS\u64cd\u4f5c\u7cfb\u7edf\u66f4\u65b0<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u5b89\u88c5Web\u670d\u52a1\u5668\uff08Apache\uff09\u3001PHP\u548c\u6570\u636e\u5e93\uff08MariaDB\uff09<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u5b89\u88c5Zabbix<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u8fdb\u884c\u5404\u79cd\u8bbe\u7f6e\uff08\u5982\u6570\u636e\u5e93\u3001Web\u670d\u52a1\u5668\uff09<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\u5728Web\u6d4f\u89c8\u5668\u4e0a\u663e\u793aZabbix\u76d1\u89c6\u548c\u8bbe\u7f6e\u754c\u9762<\/ol>\n<h2>Zabbix\u670d\u52a1\u5668\u7684\u6784\u5efa\u6b65\u9aa4\uff08\u8be6\u7ec6\uff09\u63d0\u524d\u6784\u5efa CentOS 7 \u73af\u5883\u3002<br \/>\n\u5b89\u88c5\u6700\u5c0f\u5316\u7684\u64cd\u4f5c\u7cfb\u7edf\u5305\u6ca1\u6709\u95ee\u9898\u3002<\/p>\n<p>\u6211\u5011\u69cb\u5efa\u7684CentOS7\u9700\u8981\u5177\u5099\u80fd\u5920\u9023\u63a5\u4e92\u806f\u7db2\u3001\u4f7f\u7528yum\u547d\u4ee4\u4e26\u8207\u5176\u4ed6\u865b\u64ec\u6a5f\u901a\u4fe1\u7684\u529f\u80fd\u3002\u540c\u6642\uff0c\u4ee5\u4e0b\u7684Zabbix\u74b0\u5883\u69cb\u5efa\u9700\u8981\u4ee5root\u6b0a\u9650\u9032\u884c\u3002<\/p>\n<h3>\u8fde\u63a5\u5230CentOS\u4eceWindows\u7684\u547d\u4ee4\u63d0\u793a\u7b26\u8fde\u63a5\u5230\u901a\u8fc7Vagrant\u6784\u5efa\u7684CentOS\u73af\u5883\u3002<\/p>\n<pre class=\"post-pre\"><code>D:\\hoge&gt;vagrant ssh zabbix\r\nLast login: Tue Oct 20 16:40:47 2020 from 10.0.2.2\r\n[vagrant@zabbix ~]$ su -\r\nPassword:\r\nLast login: Tue Oct 20 16:43:52 UTC 2020 on pts\/0\r\n[root@zabbix ~]#\r\n<\/code><\/pre>\n<h3>\u64cd\u4f5c\u7cfb\u7edf\u66f4\u65b0\u548c\u64cd\u4f5c\u7cfb\u7edf\u91cd\u542f\u9996\u5148\uff0c\u4f7f\u7528yum update\u547d\u4ee4\u5c06\u64cd\u4f5c\u7cfb\u7edf\u66f4\u65b0\u5230\u6700\u65b0\u72b6\u6001\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@zabbix ~]# yum update\r\nLoaded plugins: fastestmirror\r\nDetermining fastest mirrors\r\n * base: ftp.iij.ad.jp\r\n * extras: ftp.iij.ad.jp\r\n * updates: ftp.iij.ad.jp\r\n \uff5e\uff5e\uff5e\u7701\u7565\uff5e\uff5e\uff5e\r\n  tuned.noarch 0:2.11.0-8.el7                                 tzdata.noarch 0:2020a-1.el7\r\n  util-linux.x86_64 0:2.23.2-63.el7                           vim-minimal.x86_64 2:7.4.629-6.el7\r\n  xfsprogs.x86_64 0:4.5.0-20.el7                              yum.noarch 0:3.4.3-167.el7.centos\r\n  yum-plugin-fastestmirror.noarch 0:1.1.31-54.el7_8           yum-utils.noarch 0:1.1.31-54.el7_8\r\n\r\nComplete!\r\n<\/code><\/pre>\n<p>\u5b8c\u6210\u64cd\u4f5c\u7cfb\u7edf\u66f4\u65b0\u540e\uff0c\u91cd\u65b0\u542f\u52a8\u64cd\u4f5c\u7cfb\u7edf\u5e76\u8fde\u63a5\u5230CentOS7\u7684SSH\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@zabbix ~]# reboot\r\nConnection to 127.0.0.1 closed by remote host.\r\nConnection to 127.0.0.1 closed.\r\n\r\nD:\\hoge&gt;vagrant ssh zabbix\r\nLast login: Tue Oct 20 16:40:47 2020 from 10.0.2.2\r\n[vagrant@zabbix ~]$ su -\r\nPassword:\r\nLast login: Tue Oct 20 16:43:52 UTC 2020 on pts\/0\r\n[root@zabbix ~]#\r\n<\/code><\/pre>\n<h3>\u5b89\u88c5Zabbix\u6240\u9700\u7684\u8f6f\u4ef6(Apache\u3001PHP\u3001MariaDB)\u3002\u5b89\u88c5Apache\u3001PHP\u3001MariaDB\u7b49\u8f6f\u4ef6\u662f\u4e3a\u4e86\u4f7fZabbix\u80fd\u591f\u8fd0\u884c\u7684\u5fc5\u8981\u6b65\u9aa4\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@zabbix ~]# yum -y install httpd-devel php php-devel php-pdo php-mysqlnd php-mbstring php-mcrypt php-gd php-pear php-pecl-apc-devel zlib-devel mariadb-devel mariadb-server\r\n\r\n<\/code><\/pre>\n<h4>\u68c0\u67e5\u6bcf\u4e2a\u8f6f\u4ef6\u7684\u7248\u672c\u786e\u8ba4 Apache Web \u670d\u52a1\u5668\u7684\u7248\u672c\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@zabbix ~]# httpd -v\r\nServer version: Apache\/2.4.6 (CentOS)\r\n<\/code><\/pre>\n<p>\u67e5\u8be2 PHP \u7684\u7248\u672c\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@zabbix ~]# php -v\r\nPHP 5.4.16 (cli) (built: Apr  1 2020 04:07:17)\r\nCopyright (c) 1997-2013 The PHP Group\r\nZend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies\r\n<\/code><\/pre>\n<p>\u786e\u8ba4MariaDB\u7684\u7248\u672c\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@zabbix ~]# mysql -V\r\nmysql  Ver 15.1 Distrib 5.5.65-MariaDB, for Linux (x86_64) using readline 5.1\r\n<\/code><\/pre>\n<h3>Zabbix\u7684\u5b89\u88c5\u672c\u6b21\u5b89\u88c5Zabbix\u7248\u672c4.4\u3002<br \/>\nZabbix\u670d\u52a1\u5668\u7684\u6700\u65b0\u7248\u672c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u5b98\u65b9\u4ed3\u5e93\u8fdb\u884c\u786e\u8ba4\u3002<br \/>\nhttps:\/\/repo.zabbix.com\/zabbix\/<\/p>\n<h4>Zabbix Server\u7684\u5b89\u88c5\u4eceZabbix\u5b98\u65b9\u4ed3\u5e93\u5b89\u88c54.4\u7248\u672c\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@zabbix ~]# yum -y install https:\/\/repo.zabbix.com\/zabbix\/4.4\/rhel\/7\/x86_64\/zabbix-release-4.4-1.el7.noarch.rpm\r\n<\/code><\/pre>\n<p>\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u4ee5\u5b89\u88c5Zabbix Server\u7684\u76f8\u5173\u8f6f\u4ef6\u5305\u3002<\/p>\n<pre class=\"post-pre\"><code>yum install zabbix-web-mysql zabbix-web-japanese zabbix-server-mysql\r\n<\/code><\/pre>\n<p>\u786e\u8ba4Zabbix\u670d\u52a1\u5668\u7684\u7248\u672c\u3002<br \/>\n\u6210\u529f\u5b89\u88c5\u4e86\u7248\u672c\u4e3a4.4\u7684Zabbix\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@zabbix ~]# zabbix_server -V\r\nzabbix_server (Zabbix) 4.4.10\r\nRevision 4db30afc70 29 June 2020, compilation time: Jun 29 2020 11:55:57\r\n\r\nCopyright (C) 2020 Zabbix SIA\r\nLicense GPLv2+: GNU GPL version 2 or later &lt;http:\/\/gnu.org\/licenses\/gpl.html&gt;.\r\nThis is free software: you are free to change and redistribute it according to\r\nthe license. There is NO WARRANTY, to the extent permitted by law.\r\n\r\nThis product includes software developed by the OpenSSL Project\r\nfor use in the OpenSSL Toolkit (http:\/\/www.openssl.org\/).\r\n\r\nCompiled with OpenSSL 1.0.1e-fips 11 Feb 2013\r\nRunning with OpenSSL 1.0.1e-fips 11 Feb 2013\r\n<\/code><\/pre>\n<h4>\u5b89\u88c5Zabbix Agent<br \/>\n\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff0c\u5b89\u88c5Zabbix Agent\u3002<br \/>\n\uff08Zabbix Agent\u662f\u4e00\u79cd\u5b89\u88c5\u5728\u88ab\u76d1\u89c6\u670d\u52a1\u5668\u4e0a\u7684\u8f6f\u4ef6\uff09<\/p>\n<pre class=\"post-pre\"><code>[root@zabbix ~]# yum -y install zabbix-agent\r\n<\/code><\/pre>\n<p>\u786e\u8ba4 Zabbix agent \u7684\u7248\u672c\u3002<br \/>\n\u6210\u529f\u5b89\u88c5\u4e86 4.4 \u7248\u672c\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@zabbix ~]# zabbix_agentd -V\r\nzabbix_agentd (daemon) (Zabbix) 4.4.10\r\nRevision 4db30afc70 29 June 2020, compilation time: Jun 29 2020 11:56:26\r\n\r\nCopyright (C) 2020 Zabbix SIA\r\nLicense GPLv2+: GNU GPL version 2 or later &lt;http:\/\/gnu.org\/licenses\/gpl.html&gt;.\r\nThis is free software: you are free to change and redistribute it according to\r\nthe license. There is NO WARRANTY, to the extent permitted by law.\r\n\r\nThis product includes software developed by the OpenSSL Project\r\nfor use in the OpenSSL Toolkit (http:\/\/www.openssl.org\/).\r\n\r\nCompiled with OpenSSL 1.0.1e-fips 11 Feb 2013\r\nRunning with OpenSSL 1.0.1e-fips 11 Feb 2013\r\n<\/code><\/pre>\n<h3>\u542f\u52a8\u5e76\u767b\u5f55MariaDB.\u542f\u52a8MariaDB\u5e76\u767b\u5f55\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@zabbix ~]# systemctl start mariadb\r\n[root@zabbix ~]# systemctl enable mariadb\r\nCreated symlink from \/etc\/systemd\/system\/multi-user.target.wants\/mariadb.service to \/usr\/lib\/systemd\/system\/mariadb.service.\r\n[root@zabbix ~]# mysql -u root\r\nWelcome to the MariaDB monitor.  Commands end with ; or \\g.\r\nYour MariaDB connection id is 2\r\nServer version: 5.5.65-MariaDB MariaDB Server\r\n\r\nCopyright (c) 2000, 2018, 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<\/code><\/pre>\n<h3>MariaDB\u7684\u914d\u7f6e<br \/>\n\u521b\u5efaZabbix\u670d\u52a1\u5668\u4f7f\u7528\u7684\u6570\u636e\u5e93\u201czabbix\u201d\u548c\u7528\u6237\u201czabbix\u201d\u3002<\/p>\n<p>\u8bf7\u5c06 &#8220;new-password&#8221; \u66ff\u6362\u4e3a\u4efb\u610f\u5bc6\u7801\u540e\u6267\u884c\u547d\u4ee4\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"n\">MariaDB<\/span> <span class=\"p\">[(<\/span><span class=\"k\">none<\/span><span class=\"p\">)]<\/span><span class=\"o\">&gt;<\/span> <span class=\"k\">create<\/span> <span class=\"k\">database<\/span> <span class=\"n\">zabbix<\/span> <span class=\"nb\">character<\/span> <span class=\"k\">set<\/span> <span class=\"n\">utf8<\/span> <span class=\"k\">collate<\/span> <span class=\"n\">utf8_bin<\/span><span class=\"p\">;<\/span>\r\n<span class=\"n\">Query<\/span> <span class=\"n\">OK<\/span><span class=\"p\">,<\/span> <span class=\"mi\">1<\/span> <span class=\"k\">row<\/span> <span class=\"n\">affected<\/span> <span class=\"p\">(<\/span><span class=\"mi\">0<\/span><span class=\"p\">.<\/span><span class=\"mi\">00<\/span> <span class=\"n\">sec<\/span><span class=\"p\">)<\/span>\r\n\r\n<span class=\"n\">MariaDB<\/span> <span class=\"p\">[(<\/span><span class=\"k\">none<\/span><span class=\"p\">)]<\/span><span class=\"o\">&gt;<\/span> <span class=\"k\">grant<\/span> <span class=\"k\">all<\/span> <span class=\"k\">on<\/span> <span class=\"n\">zabbix<\/span><span class=\"p\">.<\/span><span class=\"o\">*<\/span> <span class=\"k\">to<\/span> <span class=\"n\">zabbix<\/span><span class=\"o\">@<\/span><span class=\"n\">localhost<\/span> <span class=\"n\">identified<\/span> <span class=\"k\">by<\/span> <span class=\"s1\">'new-password'<\/span><span class=\"p\">;<\/span>\r\n<span class=\"n\">Query<\/span> <span class=\"n\">OK<\/span><span class=\"p\">,<\/span> <span class=\"mi\">0<\/span> <span class=\"k\">rows<\/span> <span class=\"n\">affected<\/span> <span class=\"p\">(<\/span><span class=\"mi\">0<\/span><span class=\"p\">.<\/span><span class=\"mi\">00<\/span> <span class=\"n\">sec<\/span><span class=\"p\">)<\/span>\r\n\r\n<span class=\"n\">MariaDB<\/span> <span class=\"p\">[(<\/span><span class=\"k\">none<\/span><span class=\"p\">)]<\/span><span class=\"o\">&gt;<\/span> <span class=\"k\">UPDATE<\/span> <span class=\"n\">mysql<\/span><span class=\"p\">.<\/span><span class=\"k\">user<\/span> <span class=\"k\">SET<\/span> <span class=\"n\">Password<\/span><span class=\"o\">=<\/span><span class=\"n\">PASSWORD<\/span><span class=\"p\">(<\/span><span class=\"s1\">'new-password'<\/span><span class=\"p\">)<\/span> <span class=\"k\">WHERE<\/span> <span class=\"k\">User<\/span><span class=\"o\">=<\/span><span class=\"s1\">'root'<\/span><span class=\"p\">;<\/span>\r\n<span class=\"n\">Query<\/span> <span class=\"n\">OK<\/span><span class=\"p\">,<\/span> <span class=\"mi\">4<\/span> <span class=\"k\">rows<\/span> <span class=\"n\">affected<\/span> <span class=\"p\">(<\/span><span class=\"mi\">0<\/span><span class=\"p\">.<\/span><span class=\"mi\">00<\/span> <span class=\"n\">sec<\/span><span class=\"p\">)<\/span>\r\n<span class=\"k\">Rows<\/span> <span class=\"n\">matched<\/span><span class=\"p\">:<\/span> <span class=\"mi\">4<\/span>  <span class=\"n\">Changed<\/span><span class=\"p\">:<\/span> <span class=\"mi\">4<\/span>  <span class=\"n\">Warnings<\/span><span class=\"p\">:<\/span> <span class=\"mi\">0<\/span>\r\n\r\n<span class=\"n\">MariaDB<\/span> <span class=\"p\">[(<\/span><span class=\"k\">none<\/span><span class=\"p\">)]<\/span><span class=\"o\">&gt;<\/span> <span class=\"n\">FLUSH<\/span> <span class=\"k\">PRIVILEGES<\/span><span class=\"p\">;<\/span>\r\n<span class=\"n\">Query<\/span> <span class=\"n\">OK<\/span><span class=\"p\">,<\/span> <span class=\"mi\">0<\/span> <span class=\"k\">rows<\/span> <span class=\"n\">affected<\/span> <span class=\"p\">(<\/span><span class=\"mi\">0<\/span><span class=\"p\">.<\/span><span class=\"mi\">00<\/span> <span class=\"n\">sec<\/span><span class=\"p\">)<\/span>\r\n\r\n<span class=\"n\">MariaDB<\/span> <span class=\"p\">[(<\/span><span class=\"k\">none<\/span><span class=\"p\">)]<\/span><span class=\"o\">&gt;<\/span> <span class=\"n\">quit<\/span><span class=\"p\">;<\/span>\r\n<span class=\"n\">Bye<\/span>\r\n<\/code><\/pre>\n<p>\u63a5\u7740\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff0c\u5c06\u521d\u59cb\u8bbe\u7f6eSQL\u5bfc\u5165\u5230Zabbix\u6570\u636e\u5e93\u4e2d\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@zabbix ~]# cd \/usr\/share\/doc\/zabbix-server-mysql-4.4.10\/\r\n[root@zabbix zabbix-server-mysql-4.4.10]# zcat create.sql.gz | mysql -u zabbix -p zabbix\r\nEnter password:\r\n[root@zabbix zabbix-server-mysql-4.4.10]#\r\n<\/code><\/pre>\n<p>\u5c06\u521a\u521a\u521b\u5efa\u7684zabbix\u7528\u6237\u7684\u5bc6\u7801\u5199\u5165\u5230Zabbix\u670d\u52a1\u5668\u7684\u8bbe\u7f6e\u6587\u4ef6&#8221;zabbix_server.conf&#8221;\u4e2d\u3002<br \/>\n\u5728\u547d\u4ee4\u6267\u884c\u4e2d\uff0c\u5c06&#8221;new-password&#8221;\u66ff\u6362\u4e3a\u4efb\u610f\u5bc6\u7801\u3002<\/p>\n<pre class=\"post-pre\"><code># vi \/etc\/zabbix\/zabbix_server.conf\r\n---\r\n\r\n# DBPassword=\r\n\u2193\r\nDBPassword=new-password\r\n<\/code><\/pre>\n<h3>\u7f51\u9875\u670d\u52a1\u5668\u7684\u914d\u7f6e\u548c\u542f\u52a8\u4e3a\u4e86\u5728Zabbix\u6d4f\u89c8\u5668\u4e0a\u4ee5\u65e5\u672c\u65f6\u95f4\u663e\u793a\uff0c\u9700\u8981\u5728Apache\u7684\u914d\u7f6e\u6587\u4ef6zabbix.conf\u4e2d\u5c06\u65f6\u533a\u8bbe\u7f6e\u4e3a&#8221;Asia\/Tokyo\uff08\u65e5\u672c\/\u4e1c\u4eac\uff09&#8221;\u3002<\/p>\n<pre class=\"post-pre\"><code># vi \/etc\/httpd\/conf.d\/zabbix.conf\r\n---\r\n\r\n# php_value date.timezone Europe\/Riga\r\n\u2193\r\nphp_value date.timezone Asia\/Tokyo\r\n<\/code><\/pre>\n<p>\u6267\u884cApache\u7684\u542f\u52a8\u548c\u81ea\u52a8\u542f\u52a8\u8bbe\u7f6e\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@zabbix ~]# systemctl start httpd\r\n[root@zabbix ~]# systemctl enable httpd\r\nCreated symlink from \/etc\/systemd\/system\/multi-user.target.wants\/httpd.service to \/usr\/lib\/systemd\/system\/httpd.service.\r\n<\/code><\/pre>\n<h3>\u5f00\u59cb\u8fd0\u884cZabbix\u670d\u52a1\u5668\u3002\u6267\u884cZabbix\u670d\u52a1\u5668\u7684\u542f\u52a8\u548c\u81ea\u52a8\u542f\u52a8\u8bbe\u7f6e\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@zabbix ~]# systemctl start zabbix-server\r\n[root@zabbix ~]# systemctl enable zabbix-server\r\nCreated symlink from \/etc\/systemd\/system\/multi-user.target.wants\/zabbix-server.service to \/usr\/lib\/systemd\/system\/zabbix-server.service.\r\n<\/code><\/pre>\n<h3>Firewall\uff08\u9632\u706b\u5899\uff09\u7684\u542f\u52a8\u548c\u8bbe\u7f6e<br \/>\n\u5728\u542f\u52a8\u9632\u706b\u5899\u4e4b\u540e\uff0c\u5141\u8bb8\u4e0eZabbix\u7684Web\u754c\u9762\u901a\u4fe1\u7684http\uff0880\/TCP\uff09\u7aef\u53e3\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@zabbix ~]# systemctl start firewalld\r\n[root@zabbix ~]# systemctl enable firewalld\r\nCreated symlink from \/etc\/systemd\/system\/dbus-org.fedoraproject.FirewallD1.service to \/usr\/lib\/systemd\/system\/firewalld.service.\r\nCreated symlink from \/etc\/systemd\/system\/multi-user.target.wants\/firewalld.service to \/usr\/lib\/systemd\/system\/firewalld.service.\r\n[root@zabbix ~]# firewall-cmd --add-service=http --zone=public --permanent\r\nsuccess\r\n[root@zabbix ~]# firewall-cmd --reload\r\nsuccess\r\n[root@zabbix ~]#\r\n<\/code><\/pre>\n<h3>\u5c55\u793aZabbix\u754c\u9762\u4e4b\u540e\u53ef\u4ee5\u5728Web\u6d4f\u89c8\u5668\u4e0a\u8fdb\u884c\u5de5\u4f5c\u3002<\/p>\n<p>\u8bbf\u95eeZabbix\u7ba1\u7406\u754c\u9762\u7684URL\u3002<br \/>\n\u5c06CentOS7\u7684IP\u5730\u5740\u8f93\u5165\u5230IP\u5730\u5740\u90e8\u5206\u3002<br \/>\nhttp:\/\/[IP\u5730\u5740]\/zabbix\/<\/p>\n<p>\u5f53\u663e\u793a\u4ee5\u4e0b\u5c4f\u5e55\u65f6\uff0c\u8bf7\u70b9\u51fb&#8221;\u4e0b\u4e00\u6b65&#8221;\u7ee7\u7eed\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfec537434c4406bc6750\/71-0.jpeg\" alt=\"zabbix01.jpg\" \/><\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfec537434c4406bc6750\/72-0.jpeg\" alt=\"zabbix03.jpg\" \/><\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfec537434c4406bc6750\/73-0.png\" alt=\"zabbix_login.png\" \/><\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfec537434c4406bc6750\/74-0.jpeg\" alt=\"zabbix_top.jpg\" \/>\u4ee5\u4e0a\u3002 .)<\/p>\n<h2>\u6211\u6240\u53c2\u8003\u7684\u6587\u7ae0IT\u57fa\u7840\u77e5\u8bc6\u5165\u95e8\uff5eZabbix\u5b89\u88c5\u6559\u7a0b\uff5e &#8211; &#8220;\u4e91\u65f6\u4ee3\u6240\u9700\u7684IT\u57fa\u7840\u77e5\u8bc6&#8221; (5)<br \/>\nhttps:\/\/knowledge.sakura.ad.jp\/12446\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148\u672c\u6587\u5c06\u4ecb\u7ecd\u5728CentOS7\u4e0a\u5b89\u88c5Zabbix4.4\u7684\u6b65\u9aa4\u3002 Zabbix\u662f\u4ec0\u4e48\uff1fZabbix \u662f\u4e00\u6b3e\u5f00\u6e90\u7684 [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-28896","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>\u5728CentOS7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668Zabbix4.4\u7684\u73af\u5883\uff08Apache2.4\/PHP5.4\/MariaDB5.5\uff09 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u5728CentOS7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668Zabbix4.4\u7684\u73af\u5883\uff08Apache2.4\/PHP5.4\/Mari\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\/\u5728centos7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668zabbix4-4\u7684\u73af\u5883\uff08apache2-4-php5-4-mariadb5-5\uff09\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728CentOS7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668Zabbix4.4\u7684\u73af\u5883\uff08Apache2.4\/PHP5.4\/MariaDB5.5\uff09\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u5728CentOS7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668Zabbix4.4\u7684\u73af\u5883\uff08Apache2.4\/PHP5.4\/Mari\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728centos7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668zabbix4-4\u7684\u73af\u5883\uff08apache2-4-php5-4-mariadb5-5\uff09\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-22T18:56:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-12T02:40:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfec537434c4406bc6750\/71-0.jpeg\" \/>\n<meta name=\"author\" content=\"\u96c5, \u609f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u96c5, \u609f\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \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%a8centos7%e4%b8%8a%e6%90%ad%e5%bb%ba%e7%9b%91%e6%8e%a7%e6%9c%8d%e5%8a%a1%e5%99%a8zabbix4-4%e7%9a%84%e7%8e%af%e5%a2%83%ef%bc%88apache2-4-php5-4-mariadb5-5%ef%bc%89%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos7%e4%b8%8a%e6%90%ad%e5%bb%ba%e7%9b%91%e6%8e%a7%e6%9c%8d%e5%8a%a1%e5%99%a8zabbix4-4%e7%9a%84%e7%8e%af%e5%a2%83%ef%bc%88apache2-4-php5-4-mariadb5-5%ef%bc%89%e3%80%82\/\",\"name\":\"\u5728CentOS7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668Zabbix4.4\u7684\u73af\u5883\uff08Apache2.4\/PHP5.4\/MariaDB5.5\uff09 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-11-22T18:56:27+00:00\",\"dateModified\":\"2025-08-12T02:40:32+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6\"},\"description\":\"\u5173\u4e8e\u5728CentOS7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668Zabbix4.4\u7684\u73af\u5883\uff08Apache2.4\/PHP5.4\/Mari\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos7%e4%b8%8a%e6%90%ad%e5%bb%ba%e7%9b%91%e6%8e%a7%e6%9c%8d%e5%8a%a1%e5%99%a8zabbix4-4%e7%9a%84%e7%8e%af%e5%a2%83%ef%bc%88apache2-4-php5-4-mariadb5-5%ef%bc%89%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos7%e4%b8%8a%e6%90%ad%e5%bb%ba%e7%9b%91%e6%8e%a7%e6%9c%8d%e5%8a%a1%e5%99%a8zabbix4-4%e7%9a%84%e7%8e%af%e5%a2%83%ef%bc%88apache2-4-php5-4-mariadb5-5%ef%bc%89%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos7%e4%b8%8a%e6%90%ad%e5%bb%ba%e7%9b%91%e6%8e%a7%e6%9c%8d%e5%8a%a1%e5%99%a8zabbix4-4%e7%9a%84%e7%8e%af%e5%a2%83%ef%bc%88apache2-4-php5-4-mariadb5-5%ef%bc%89%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728CentOS7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668Zabbix4.4\u7684\u73af\u5883\uff08Apache2.4\/PHP5.4\/MariaDB5.5\uff09\"}]},{\"@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\/f044a4b7fa4ee2701702942002419ca6\",\"name\":\"\u96c5, \u609f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g\",\"caption\":\"\u96c5, \u609f\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yawu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos7%e4%b8%8a%e6%90%ad%e5%bb%ba%e7%9b%91%e6%8e%a7%e6%9c%8d%e5%8a%a1%e5%99%a8zabbix4-4%e7%9a%84%e7%8e%af%e5%a2%83%ef%bc%88apache2-4-php5-4-mariadb5-5%ef%bc%89%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5728CentOS7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668Zabbix4.4\u7684\u73af\u5883\uff08Apache2.4\/PHP5.4\/MariaDB5.5\uff09 - Blog - Silicon Cloud","description":"\u5173\u4e8e\u5728CentOS7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668Zabbix4.4\u7684\u73af\u5883\uff08Apache2.4\/PHP5.4\/Mari\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\/\u5728centos7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668zabbix4-4\u7684\u73af\u5883\uff08apache2-4-php5-4-mariadb5-5\uff09\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728CentOS7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668Zabbix4.4\u7684\u73af\u5883\uff08Apache2.4\/PHP5.4\/MariaDB5.5\uff09","og_description":"\u5173\u4e8e\u5728CentOS7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668Zabbix4.4\u7684\u73af\u5883\uff08Apache2.4\/PHP5.4\/Mari\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728centos7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668zabbix4-4\u7684\u73af\u5883\uff08apache2-4-php5-4-mariadb5-5\uff09\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-11-22T18:56:27+00:00","article_modified_time":"2025-08-12T02:40:32+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfec537434c4406bc6750\/71-0.jpeg"}],"author":"\u96c5, \u609f","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u96c5, \u609f","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos7%e4%b8%8a%e6%90%ad%e5%bb%ba%e7%9b%91%e6%8e%a7%e6%9c%8d%e5%8a%a1%e5%99%a8zabbix4-4%e7%9a%84%e7%8e%af%e5%a2%83%ef%bc%88apache2-4-php5-4-mariadb5-5%ef%bc%89%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos7%e4%b8%8a%e6%90%ad%e5%bb%ba%e7%9b%91%e6%8e%a7%e6%9c%8d%e5%8a%a1%e5%99%a8zabbix4-4%e7%9a%84%e7%8e%af%e5%a2%83%ef%bc%88apache2-4-php5-4-mariadb5-5%ef%bc%89%e3%80%82\/","name":"\u5728CentOS7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668Zabbix4.4\u7684\u73af\u5883\uff08Apache2.4\/PHP5.4\/MariaDB5.5\uff09 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-11-22T18:56:27+00:00","dateModified":"2025-08-12T02:40:32+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/f044a4b7fa4ee2701702942002419ca6"},"description":"\u5173\u4e8e\u5728CentOS7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668Zabbix4.4\u7684\u73af\u5883\uff08Apache2.4\/PHP5.4\/Mari\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos7%e4%b8%8a%e6%90%ad%e5%bb%ba%e7%9b%91%e6%8e%a7%e6%9c%8d%e5%8a%a1%e5%99%a8zabbix4-4%e7%9a%84%e7%8e%af%e5%a2%83%ef%bc%88apache2-4-php5-4-mariadb5-5%ef%bc%89%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos7%e4%b8%8a%e6%90%ad%e5%bb%ba%e7%9b%91%e6%8e%a7%e6%9c%8d%e5%8a%a1%e5%99%a8zabbix4-4%e7%9a%84%e7%8e%af%e5%a2%83%ef%bc%88apache2-4-php5-4-mariadb5-5%ef%bc%89%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos7%e4%b8%8a%e6%90%ad%e5%bb%ba%e7%9b%91%e6%8e%a7%e6%9c%8d%e5%8a%a1%e5%99%a8zabbix4-4%e7%9a%84%e7%8e%af%e5%a2%83%ef%bc%88apache2-4-php5-4-mariadb5-5%ef%bc%89%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5728CentOS7\u4e0a\u642d\u5efa\u76d1\u63a7\u670d\u52a1\u5668Zabbix4.4\u7684\u73af\u5883\uff08Apache2.4\/PHP5.4\/MariaDB5.5\uff09"}]},{"@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\/f044a4b7fa4ee2701702942002419ca6","name":"\u96c5, \u609f","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e71a913e914f1aad1efc391f92084294bac54bc782acd289638580134cf667a6?s=96&d=mm&r=g","caption":"\u96c5, \u609f"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yawu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8centos7%e4%b8%8a%e6%90%ad%e5%bb%ba%e7%9b%91%e6%8e%a7%e6%9c%8d%e5%8a%a1%e5%99%a8zabbix4-4%e7%9a%84%e7%8e%af%e5%a2%83%ef%bc%88apache2-4-php5-4-mariadb5-5%ef%bc%89%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\/28896","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\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=28896"}],"version-history":[{"count":3,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28896\/revisions"}],"predecessor-version":[{"id":111403,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28896\/revisions\/111403"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=28896"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=28896"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=28896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}