{"id":28769,"date":"2023-10-02T12:31:55","date_gmt":"2022-11-15T21:49:46","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8wsl%e7%8e%af%e5%a2%83%e7%9a%84centos7%e4%b8%8a%e6%90%ad%e5%bb%bazabbix%e7%9b%91%e6%8e%a7%e7%8e%af%e5%a2%83%e3%80%82\/"},"modified":"2025-08-12T10:00:38","modified_gmt":"2025-08-12T02:00:38","slug":"%e5%9c%a8wsl%e7%8e%af%e5%a2%83%e7%9a%84centos7%e4%b8%8a%e6%90%ad%e5%bb%bazabbix%e7%9b%91%e6%8e%a7%e7%8e%af%e5%a2%83%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8wsl%e7%8e%af%e5%a2%83%e7%9a%84centos7%e4%b8%8a%e6%90%ad%e5%bb%bazabbix%e7%9b%91%e6%8e%a7%e7%8e%af%e5%a2%83%e3%80%82\/","title":{"rendered":"\u5728WSL\u73af\u5883\u7684CentOS7\u4e0a\u642d\u5efaZabbix\u76d1\u63a7\u73af\u5883"},"content":{"rendered":"<h1>\u4e00\u5f00\u59cb\u5728\u4e0a\u6b21\u7684WSL\u4e2d\u5b89\u88c5\u4e86CentOS 7\u7684\u73af\u5883\u57fa\u7840\u4e0a\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2aZabbix\u76d1\u89c6\u73af\u5883\u3002\u867d\u7136\u73af\u5883\u4e0d\u540c\u4e8e\u4e0a\u6b21\uff0c\u4f46\u6211\u4eec\u6240\u505a\u7684\u5de5\u4f5c\u662f\u76f8\u540c\u7684\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# cat \/etc\/redhat-release\r\nCentOS Linux release 7.6.1810 (Core) \r\n[root@lifebook ~]# uname -r\r\n4.4.0-18362-Microsoft\r\n[root@lifebook ~]# \r\n<\/code><\/pre>\n<h1>\u5b89\u88c5Zabbix\u6240\u9700\u7684\u8f6f\u4ef6\u5305\u3002\u6211\u4eec\u5c06\u5b89\u88c5Zabbix\u6240\u9700\u7684\u8f6f\u4ef6\u5305\u3002\u8fd9\u6b21\u6211\u4eec\u5c06\u4f7f\u7528Apache\u3001PHP\u548cMariaDB\u8fdb\u884c\u914d\u7f6e\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# yum -y groupinstall web-server\r\n[root@lifebook ~]# yum -y groupinstall php\r\n[root@lifebook ~]# yum -y groupinstall mariadb\r\n<\/code><\/pre>\n<h1>\u5b89\u88c5Zabbix Server\u548cAgent\u6211\u4eec\u5c06\u5b89\u88c5Zabbix 4.4\u7684\u5b98\u65b9\u5b58\u50a8\u5e93\u3002<br \/>\n\u5728\u5b89\u88c5\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u6ca1\u6709\u53d1\u5e03\u65b0\u7248\u672c\u3002<\/p>\n<p>\u7531\u4e8e\u65b0\u7684\u5b58\u50a8\u5e93\u4f3c\u4e4e\u662f4.4\u7248\u672c\uff0c\u6211\u4eec\u5c06\u5b89\u88c54.4\u7248\u672c\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# 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>\u5728\u6dfb\u52a0\u4ed3\u5e93\u540e\uff0c\u5b89\u88c5Zabbix Server\u76f8\u5173\u7684\u8f6f\u4ef6\u5305\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# yum -y install zabbix-web-mysql zabbix-web-japanese zabbix-server-mysql\r\n<\/code><\/pre>\n<p>\u5f53Zabbix Server\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u63a5\u4e0b\u6765\u9700\u8981\u5b89\u88c5Zabbix Agent\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# yum -y install zabbix-agent\r\n<\/code><\/pre>\n<h1>\u66f4\u6539\u8bbe\u5b9a\u6587\u4ef6<br \/>\n\u6211\u4eec\u5c06\u6539\u53d8\u6bcf\u4e2a\u914d\u7f6e\u6587\u4ef6\u3002<br \/>\nApache<br \/>\n\u7531\u4e8e\u5728&#8221;\/etc\/httpd\/conf.d\/zabbix.conf&#8221;\u4e2d\uff0c&#8221;php_value date.timezone&#8221;\u88ab\u6ce8\u91ca\u6389\u4e86\uff0c<br \/>\n\u6211\u4eec\u5c06\u53d6\u6d88\u6ce8\u91ca\u5e76\u66f4\u6539\u65f6\u533a\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# vi \/etc\/httpd\/conf.d\/zabbix.conf\r\n\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 max_input_vars 10000\r\n        php_value always_populate_raw_post_data -1\r\n        php_value date.timezone Asia\/Tokyo\r\n    &lt;\/IfModule&gt;\r\n&lt;\/Directory&gt;\r\n<\/code><\/pre>\n<p>\u8fdb\u884c\u6700\u4f4e\u9650\u7684\u8bbe\u7f6e\uff0c\u5305\u62ec\u6570\u636e\u5e93\u76f8\u5173\u8bbe\u7f6e\u7684Zabbix\u670d\u52a1\u5668\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# vi \/etc\/zabbix\/zabbix_server.conf\r\n\r\n### Option: DBHost\r\n#       Database host name.\r\n#       If set to localhost, socket is used for MySQL.\r\n#       If set to empty string, socket is used for PostgreSQL.\r\n#\r\n# Mandatory: no\r\n# Default: \r\n#\u76e3\u8996\u30b5\u30fc\u30d0\u30fc\u5185\u306bDB\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u3067\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u3066\u304a\u304f\r\n# DBHost=localhost\r\n\r\n### Option: DBName\r\n#       Database name.\r\n#\r\n# Mandatory: yes\r\n# Default:\r\n# DBName=\r\n\r\n#DB\u540d\r\n#\u30c7\u30d5\u30a9\u30eb\u30c8\u4ee5\u5916\u306e\u540d\u524d\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u5909\u66f4\u3059\u308b\r\nDBName=zabbix\r\n\r\n### Option: DBSchema\r\n#       Schema name. Used for IBM DB2 and PostgreSQL.\r\n#\r\n# Mandatory: no\r\n# Default:\r\n# DBSchema=\r\n\r\n### Option: DBUser\r\n#       Database user.\r\n#\r\n# Mandatory: no\r\n# Default:\r\n\r\n#DB\u30e6\u30fc\u30b6\u30fc\u540d\r\n#\u30c7\u30d5\u30a9\u30eb\u30c8\u4ee5\u5916\u306e\u540d\u524d\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u5909\u66f4\u3059\u308b\r\nDBUser=zabbix\r\n\r\n### Option: DBPassword\r\n#       Database password.\r\n#       Comment this line if no password is used.\r\n#\r\n# Mandatory: no\r\n# Default:\r\n\r\n#DB\u30d1\u30b9\u30ef\u30fc\u30c9\r\n#\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u5916\u3057\u3066\u4efb\u610f\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\r\nDBPassword=zabbixpass\r\n<\/code><\/pre>\n<p>Zabbix\u4ee3\u7406\uff08Agent\uff09\u7684\u8bbe\u7f6e\u5c06\u4f1a\u8fdb\u884c\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# vi \/etc\/zabbix\/zabbix_agentd.conf\r\n<\/code><\/pre>\n<p>\u5bf9\u6570\u636e\u5e93\u8fdb\u884c\u8bbe\u7f6e<br \/>\n\u6b63\u5728\u8fdb\u884c\u6570\u636e\u5e93\u7684\u8bbe\u7f6e\u3002<br \/>\n\u6211\u9047\u5230\u4e86\u4e00\u4e2a\u95ee\u9898\uff0c\u65e0\u6cd5\u4f7f\u7528\u6211\u521b\u5efa\u7684\u6570\u636e\u5e93\u7528\u6237Zabbix\u767b\u5f55&#8230;<br \/>\n\u5982\u679c\u9047\u5230\u7c7b\u4f3c\u7684\u95ee\u9898\uff0c\u8bf7\u67e5\u770b\u56de\u907f\u65b9\u6cd5\u90e8\u5206\u3002<br \/>\n\u53e6\u5916\uff0c\u5982\u679c\u6709\u66f4\u597d\u7684\u56de\u907f\u65b9\u6cd5\uff0c\u8bf7\u544a\u8bc9\u6211&#8230;<\/p>\n<p>\u9996\u5148\uff0c\u6211\u4eec\u5c06\u81ea\u52a8\u542f\u52a8\u5e76\u542f\u52a8MariaDB\u670d\u52a1\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# systemctl enable mariadb\r\n[root@lifebook ~]# systemctl start mariadb\r\n<\/code><\/pre>\n<p>\u63a5\u4e0b\u6765\u6211\u4eec\u5c06\u8fdb\u884cMariaDB\u7684\u521d\u59cb\u8bbe\u7f6e\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# 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): \u3000\u4f55\u3082\u5165\u529b\u305b\u305a\u30a8\u30f3\u30bf\u30fc\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\u3000y\u3092\u5165\u529b\u3057\u3066\r\nNew password: \u3000DB\u30e6\u30fc\u30b6\u30fcroot\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\r\nRe-enter new password: \u3000\u518d\u5ea6\u4e0a\u306e\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\u3000y\u3092\u5165\u529b\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\u3000y\u3092\u5165\u529b\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\u3000y\u3092\u5165\u529b\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\u3000y\u3092\u5165\u529b\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[root@lifebook ~]#\r\n<\/code><\/pre>\n<p>\u6211\u4e0d\u592a\u5efa\u8bae\u5728\u8fd9\u91cc\u4f7f\u7528\u547d\u4ee4\u6765\u521b\u5efa\u7528\u6237\u3002\u5982\u679c\u6ca1\u6709Zabbix\u67b6\u6784\u6587\u4ef6\u52a0\u8f7d\u7684\u6743\u9650\uff0c\u4f1a\u53d1\u751f\u9519\u8bef\u5e76\u65e0\u6cd5\u52a0\u8f7d\u3002\u6700\u597d\u53ea\u6267\u884c\u547d\u4ee4\u6765\u521b\u5efa\u6570\u636e\u5e93\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# 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.64-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\r\nMariaDB [(none)]&gt; CREATE DATABASE zabbix character set utf8 collate utf8_bin;\u3000\u3000\u3053\u306e\u30b3\u30de\u30f3\u30c9\u307e\u3067\u5b9f\u884c\u3092\u304a\u52e7\u3081\u3002\r\nQuery OK, 1 row affected (0.00 sec)\r\n\r\nMariaDB [(none)]&gt; CREATE USER zabbix@localhost IDENTIFIED BY '&lt;zabbixpass&gt;';\r\nQuery OK, 0 rows affected (0.00 sec)\r\n\r\nMariaDB [(none)]&gt; GRANT ALL ON zabbix.* TO zabbix@localhost;\r\nQuery OK, 0 rows affected (0.00 sec)\r\n\r\nMariaDB [(none)]&gt; quit;\r\nBye\r\n[root@lifebook ~]# \r\n<\/code><\/pre>\n<p>\u6267\u884c\u4e0a\u8ff0\u547d\u4ee4\u540e\uff0c\u4e3a\u4e86\u786e\u4fdd\u8d77\u89c1\uff0c\u8bf7\u5c1d\u8bd5\u767b\u5f55\u5230Zabbix\u7684MySQL\u6570\u636e\u5e93\u3002\u5982\u679c\u6210\u529f\u767b\u5f55\u4e86&#8230;<\/p>\n<p>\u606d\u559c\uff01\u8bf7\u5c06\u56de\u907f\u65b9\u6cd5\u540e\u7684Zabbix\u6a21\u5f0f\u6587\u4ef6\u52a0\u8f7d\u5230\u6570\u636e\u5e93\u4e2d\u3002<\/p>\n<p>\u5982\u679c\u65e0\u6cd5\u767b\u5f55\u5e76\u51fa\u73b0\u5982\u4e0b\u9519\u8bef\uff0c\u8bf7\u5728phpmyadmin\u4e2d\u8fdb\u884c\u5904\u7406\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# mysql -u zabbix -p zabbixpass\r\nEnter password: \r\nERROR 1045 (28000): Access denied for user 'zabbix'@'localhost' (using password: YES)\r\n<\/code><\/pre>\n<h3>\u4f7f\u7528 phpMyAdmin \u8fdb\u884c\u7ed5\u8fc7\u7684\u65b9\u6cd5<br \/>\n\u5c3d\u7ba1\u6211\u4ec5\u4ee5\u4e00\u4e2a\u7b80\u5355\u7684\u65b9\u6cd5\u4f7f\u7528phpmyAdmin\u8fdb\u884c\u5904\u7406\uff0c\u4f46\u6211\u4e0d\u8ba4\u4e3a\u8fd9\u662f\u6b63\u786e\u7684\u65b9\u5f0f\u3002\u6211\u5c06\u5728\u6b64\u4f5c\u4e3a\u4e00\u79cd\u89e3\u51b3\u65b9\u6cd5\u8fdb\u884c\u8bb0\u5f55\u3002<\/p>\n<p>\u5b89\u88c5phpmyAdmin<\/p>\n<p>\u9996\u5148\u5b89\u88c5phpmyAdmin\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# yum -y install phpMyAdmin\r\n<\/code><\/pre>\n<p>\u5728\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u9700\u8981\u7f16\u8f91phpMyAdmin\u7684\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]#vi \/etc\/httpd\/conf.d\/phpMyAdmin.conf\r\n\r\n\u7279\u306b\u5927\u304d\u304f\u5909\u66f4\u3059\u308b\u3068\u3053\u308d\u306f\u306a\u3044\u3067\u3059\u304c\u30ed\u30fc\u30ab\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5185\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u3092\u8a31\u53ef\u3059\u308b\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3057\u3066\u3044\u304d\u307e\u3059\u3002\r\n\r\n&lt;Directory \/usr\/share\/phpMyAdmin\/&gt;\r\n   AddDefaultCharset UTF-8\r\n\r\n   &lt;IfModule mod_authz_core.c&gt;\r\n     # Apache 2.4\r\n     &lt;RequireAny&gt;\r\n       Require ip 127.0.0.1\r\n       Require ip 192.168.0\u3000&lt;-\u30ed\u30fc\u30ab\u30ebIP\r\n       Require ip ::1\r\n     &lt;\/RequireAny&gt;\r\n   &lt;\/IfModule&gt;\r\n   &lt;IfModule !mod_authz_core.c&gt;\r\n     # Apache 2.2\r\n     Order Deny,Allow\r\n     Deny from All\r\n     Allow from 127.0.0.1\r\n     Allow from 192.168.0\u3000&lt;-\u30ed\u30fc\u30ab\u30ebIP\r\n     Allow from ::1\r\n   &lt;\/IfModule&gt;\r\n&lt;\/Directory&gt;\r\n\r\n&lt;Directory \/usr\/share\/phpMyAdmin\/setup\/&gt;\r\n   &lt;IfModule mod_authz_core.c&gt;\r\n     # Apache 2.4\r\n     &lt;RequireAny&gt;\r\n       Require ip 127.0.0.1\r\n       Require ip 192.168.0\u3000&lt;-\u30ed\u30fc\u30ab\u30ebIP\r\n       Require ip ::1\r\n     &lt;\/RequireAny&gt;\r\n   &lt;\/IfModule&gt;\r\n   &lt;IfModule !mod_authz_core.c&gt;\r\n     # Apache 2.2\r\n     Order Deny,Allow\r\n     Deny from All\r\n     Allow from 127.0.0.1\r\n     Allow from 192.168.0\u3000&lt;-\u30ed\u30fc\u30ab\u30ebIP\r\n     Allow from ::1\r\n   &lt;\/IfModule&gt;\r\n&lt;\/Directory&gt;\r\n<\/code><\/pre>\n<p>\u8bbe\u5b9a\u5e76\u4fdd\u5b58\u4e0a\u8ff0\u8bbe\u7f6e\u540e\u542f\u52a8Apache\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]#\u3000systemctl start httpd\r\n<\/code><\/pre>\n<p>\u5982\u679c\u51fa\u73b0\u4e0eSSH\u65f6\u76f8\u540c\u7684\u9519\u8bef\uff0c\u5c06\u4f7f\u7528\u76f8\u540c\u7684\u547d\u4ee4\u6765\u5904\u7406\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# service httpd start\r\nRedirecting to \/bin\/systemctl start httpd.service\r\nFailed to get D-Bus connection: Operation not permitted\r\n<\/code><\/pre>\n<p>\u56e0\u4e3a\u53cd\u590d\u505a\u540c\u6837\u7684\u4e8b\u60c5\u5f88\u9ebb\u70e6\uff0c\u6240\u4ee5\u6211\u5c06\u5199\u4e00\u4e2a\u7c7b\u4f3c\u4e8e\u4ee5\u4e0b\u7684Shell\u811a\u672c\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# vi procsetup.sh\r\n#!\/bin\/bash\r\nmv \/usr\/bin\/systemctl \/usr\/bin\/systemctl.old\r\necho -e yes\\\\n\r\ncurl https:\/\/raw.githubusercontent.com\/gdraheim\/docker-systemctl-replacement\/master\/files\/docker\/systemctl.py &gt; \/usr\/bin\/systemctl\r\nchmod +x \/usr\/bin\/systemctl\r\n[root@lifebook ~]# chmod +x procsetup.sh\r\n[root@lifebook ~]# .\/procsetup.sh\r\n\r\n<\/code><\/pre>\n<p>\u6267\u884c\u4e0a\u9762\u7684Shell\u811a\u672c\u540e\uff0c\u542f\u52a8Apache\uff0c\u5e76\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95eephpmyAdmin\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# service httpd start\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8c37434c4406bc5db5\/47-0.png\" alt=\"image.png\" \/><\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8c37434c4406bc5db5\/48-0.png\" alt=\"image.png\" \/>\u8bf7\u52fe\u9009\u5e76\u70b9\u51fb\u6267\u884c\u4ee5\u83b7\u5f97\u5168\u7403\u7279\u6743\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8c37434c4406bc5db5\/50-0.png\" alt=\"image.png\" \/>\u5b8c\u6210\u540e\uff0c\u8bf7\u518d\u6b21\u4f7f\u7528mysql\u767b\u5f55\u4ee5\u786e\u8ba4\u662f\u5426\u53ef\u4ee5\u8bbf\u95ee\uff0c\u7136\u540e\u5c06Zabbix\u7684\u6a21\u5f0f\u6587\u4ef6\u52a0\u8f7d\u5230\u6570\u636e\u5e93\u4e2d\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# mysql -u root -pzabbixpass\r\nWelcome to the MariaDB monitor.  Commands end with ; or \\g.\r\nYour MariaDB connection id is 119\r\nServer version: 5.5.64-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\r\nMariaDB [(none)]&gt; quit\r\nBye\r\n[root@lifebook ~]# \r\n\r\n[root@lifebook ~]# zcat \/usr\/share\/doc\/zabbix-server-mysql-4.4.*\/create.sql.gz | mysql -u zabbix -pzabbixpass\r\nEnter password: \r\n[root@lifebook ~]# \r\n\r\n<\/code><\/pre>\n<p>\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u4f1a\u4f7f\u7528\u9632\u706b\u5899\u547d\u4ee4\u6765\u6dfb\u52a0\u901a\u4fe1\u8bb8\u53ef\uff0c\u4f46\u4f3c\u4e4e\u5728WSLCentOS7\u4e0a\u5e76\u672a\u5b89\u88c5\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# firewall-cmd --add-port=10051\/tcp --zone=public --permanent\r\n-bash: firewall-cmd: command not found\r\n[root@lifebook ~]# firewall\r\n-bash: firewall: command not found\r\n<\/code><\/pre>\n<p>\u7531\u4e8e\u672a\u5b89\u88c5\uff0c\u672c\u6b21\u4e0d\u4f1a\u6dfb\u52a0\uff0c\u4f46\u4ee5CentOS7\u7684\u901a\u5e38\u8bbe\u7f6e\u4e3a\u53c2\u8003\uff0c\u4ee5\u4e0b\u662f\u7aef\u53e3\u548c\u534f\u8bae\u7684\u6743\u9650\u8bbe\u7f6e\uff1a<br \/>\n10050\/tcp\uff1aZabbix\u670d\u52a1\u5668\uff1aZabbix\u4ee3\u7406\u7684\u88ab\u52a8\u76d1\u89c6\u901a\u4fe1<br \/>\n10051\/tcp\uff1aZabbix\u4ee3\u7406\uff1a\u670d\u52a1\u5668\u7684\u4e3b\u52a8\u76d1\u89c6\u901a\u4fe1<br \/>\nhttp\uff1a\u5ba2\u6237\u7aef\uff1aZabbix WebUI\u7684HTTP\u901a\u4fe1<\/p>\n<p>\u53ea\u9700\u542f\u52a8\u670d\u52a1\u5373\u53ef\uff0c\u5230\u8fd9\u91cc\u4e86\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@lifebook ~]# systemctl enable httpd\r\n[root@lifebook ~]# systemctl enable zabbix-server\r\n[root@lifebook ~]# systemctl start httpd\r\n[root@lifebook ~]# systemctl start zabbix-server\r\n[root@lifebook ~]# systemctl enable zabbix-agent\r\n[root@lifebook ~]# systemctl start zabbix-agent\r\n[root@lifebook ~]#\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8c37434c4406bc5db5\/58-3.png\" alt=\"image.png\" \/>\u5f53\u8f6c\u5230\u767b\u5f55\u9875\u9762\u65f6\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u767b\u5f55\u4fe1\u606f\u8fdb\u884c\u767b\u5f55\uff1a<br \/>\nID<br \/>\nID\uff1a\u7ba1\u7406\u5458<br \/>\nPW\uff1azabbix<\/p>\n<p>\u4e00\u65e6\u663e\u793a\u4eea\u8868\u677f\uff0c\u8bf4\u660e\u6784\u5efa\u5df2\u7ecf\u5b8c\u6210\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8c37434c4406bc5db5\/61-0.png\" alt=\"image.png\" \/>\u8bf7\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u5c06\u753b\u9762\u8bed\u8a00\u8bbe\u7f6e\u4e3a\u65e5\u8bed\uff1a<br \/>\n1. \u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u4eba\u7269\u56fe\u6807\u3002<br \/>\n2. \u9009\u62e9\u300cLanguage\u300d\u9009\u9879\uff0c\u5c06\u5176\u8bbe\u5b9a\u4e3a\u300cJapanese (ja_JP)\u300d\u3002<br \/>\n3. \u70b9\u51fb\u300cUpdate\u300d\u6309\u94ae\u3002<br \/>\n4. \u5b8c\u6210\u540e\uff0c\u753b\u9762\u5c06\u4f1a\u4ee5\u65e5\u8bed\u663e\u793a\u3002<\/p>\n<h1>\u53c2\u8003\u7684\u7f51\u7ad9\u656c\u79f0\u7565<br \/>\n\u7535\u7b97\u661f\u7ec4\uff1aZabbix 4.4 CentOS7 \/ Apache2.4 \/ PHP5.4 \/ MariaDB5.5 \u5b89\u88c5\u6b65\u9aa4<br \/>\n@unbabel\uff1aMySQL \u521d\u5b66\u8005\u6307\u5357<br \/>\n@pugiemonn\uff1a\u5e38\u7528\u7684 MariaDB \u6216 MySQL SQL \u547d\u4ee4\u5907\u5fd8\u5f55<br \/>\netuts+\uff1aMariaDB \u8868\u7ba1\u7406\u3001\u5907\u4efd\u7b49\u57fa\u672c\u64cd\u4f5c\u547d\u4ee4<br \/>\nDBonline\uff1a\u83b7\u53d6\u8868\u683c\u5217\u8868\u548c\u4e0e\u8868\u683c\u76f8\u5173\u7684\u4fe1\u606f<br \/>\n@RubiLeah-com<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u5f00\u59cb\u5728\u4e0a\u6b21\u7684WSL\u4e2d\u5b89\u88c5\u4e86CentOS 7\u7684\u73af\u5883\u57fa\u7840\u4e0a\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2aZabbix\u76d1\u89c6\u73af\u5883\u3002\u867d\u7136\u73af\u5883\u4e0d\u540c\u4e8e\u4e0a [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-28769","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>\u5728WSL\u73af\u5883\u7684CentOS7\u4e0a\u642d\u5efaZabbix\u76d1\u63a7\u73af\u5883 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u5728WSL\u73af\u5883\u7684CentOS7\u4e0a\u642d\u5efaZabbix\u76d1\u63a7\u73af\u5883\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\/\u5728wsl\u73af\u5883\u7684centos7\u4e0a\u642d\u5efazabbix\u76d1\u63a7\u73af\u5883\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728WSL\u73af\u5883\u7684CentOS7\u4e0a\u642d\u5efaZabbix\u76d1\u63a7\u73af\u5883\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u5728WSL\u73af\u5883\u7684CentOS7\u4e0a\u642d\u5efaZabbix\u76d1\u63a7\u73af\u5883\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728wsl\u73af\u5883\u7684centos7\u4e0a\u642d\u5efazabbix\u76d1\u63a7\u73af\u5883\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-15T21:49:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-12T02:00:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8c37434c4406bc5db5\/47-0.png\" \/>\n<meta name=\"author\" content=\"\u9038, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u9038, \u79d1\" \/>\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%a8wsl%e7%8e%af%e5%a2%83%e7%9a%84centos7%e4%b8%8a%e6%90%ad%e5%bb%bazabbix%e7%9b%91%e6%8e%a7%e7%8e%af%e5%a2%83%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8wsl%e7%8e%af%e5%a2%83%e7%9a%84centos7%e4%b8%8a%e6%90%ad%e5%bb%bazabbix%e7%9b%91%e6%8e%a7%e7%8e%af%e5%a2%83%e3%80%82\/\",\"name\":\"\u5728WSL\u73af\u5883\u7684CentOS7\u4e0a\u642d\u5efaZabbix\u76d1\u63a7\u73af\u5883 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2022-11-15T21:49:46+00:00\",\"dateModified\":\"2025-08-12T02:00:38+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\"},\"description\":\"\u5173\u4e8e\u5728WSL\u73af\u5883\u7684CentOS7\u4e0a\u642d\u5efaZabbix\u76d1\u63a7\u73af\u5883\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8wsl%e7%8e%af%e5%a2%83%e7%9a%84centos7%e4%b8%8a%e6%90%ad%e5%bb%bazabbix%e7%9b%91%e6%8e%a7%e7%8e%af%e5%a2%83%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8wsl%e7%8e%af%e5%a2%83%e7%9a%84centos7%e4%b8%8a%e6%90%ad%e5%bb%bazabbix%e7%9b%91%e6%8e%a7%e7%8e%af%e5%a2%83%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8wsl%e7%8e%af%e5%a2%83%e7%9a%84centos7%e4%b8%8a%e6%90%ad%e5%bb%bazabbix%e7%9b%91%e6%8e%a7%e7%8e%af%e5%a2%83%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728WSL\u73af\u5883\u7684CentOS7\u4e0a\u642d\u5efaZabbix\u76d1\u63a7\u73af\u5883\"}]},{\"@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\/85c1dae56e6ea1e695c73d33c684d487\",\"name\":\"\u9038, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"caption\":\"\u9038, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8wsl%e7%8e%af%e5%a2%83%e7%9a%84centos7%e4%b8%8a%e6%90%ad%e5%bb%bazabbix%e7%9b%91%e6%8e%a7%e7%8e%af%e5%a2%83%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5728WSL\u73af\u5883\u7684CentOS7\u4e0a\u642d\u5efaZabbix\u76d1\u63a7\u73af\u5883 - Blog - Silicon Cloud","description":"\u5173\u4e8e\u5728WSL\u73af\u5883\u7684CentOS7\u4e0a\u642d\u5efaZabbix\u76d1\u63a7\u73af\u5883\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\/\u5728wsl\u73af\u5883\u7684centos7\u4e0a\u642d\u5efazabbix\u76d1\u63a7\u73af\u5883\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728WSL\u73af\u5883\u7684CentOS7\u4e0a\u642d\u5efaZabbix\u76d1\u63a7\u73af\u5883","og_description":"\u5173\u4e8e\u5728WSL\u73af\u5883\u7684CentOS7\u4e0a\u642d\u5efaZabbix\u76d1\u63a7\u73af\u5883\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728wsl\u73af\u5883\u7684centos7\u4e0a\u642d\u5efazabbix\u76d1\u63a7\u73af\u5883\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-11-15T21:49:46+00:00","article_modified_time":"2025-08-12T02:00:38+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8c37434c4406bc5db5\/47-0.png"}],"author":"\u9038, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u9038, \u79d1","\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%a8wsl%e7%8e%af%e5%a2%83%e7%9a%84centos7%e4%b8%8a%e6%90%ad%e5%bb%bazabbix%e7%9b%91%e6%8e%a7%e7%8e%af%e5%a2%83%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8wsl%e7%8e%af%e5%a2%83%e7%9a%84centos7%e4%b8%8a%e6%90%ad%e5%bb%bazabbix%e7%9b%91%e6%8e%a7%e7%8e%af%e5%a2%83%e3%80%82\/","name":"\u5728WSL\u73af\u5883\u7684CentOS7\u4e0a\u642d\u5efaZabbix\u76d1\u63a7\u73af\u5883 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2022-11-15T21:49:46+00:00","dateModified":"2025-08-12T02:00:38+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487"},"description":"\u5173\u4e8e\u5728WSL\u73af\u5883\u7684CentOS7\u4e0a\u642d\u5efaZabbix\u76d1\u63a7\u73af\u5883\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8wsl%e7%8e%af%e5%a2%83%e7%9a%84centos7%e4%b8%8a%e6%90%ad%e5%bb%bazabbix%e7%9b%91%e6%8e%a7%e7%8e%af%e5%a2%83%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8wsl%e7%8e%af%e5%a2%83%e7%9a%84centos7%e4%b8%8a%e6%90%ad%e5%bb%bazabbix%e7%9b%91%e6%8e%a7%e7%8e%af%e5%a2%83%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8wsl%e7%8e%af%e5%a2%83%e7%9a%84centos7%e4%b8%8a%e6%90%ad%e5%bb%bazabbix%e7%9b%91%e6%8e%a7%e7%8e%af%e5%a2%83%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5728WSL\u73af\u5883\u7684CentOS7\u4e0a\u642d\u5efaZabbix\u76d1\u63a7\u73af\u5883"}]},{"@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\/85c1dae56e6ea1e695c73d33c684d487","name":"\u9038, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","caption":"\u9038, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8wsl%e7%8e%af%e5%a2%83%e7%9a%84centos7%e4%b8%8a%e6%90%ad%e5%bb%bazabbix%e7%9b%91%e6%8e%a7%e7%8e%af%e5%a2%83%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\/28769","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\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=28769"}],"version-history":[{"count":3,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28769\/revisions"}],"predecessor-version":[{"id":111385,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28769\/revisions\/111385"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=28769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=28769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=28769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}