{"id":351,"date":"2016-10-18T17:51:44","date_gmt":"2016-10-18T09:51:44","guid":{"rendered":"https:\/\/yyshell.com\/?p=351"},"modified":"2018-02-24T21:57:00","modified_gmt":"2018-02-24T13:57:00","slug":"centos6%e5%ae%89%e8%a3%85nginx%ef%bc%8cphp7%ef%bc%8czabbix3-2%e6%95%99%e7%a8%8b%ef%bc%882%ef%bc%89","status":"publish","type":"post","link":"https:\/\/yyshell.com\/?p=351","title":{"rendered":"CentOS6\u5b89\u88c5nginx\uff0cphp7\uff0czabbix3.2\u6559\u7a0b\uff082\uff09"},"content":{"rendered":"<p>\u5728<a href=\"https:\/\/yyshell.com\/?p=347\">\u4e0a\u4e00\u7bc7\u6587\u7ae0<\/a>\u4e2d\uff0c\u6211\u4eec\u5df2\u7ecf\u8bb2\u89e3\u4e86LEMP\u73af\u5883\u7684\u5b89\u88c5\uff0c\u8fd9\u7bc7\u6587\u7ae0\u5c31\u63a5\u7740\u8bb2Zabbix3.2.1\u7684\u7f16\u8bd1\u5b89\u88c5\u8fc7\u7a0b\u3002<\/p>\n<p>\u89e3\u538bzabbix\uff0c\u5e76\u8fdb\u5165\u6e90\u7801\u76ee\u5f55\uff1a<\/p>\n<pre class=\"lang:sh decode:true \">[root@template ~]# tar xf zabbix-3.2.1.tar.gz\r\n[root@template ~]# cd zabbix-3.2.1\/<\/pre>\n<p>\u56e0\u4e3azabbix\u7684SMTP\u6388\u6743\u8ba4\u8bc1\u9700\u8981cURL 7.20.0\u53ca\u66f4\u9ad8\u7248\u672c\uff0cCentOS6\u9ed8\u8ba4\u7684curl\u7248\u672c\u662f7.19.7\uff0c\u4e0d\u6ee1\u8db3\u8981\u6c42\uff0c\u6211\u4eec\u53ef\u4ee5\u7ee7\u7eed\u4f7f\u7528\u9ed8\u8ba4\u7248\u672c\u7684curl\uff0c\u4f46\u662f\u529f\u80fd\u7a0d\u5fae\u53d7\u9650\uff0c\u5982\u679c\u8981\u5b89\u88c5\u65b0\u7248\u672c\u7684curl\uff0c\u53ef\u4ee5\u7528city-fan\u7684curl\uff1a<\/p>\n<pre class=\"lang:sh decode:true \">[root@template zabbix-3.2.1]# rpm -ivh http:\/\/www.city-fan.org\/ftp\/contrib\/yum-repo\/rhel6\/x86_64\/city-fan.org-release-1-13.rhel6.noarch.rpm\r\n[root@template zabbix-3.2.1]# yum clean all\r\n[root@template zabbix-3.2.1]# yum install libcurl -y<\/pre>\n<p>\u8fd9\u6837\uff0c\u6211\u4eec\u5c31\u5347\u7ea7\u5b8c\u6bd5curl\u4e86\uff0c\u4f46\u662f\uff0c\u8bf7\u8bb0\u4f4f\uff0c\u8fd9\u79cd\u66ff\u6362\u9ed8\u8ba4\u7248\u672c\u8f6f\u4ef6\u7684\u6e90\uff0c\u6709\u53ef\u80fd\u4f1a\u7834\u574f\u7cfb\u7edf\u7684\u517c\u5bb9\u6027\uff0c\u5e76\u4e0d\u5341\u5206\u63a8\u8350\u5927\u5bb6\u8fd9\u6837\u505a\u3002<\/p>\n<h3>\u5b89\u88c5\u7f16\u8bd1zabbix\u5fc5\u8981\u7684\u7ec4\u4ef6\uff1a<\/h3>\n<pre class=\"lang:sh decode:true \">[root@template zabbix-3.2.1]# yum install OpenIPMI-devel libssh2-devel fping libcurl-devel iksemel-devel net-snmp-devel mysql-devel -y<\/pre>\n<h3>\u6dfb\u52a0zabbix\u8fd0\u884c\u4e13\u7528\u7684\u7528\u6237\uff1a<\/h3>\n<pre class=\"lang:sh decode:true \">[root@template zabbix-3.2.1]# useradd -M -s \/sbin\/nologin zabbix<\/pre>\n<p>\u6ce8\u610f\uff0c\u8bf7\u4e0d\u8981\u4ee5root\u7528\u6237\u8fd0\u884czabbix\uff01<\/p>\n<h3>\u521b\u5efazabbix\u6570\u636e\u5e93\uff1a<\/h3>\n<p>\u5728shell\u4e2d\u767b\u5f55zabbix\uff1a<\/p>\n<pre class=\"lang:sh decode:true \">[root@template zabbix-3.2.1]# mysql -uroot -p<\/pre>\n<p>\u5728mysql\u521b\u5efa\u76f8\u5e94\u7684\u6570\u636e\u5e93\uff1a<\/p>\n<pre class=\"lang:mysql decode:true\">mysql&gt; create database zabbix character set utf8 collate utf8_bin;\r\nmysql&gt; grant all privileges on zabbix.* to zabbix@localhost identified by 'yourownpasswd';\r\nmysql&gt; quit<\/pre>\n<p>\u6ce8\u610f\uff0c\u5bc6\u7801\u8bf7\u8bbe\u7f6e\u81ea\u5df1\u7684\u5bc6\u7801\uff0c\u4e0d\u8981\u76f2\u76ee\u7167\u6284\u3002<\/p>\n<p>cd\u5230mysql\u811a\u672c\u76ee\u5f55\uff0c\u7136\u540e\u5bfc\u5165\u6570\u636e\u5e93\uff1a<\/p>\n<pre class=\"lang:sh decode:true \">[root@template zabbix-3.2.1]# cd database\/mysql\/\r\n[root@template mysql]# mysql -uzabbix -p&lt;yourownpasswd&gt; zabbix &lt; schema.sql\r\n[root@template mysql]# mysql -uzabbix -p&lt;yourownpasswd&gt; zabbix &lt; images.sql\r\n[root@template mysql]# mysql -uzabbix -p&lt;yourownpasswd&gt; zabbix &lt; data.sql<\/pre>\n<p>\u56de\u5230\u4e4b\u524d\u7684\u76ee\u5f55\uff0c\u5f00\u59cbconfigure\uff1a<\/p>\n<pre class=\"lang:sh decode:true\">[root@template mysql]# cd -\r\n\/root\/zabbix-3.2.1\r\n[root@template zabbix-3.2.1]# .\/configure --sysconfdir=\/etc --enable-server --enable-agent \\\r\n&gt; --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl \\\r\n&gt; --with-libxml2 --with-ssh2 --with-openipmi<\/pre>\n<p>\u7f16\u8bd1\u5b89\u88c5\uff1a<\/p>\n<pre class=\"lang:sh decode:true \">[root@template zabbix-3.2.1]# make install<\/pre>\n<p>\u7ed9zabbix-server\u548czabbix-agent\u5206\u522b\u5199\u4e00\u4e2ainit \u542f\u52a8\u811a\u672c\uff1a<br \/>\nserver\uff1a<\/p>\n<pre class=\"lang:sh decode:true \">[root@template zabbix-3.2.1]# vim \/etc\/init.d\/zabbix-server<\/pre>\n<p>\u5199\u5165\u5982\u4e0b\u5185\u5bb9\uff1a<\/p>\n<pre class=\"lang:sh decode:true\">#!\/bin\/sh\r\n#\r\n# chkconfig: - 85 15\r\n# description: Zabbix server daemon\r\n# config: \/etc\/zabbix\/zabbix_server.conf\r\n#\r\n\r\n### BEGIN INIT INFO\r\n# Provides: zabbix\r\n# Required-Start: $local_fs $network\r\n# Required-Stop: $local_fs $network\r\n# Default-Start:\r\n# Default-Stop: 0 1 2 3 4 5 6\r\n# Short-Description: Start and stop Zabbix server\r\n# Description: Zabbix server\r\n### END INIT INFO\r\n\r\n# Source function library.\r\n. \/etc\/rc.d\/init.d\/functions\r\n\r\nif [ -x \/usr\/local\/sbin\/zabbix_server ]; then\r\n    exec=\/usr\/local\/sbin\/zabbix_server\r\nelse\r\n    exit 5\r\nfi\r\n\r\nprog=${exec##*\/}\r\nconf=\/etc\/zabbix_server.conf\r\npidfile=$(grep -e \"^PidFile=.*$\" $conf | cut -d= -f2)\r\ntimeout=10\r\n\r\nlockfile=\/var\/lock\/subsys\/zabbix-server\r\n\r\nstart()\r\n{\r\n    echo -n $\"Starting Zabbix server: \"\r\n    daemon $exec -c $conf\r\n    rv=$?\r\n    echo\r\n    [ $rv -eq 0 ] &amp;&amp; touch $lockfile\r\n    return $rv\r\n}\r\n\r\nstop()\r\n{\r\n    echo -n $\"Shutting down Zabbix server: \"\r\n    killproc -p $pidfile -d $timeout $prog\r\n    rv=$?\r\n    echo\r\n    [ $rv -eq 0 ] &amp;&amp; rm -f $lockfile\r\n    return $rv\r\n}\r\n\r\nrestart()\r\n{\r\n    stop\r\n    start\r\n}\r\n\r\ncase \"$1\" in\r\n    start|stop|restart)\r\n        $1\r\n        ;;\r\n    force-reload)\r\n        restart\r\n        ;;\r\n    status)\r\n        status -p $pidfile $prog\r\n        ;;\r\n    try-restart|condrestart)\r\n        if status $prog &gt;\/dev\/null ; then\r\n            restart\r\n        fi\r\n        ;;\r\n    reload)\r\n        action $\"Service ${0##*\/} does not support the reload action: \" \/bin\/false\r\n        exit 3\r\n        ;;\r\n    *)\r\n\techo $\"Usage: $0 {start|stop|status|restart|try-restart|force-reload}\"\r\n\texit 2\r\n\t;;\r\nesac<\/pre>\n<p>agent:<\/p>\n<pre class=\"lang:sh decode:true \">[root@template zabbix-3.2.1]# vim \/etc\/init.d\/zabbix-agent<\/pre>\n<p>\u5199\u5165\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n<pre class=\"lang:sh decode:true\">#!\/bin\/sh\r\n#\r\n# chkconfig: - 86 14\r\n# description: Zabbix agent daemon\r\n# processname: zabbix_agentd\r\n# config: \/etc\/zabbix\/zabbix_agentd.conf\r\n#\r\n\r\n### BEGIN INIT INFO\r\n# Provides: zabbix-agent\r\n# Required-Start: $local_fs $network\r\n# Required-Stop: $local_fs $network\r\n# Should-Start: zabbix zabbix-proxy\r\n# Should-Stop: zabbix zabbix-proxy\r\n# Default-Start:\r\n# Default-Stop: 0 1 2 3 4 5 6\r\n# Short-Description: Start and stop Zabbix agent\r\n# Description: Zabbix agent\r\n### END INIT INFO\r\n\r\n# Source function library.\r\n. \/etc\/rc.d\/init.d\/functions\r\n\r\nif [ -x \/usr\/local\/sbin\/zabbix_agentd ]; then\r\n    exec=\/usr\/local\/sbin\/zabbix_agentd\r\nelse\r\n    exit 5\r\nfi\r\n\r\nprog=${exec##*\/}\r\nconf=\/etc\/zabbix_agentd.conf\r\npidfile=$(grep -e \"^PidFile=.*$\" $conf | cut -d= -f2)\r\ntimeout=10\r\n\r\nlockfile=\/var\/lock\/subsys\/zabbix-agent\r\n\r\nstart()\r\n{\r\n    echo -n $\"Starting Zabbix agent: \"\r\n    daemon $exec -c $conf\r\n    rv=$?\r\n    echo\r\n    [ $rv -eq 0 ] &amp;&amp; touch $lockfile\r\n    return $rv\r\n}\r\n\r\nstop()\r\n{\r\n    echo -n $\"Shutting down Zabbix agent: \"\r\n    killproc -p $pidfile -d $timeout $prog\r\n    rv=$?\r\n    echo\r\n    [ $rv -eq 0 ] &amp;&amp; rm -f $lockfile\r\n    return $rv\r\n}\r\n\r\nrestart()\r\n{\r\n    stop\r\n    start\r\n}\r\n\r\ncase \"$1\" in\r\n    start|stop|restart)\r\n        $1\r\n        ;;\r\n    force-reload)\r\n        restart\r\n        ;;\r\n    status)\r\n        status -p $pidfile $prog \r\n        ;;\r\n    try-restart|condrestart)\r\n        if status $prog &gt;\/dev\/null ; then\r\n            restart\r\n        fi\r\n        ;;\r\n    reload)\r\n        action $\"Service ${0##*\/} does not support the reload action: \" \/bin\/false\r\n        exit 3\r\n        ;;\r\n    *)\r\n\techo $\"Usage: $0 {start|stop|status|restart|try-restart|force-reload}\"\r\n\texit 2\r\n\t;;\r\nesac<\/pre>\n<p>\u8bbe\u7f6e\u4e0b\u6267\u884c\u6743\u9650\uff1a<\/p>\n<pre class=\"lang:sh decode:true\">[root@template zabbix-3.2.1]# chmod a+x \/etc\/init.d\/zabbix-agent \/etc\/init.d\/zabbix-server\r\n[root@template zabbix-3.2.1]# semanage fcontext -a -t zabbix_initrc_exec_t \/etc\/rc.d\/init.d\/zabbix-server\r\n[root@template zabbix-3.2.1]# restorecon -v \/etc\/rc.d\/init.d\/zabbix-server\r\n[root@template zabbix-3.2.1]# semanage fcontext -a -t zabbix_agent_initrc_exec_t \/etc\/rc.d\/init.d\/zabbix-agent \r\n[root@template zabbix-3.2.1]# restorecon -v \/etc\/rc.d\/init.d\/zabbix-agent\r\n<\/pre>\n<p>\u66f4\u6539\u4e0b\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n<pre class=\"lang:sh decode:true \">[root@template zabbix-3.2.1]# vim \/etc\/zabbix_server.conf<\/pre>\n<p>\u628a\u4e0b\u9762\u51e0\u9879\u66f4\u6539\u4e0b\uff1a<\/p>\n<pre class=\"lang:sh decode:true \">DBHost=localhost\r\nDBPassword=yourownpasswd\r\nPidFile=\/tmp\/zabbix_server.pid<\/pre>\n<pre class=\"lang:sh decode:true \">[root@template zabbix-3.2.1]# vim \/etc\/zabbix_agentd.conf<\/pre>\n<p>\u66f4\u6539\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n<div>\n<pre class=\"lang:ini decode:true \">PidFile=\/tmp\/zabbix_agentd.pid<\/pre>\n<p>\u66f4\u6539\u4e0b\u6267\u884c\u7a0b\u5e8f\u7684selinux\u6807\u7b7e\uff1a<\/p>\n<pre class=\"lang:sh decode:true \">[root@template zabbix-3.2.1]# semanage fcontext -a -t zabbix_exec_t \/usr\/local\/sbin\/zabbix_server\r\n[root@template zabbix-3.2.1]# restorecon -v \/usr\/local\/sbin\/zabbix_server\r\n[root@template zabbix-3.2.1]# semanage fcontext -a -t zabbix_agent_exec_t \/usr\/local\/sbin\/zabbix_agentd\r\n[root@template zabbix-3.2.1]# restorecon -v \/usr\/local\/sbin\/zabbix_agentd<\/pre>\n<p>\u62f7\u8d1dzabbix web\u6587\u4ef6\u5230nginx\u7684document root\u76ee\u5f55\/usr\/share\/nginx\/html\uff0c\u4e3a\u4e86\u4fbf\u4e8e\u533a\u5206\uff0c\u6211\u4eec\u5728\u8fd9\u4e2a\u76ee\u5f55\u4e13\u95e8\u5efa\u4e2azabbix\u6587\u4ef6\u5939<\/p>\n<pre class=\"lang:sh decode:true \">[root@template zabbix-3.2.1]# mkdir \/usr\/share\/nginx\/html\/zabbix\r\n[root@template zabbix-3.2.1]# cd frontends\/php\/\r\n[root@template php]# cp -a . \/usr\/share\/nginx\/html\/zabbix<\/pre>\n<p>\u8bbe\u7f6e\u4e0b\u6743\u9650\uff1a<\/p>\n<pre class=\"lang:sh decode:true \">[root@template php]# chown -R nginx:nginx \/usr\/share\/nginx\/html\/zabbix\r\n[root@template php]# semanage fcontext -a -t httpd_sys_rw_content_t \"\/usr\/share\/nginx\/html\/zabbix(\/.*)?\"\r\n[root@template php]# restorecon -Rv \/usr\/share\/nginx\/html\/zabbix<\/pre>\n<p>iptables\u8bbe\u7f6e\u4e0b\uff0c\u5148\u653e\u884czabbix server\u7684\u7aef\u53e3\uff1a<\/p>\n<pre class=\"lang:sh decode:true \">iptables -I INPUT -p tcp --dport 10051 -j ACCEPT\r\nservice iptables save\r\nservice iptables restart<\/pre>\n<p>\u542f\u52a8zabbix server\u548cagent\uff0c\u5e76\u52a0\u5165\u5f00\u673a\u542f\u52a8\uff1a<\/p>\n<pre class=\"lang:sh decode:true \">[root@template zabbix-3.2.1]# service zabbix-server start\r\nStarting Zabbix server:                                    [  OK  ]\r\n[root@template zabbix-3.2.1]# service zabbix-agent start\r\nStarting Zabbix agent:                                     [  OK  ]\r\n[root@template zabbix-3.2.1]# chkconfig zabbix-server on\r\n[root@template zabbix-3.2.1]# chkconfig zabbix-agent on<\/pre>\n<p>\u8fd8\u8981\u8bbe\u7f6e\u4e2aselinux bool\u503c<\/p>\n<pre class=\"lang:sh decode:true\">[root@template tmp]# setsebool -P httpd_can_network_connect 1\r\n[root@template tmp]# setsebool -P httpd_execmem 1<\/pre>\n<p>\u914d\u7f6ezabbix\uff1a<br \/>\n\u4ece\u6d4f\u89c8\u5668\u6253\u5f00http:\/\/192.168.42.15\/zabbix\/setup.php<\/p>\n<p><a href=\"https:\/\/yyshell.com\/wp-content\/uploads\/2016\/10\/zabbix1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-353 size-full\" src=\"https:\/\/yyshell.com\/wp-content\/uploads\/2016\/10\/zabbix1.png\" alt=\"zabbix1\" width=\"852\" height=\"506\" \/><\/a>\u4e0b\u4e00\u6b65\uff0c\u8f93\u5165\u6570\u636e\u5e93\u5bc6\u7801<\/p>\n<p><a href=\"https:\/\/yyshell.com\/wp-content\/uploads\/2016\/10\/zabbix2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-354 size-full\" src=\"https:\/\/yyshell.com\/wp-content\/uploads\/2016\/10\/zabbix2.png\" alt=\"zabbix2\" width=\"851\" height=\"505\" \/><\/a>\u586b\u5199server\u7684\u76f8\u5173\u4fe1\u606f<\/p>\n<p><a href=\"https:\/\/yyshell.com\/wp-content\/uploads\/2016\/10\/zabbix3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-355 size-full\" src=\"https:\/\/yyshell.com\/wp-content\/uploads\/2016\/10\/zabbix3.png\" alt=\"zabbix3\" width=\"852\" height=\"507\" \/><\/a>\u9ed8\u8ba4\u7684\u7528\u6237\u540d\u662fAdmin\uff0c\u5bc6\u7801\u662fzabbix\uff0c\u6ce8\u610f\uff0c\u7528\u6237\u540d\u662f\u533a\u5206\u5927\u5c0f\u5199\u7684\uff01<\/p>\n<p><a href=\"https:\/\/yyshell.com\/wp-content\/uploads\/2016\/10\/zabbix4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-356 size-full\" src=\"https:\/\/yyshell.com\/wp-content\/uploads\/2016\/10\/zabbix4.png\" alt=\"zabbix4\" width=\"366\" height=\"410\" \/><\/a>\u6700\u540e\u53d1\u73b0\u767b\u5f55\u6210\u529f\uff1a<\/p>\n<\/div>\n<p><a href=\"https:\/\/yyshell.com\/wp-content\/uploads\/2016\/10\/zabbix5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-357 size-full\" src=\"https:\/\/yyshell.com\/wp-content\/uploads\/2016\/10\/zabbix5.png\" alt=\"zabbix5\" width=\"982\" height=\"641\" \/><\/a><\/p>\n<p>zabbix\u5df2\u7ecf\u81ea\u5e26\u7b80\u4f53\u4e2d\u6587\uff0c\u53ef\u4ee5\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u7ba1\u7406\u5458\u56fe\u6807\u66f4\u6539\u4e3a\u4e2d\u6587\uff1a<br \/>\n<a href=\"https:\/\/yyshell.com\/wp-content\/uploads\/2016\/10\/zabbix6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-358 size-full\" src=\"https:\/\/yyshell.com\/wp-content\/uploads\/2016\/10\/zabbix6.png\" alt=\"zabbix6\" width=\"951\" height=\"550\" \/><\/a>\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0czabbix\u7684\u9ed8\u8ba4\u5b57\u4f53\uff0c\u5728\u663e\u793a\u56fe\u50cf\u65f6\uff0c\u56fe\u50cf\u4e0b\u65b9\u7684\u4e2d\u6587\u5b57\u7b26\u4f1a\u4e71\u7801\uff0c\u89e3\u51b3\u65b9\u6cd5\u662f\u63d0\u53d6Windows\u7684\u96c5\u9ed1\u5b57\u4f53\u6587\u4ef6msyh.ttf\u4e0a\u4f20\u5230<\/p>\n<div>\n<p>\/usr\/share\/nginx\/html\/zabbix\/fonts\/\u76ee\u5f55\uff0c\u7136\u540e\u7f16\u8f91\/usr\/share\/nginx\/html\/zabbix\/include\/defines.inc.php\u6587\u4ef6\uff0c\u66f4\u6539\u5b57\u4f53\u914d\u7f6e\uff1a<\/p>\n<pre class=\"lang:php decode:true \">define('ZBX_GRAPH_FONT_NAME',           'msyh');\r\ndefine('ZBX_FONT_NAME', 'msyh');<\/pre>\n<p>\u4e00\u822c\u4e0d\u9700\u8981\u91cd\u542f\u670d\u52a1\uff0c\u76f4\u63a5\u5c31\u80fd\u770b\u5230\u56fe\u50cf\u7684\u5b57\u4f53\u4e0d\u4e71\u7801\u4e86\u3002<br \/>\n\u4e0b\u4e00\u7bc7\uff0c\u6211\u4eec\u5c06\u4ecb\u7ecd\u8ba9\u4e00\u53f0\u670d\u52a1\u5668\uff0c\u4f5c\u4e3a\u5ba2\u6237\u7aef\u8fde\u63a5\u6b64zabbix server\u3002<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4e0a\u4e00\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5df2\u7ecf\u8bb2\u89e3\u4e86LEMP\u73af\u5883\u7684\u5b89\u88c5\uff0c\u8fd9\u7bc7\u6587\u7ae0\u5c31\u63a5\u7740\u8bb2Zabbix3<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,8,7],"tags":[45,42,43,36,44],"class_list":["post-351","post","type-post","status-publish","format-standard","hentry","category-linux","category-web","category-7","tag-centos6","tag-nginx","tag-php7","tag-selinux","tag-zabbix3-2"],"_links":{"self":[{"href":"https:\/\/yyshell.com\/index.php?rest_route=\/wp\/v2\/posts\/351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yyshell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yyshell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yyshell.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yyshell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=351"}],"version-history":[{"count":5,"href":"https:\/\/yyshell.com\/index.php?rest_route=\/wp\/v2\/posts\/351\/revisions"}],"predecessor-version":[{"id":360,"href":"https:\/\/yyshell.com\/index.php?rest_route=\/wp\/v2\/posts\/351\/revisions\/360"}],"wp:attachment":[{"href":"https:\/\/yyshell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yyshell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yyshell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}