{"id":267,"date":"2022-06-06T20:51:44","date_gmt":"2022-06-06T12:51:44","guid":{"rendered":"https:\/\/frogvps.com\/?p=267"},"modified":"2022-11-25T21:21:00","modified_gmt":"2022-11-25T13:21:00","slug":"linux%e6%80%8e%e4%b9%88%e8%ae%be%e5%ae%9a%e8%ae%a1%e5%88%92%e4%bb%bb%e5%8a%a1cron","status":"publish","type":"post","link":"https:\/\/frogvps.com\/?p=267","title":{"rendered":"linux\u600e\u4e48\u8bbe\u5b9a\u8ba1\u5212\u4efb\u52a1cron"},"content":{"rendered":"\n<p>Linux\u672c\u8eab\u5e26\u6709\u4efb\u52a1\u8ba1\u5212\u529f\u80fd\uff0c\u901a\u8fc7\u914d\u7f6e\uff0c\u53ef\u4ee5\u8ba9\u670d\u52a1\u5668\u5728\u56fa\u5b9a\u7684\u65f6\u95f4\u5468\u671f\u91cc\u9762\u6267\u884c\u6211\u4eec\u9884\u5148\u5199\u597d\u7684\u811a\u672c\u6216\u8005\u547d\u4ee4\u3002\u4e0d\u7528\u6bcf\u6b21\u624b\u52a8\u6267\u884c\uff0c\u5b9e\u73b0\u81ea\u52a8\u5316\u8fd0\u7ef4\uff0c\u518d\u4e5f\u4e0d\u7528\u534a\u591c\u8d77\u5e8a\u624b\u52a8\u5907\u4efd\u7f51\u7ad9\u6570\u636e\u4e86\u3002\u4efb\u52a1\u8ba1\u5212\u5206\u4e3a\u4e00\u6b21\u6027\u4efb\u52a1\u548c\u5468\u671f\u6027\u4efb\u52a1\u3002<\/p>\n\n\n\n<p>\u5b9e\u73b0\u8ba1\u5212\u4efb\u52a1\u4e4b\u524d\u5fc5\u987b\u5b89\u88c5\u5e76\u542f\u52a8\u90ae\u4ef6\u670d\u52a1\uff0c\u56e0\u4e3a\u8f93\u51fa\u7684\u7ed3\u679c\u4f1a\u90ae\u4ef6\u901a\u77e5\u7528\u6237\u3002<\/p>\n\n\n\n<p><strong>Centos<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum -y install postfix\nsystemctl enable --now postfix<\/code><\/pre>\n\n\n\n<p><strong>Ubuntu<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt -y install mailutils\nsystemctl enable --now postfix<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u6b21\u6027\u4efb\u52a1at<\/h2>\n\n\n\n<p><strong>at \u5de5\u5177\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u7531\u5305 at \u63d0\u4f9b<\/li>\n\n\n\n<li>\u4f9d\u8d56\u4e0eatd\u670d\u52a1,\u9700\u8981\u542f\u52a8\u624d\u80fd\u5b9e\u73b0at\u4efb\u52a1<\/li>\n\n\n\n<li>at\u961f\u5217\u5b58\u653e\u4f4d\u7f6e Centos: \/var\/spool\/at | Ubuntu:\/var\/spool\/cron\/atjobs<\/li>\n\n\n\n<li>\u6267\u884c\u4efb\u52a1\u65f6PATH\u53d8\u91cf\u7684\u503c\u548c\u5f53\u524d\u5b9a\u4e49\u4efb\u52a1\u7684\u7528\u6237\u8eab\u4efd\u4e00\u81f4<\/li>\n<\/ul>\n\n\n\n<p><strong>at \u547d\u4ee4\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>at &#91;option] TIME<\/code><\/pre>\n\n\n\n<p><strong>\u5e38\u7528\u9009\u9879\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>-V \u663e\u793a\u7248\u672c\u4fe1\u606f\n-t time \u65f6\u95f4\u683c\u5f0f &#91;&#91;CC]YY]MMDDhhmm&#91;.ss]\n-l \u5217\u51fa\u6307\u5b9a\u961f\u5217\u4e2d\u7b49\u5f85\u8fd0\u884c\u7684\u4f5c\u4e1a\uff1b\u76f8\u5f53\u4e8eatq\n-d N \u5220\u9664\u6307\u5b9a\u7684N\u53f7\u4f5c\u4e1a\uff1b\u76f8\u5f53\u4e8eatrm\n-c N \u67e5\u770b\u5177\u4f53\u4f5c\u4e1aN\u53f7\u4efb\u52a1\n-f file \u6307\u5b9a\u7684\u6587\u4ef6\u4e2d\u8bfb\u53d6\u4efb\u52a1\n-m \u5f53\u4efb\u52a1\u88ab\u5b8c\u6210\u4e4b\u540e\uff0c\u5c06\u7ed9\u7528\u6237\u53d1\u9001\u90ae\u4ef6\uff0c\u5373\u4f7f\u6ca1\u6709\u6807\u51c6\u8f93\u51fa<\/code><\/pre>\n\n\n\n<p><strong>\u65f6\u95f4\u683c\u5f0f\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>HH:MM \u5728\u4eca\u65e5\u7684 HH:MM \u8fdb\u884c\uff0c\u82e5\u8be5\u65f6\u523b\u5df2\u8fc7\uff0c\u5219\u660e\u5929\u6b64\u65f6\u6267\u884c\u4efb\u52a1\n02:00\nHH:MM YYYY-MM-DD \u89c4\u5b9a\u5728\u67d0\u5e74\u67d0\u6708\u7684\u67d0\u4e00\u5929\u7684\u7279\u6b8a\u65f6\u523b\u8fdb\u884c\u8be5\u9879\u4efb\u52a1\n02:00 2016-09-20\nHH:MM&#91;am|pm] &#91;Month] &#91;Date]\n06pm March 17\n17:20 tomorrow\nHH:MM&#91;am|pm] + number &#91;minutes|hours|days|weeks]\uff0c \u5728\u67d0\u4e2a\u65f6\u95f4\u70b9\u518d\u52a0\u51e0\u4e2a\u65f6\u95f4\u540e\u624d\u8fdb\u884c\u8be5\u9879\u4efb\u52a1\nnow + 5 min\n02pm + 3 days<\/code><\/pre>\n\n\n\n<p><strong>at\u4efb\u52a1\u7684\u6267\u884c\u65b9\u5f0f\u6709\u4e09\u79cd\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4ea4\u4e92\u5f0f<\/li>\n\n\n\n<li>\u8f93\u5165\u91cd\u5b9a\u5411<\/li>\n\n\n\n<li>at -f file \u914d\u7f6e\u6587\u4ef6\u63a7\u5236\u7528\u6237\u662f\u5426\u80fd\u6267\u884cat\u4efb\u52a1<\/li>\n\n\n\n<li>\u767d\u540d\u5355\uff1a\/etc\/at.allow \u9ed8\u8ba4\u4e0d\u5b58\u5728\uff0c\u53ea\u6709\u8be5\u6587\u4ef6\u4e2d\u7684\u7528\u6237\u624d\u80fd\u6267\u884cat\u547d\u4ee4<\/li>\n\n\n\n<li>\u9ed1\u540d\u5355\uff1a\/etc\/at.deny \u9ed8\u8ba4\u5b58\u5728\uff0c\u62d2\u7edd\u8be5\u6587\u4ef6\u4e2d\u7528\u6237\u6267\u884cat\u547d\u4ee4\uff0c\u800c\u6ca1\u6709\u5728at.deny \u6587\u4ef6\u4e2d\u7684\u4f7f\u7528\u8005\u5219\u53ef\u6267\u884c<\/li>\n\n\n\n<li>\u5982\u679c\u4e24\u4e2a\u6587\u4ef6\u90fd\u4e0d\u5b58\u5728\uff0c\u53ea\u6709 root \u53ef\u4ee5\u6267\u884c at \u547d\u4ee4<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u5468\u671f\u6027\u4efb\u52a1cron<\/h2>\n\n\n\n<p><strong>\u7cfb\u7edfcron\u4efb\u52a1\uff1a<\/strong><\/p>\n\n\n\n<p>\u7cfb\u7edf\u7ef4\u62a4\u4f5c\u4e1a\uff0c\/etc\/crontab \u4e3b\u914d\u7f6e\u6587\u4ef6\uff0c \/etc\/cron.d\/ \u5b50\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n\n\n\n<p><strong>\u7528\u6237cron\u4efb\u52a1\uff1a<\/strong><\/p>\n\n\n\n<p>\u4fdd\u5b58\u5728 \/var\/spool\/cron\/USERNAME(ubuntu \u7cfb\u7edf\u5b58\u653e\u5728\/var\/spool\/cron\/crontabs\/USERNAME)\uff0c\u5229\u7528 crontab \u547d\u4ee4\u7ba1\u7406\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7cfb\u7edfcron\u8ba1\u5212\u4efb\u52a1<\/h2>\n\n\n\n<p>\/etc\/crontab \u683c\u5f0f\u8bf4\u660e\uff0c\u8be6\u60c5\u53c2\u89c1 man 5 crontab\u3002<\/p>\n\n\n\n<p>\u6ce8\u91ca\u884c\u4ee5 # \u5f00\u5934<\/p>\n\n\n\n<p>run-parts\u4f1a\u81ea\u52a8\u6267\u884c\u6587\u4ef6\u5939\u91cc\u7684\u6240\u6709\u811a\u672c<\/p>\n\n\n\n<p>test -x\u5224\u65ad\u6587\u4ef6\u662f\u5426\u53ef\u6267\u884c\uff0c\u53ef\u6267\u884c\u4e3atrue<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SHELL=\/bin\/bash #\u9ed8\u8ba4\u7684SHELL\u7c7b\u578b\nPATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/sbin:\/bin:\/usr\/sbin:\/usr\/bin #\u9ed8\u8ba4\u7684PATH\u53d8\u91cf\u503c,\u53ef\u4fee\u6539\u4e3a\u5176\u5b83\u8def\u5f84\n\n# Example of job definition:\n# .---------------- minute (0 - 59)\n# |  .------------- hour (0 - 23)\n# |  |  .---------- day of month (1 - 31)\n# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...\n# |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat\n# |  |  |  |  |\n# *  *  *  *  * user-name command to be executed\n17 *    * * *   root    cd \/ &amp;&amp; run-parts --report \/etc\/cron.hourly\n25 6    * * *   root    test -x \/usr\/sbin\/anacron || ( cd \/ &amp;&amp; run-parts --report \/etc\/cron.daily )\n47 6    * * 7   root    test -x \/usr\/sbin\/anacron || ( cd \/ &amp;&amp; run-parts --report \/etc\/cron.weekly )\n52 6    1 * *   root    test -x \/usr\/sbin\/anacron || ( cd \/ &amp;&amp; run-parts --report \/etc\/cron.monthly )<\/code><\/pre>\n\n\n\n<p><strong>\u8ba1\u5212\u4efb\u52a1\u65f6\u95f4\u8868\u793a\u6cd5\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>(1) \u7279\u5b9a\u503c\n\u7ed9\u5b9a\u65f6\u95f4\u70b9\u6709\u6548\u53d6\u503c\u8303\u56f4\u5185\u7684\u503c\n(2) *\n\u7ed9\u5b9a\u65f6\u95f4\u70b9\u4e0a\u6709\u6548\u53d6\u503c\u8303\u56f4\u5185\u7684\u6240\u6709\u503c,\u8868\u793a\u201c\u6bcf...\u201d,\u653e\u5728\u661f\u671f\u7684\u4f4d\u7f6e\u8868\u793a\u4e0d\u786e\u5b9a\n(3) \u79bb\u6563\u53d6\u503c\n#,#,#\n(4) \u8fde\u7eed\u53d6\u503c\n#-#\n(5) \u5728\u6307\u5b9a\u65f6\u95f4\u8303\u56f4\u4e0a\uff0c\u5b9a\u4e49\u6b65\u957f\n\/#: #\u5373\u4e3a\u6b65\u957f\n(6) \u7279\u5b9a\u5173\u5065\u5b57\n@yearly 0 0 1 1 *\n@annually 0 0 1 1 *\n@monthly 0 0 1 * *\n@weekly 0 0 * * 0\n@daily 0 0 * * *\n@hourly 0 * * * *\n@reboot Run once after reboot<\/code><\/pre>\n\n\n\n<p><strong>\u6587\u6863\u91cc\u9762\u5bf9\u4e8e\u65e5\u671f\u548c\u661f\u671f\u51e0\u5b57\u6bb5\u7684\u5173\u7cfb\u7684\u89e3\u91ca\uff1a<\/strong><\/p>\n\n\n\n<p>\u5982\u679c\u540c\u65f6\u8bbe\u5b9a\u4e86\u65e5\u548c\u661f\u671f\u51e0\uff0c\u90a3\u4e48\u8fd9\u4e24\u4e2a\u6761\u4ef6\u53ea\u8981\u6ee1\u8db3\u5176\u4e2d\u4e00\u4e2a\uff0c\u90fd\u4f1a\u6267\u884c\u8ba1\u5212\u4efb\u52a1\u3002<\/p>\n\n\n\n<p>\u4f8b\u5982\uff0c&#8221;30 4 1,15 * 5&#8243; \u8868\u793a\uff0c\u6bcf\u4e2a\u6708\u7684\uff081\u53f715\u53f7\u518d\u52a0\u4e0a\u5468\u4e94\uff09\u76844\uff1a30\u6267\u884c\u8ba1\u5212\u4efb\u52a1\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> Note: The day of a command's execution can be specified by two fields \u2014 day of month, and day of week.  If both fields are restricted (i.e., don't start with *),the command will be run when either field matches the current time.  For example,''30 4 1,15 * 5'' would cause a command to be run at 4:30 am on the 1st and 15th of each month, plus every Friday.  One can, however, achieve the desired result by\nadding a test to the command (see the last example in EXAMPLE CRON FILE below).<\/code><\/pre>\n\n\n\n<p><strong>crond\u4efb\u52a1\u76f8\u5173\u6587\u4ef6\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/etc\/crontab \u914d\u7f6e\u6587\u4ef6\n\/etc\/cron.d\/ \u914d\u7f6e\u6587\u4ef6\n\/etc\/cron.hourly\/ \u811a\u672c\n\/etc\/cron.daily\/ \u811a\u672c\n\/etc\/cron.weekly\/ \u811a\u672c\n\/etc\/cron.monthly\/ \u811a\u672c<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u7528\u6237\u8ba1\u5212\u4efb\u52a1crontab<\/h2>\n\n\n\n<p><strong>crontab\u547d\u4ee4\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6bcf\u4e2a\u7528\u6237\u90fd\u6709\u4e13\u7528\u7684cron\u4efb\u52a1\u6587\u4ef6\uff1a\/var\/spool\/cron\/USERNAME \/var\/spool\/cron\/crontabs\/USERNAME<\/li>\n\n\n\n<li>\u9ed8\u8ba4\u6807\u51c6\u8f93\u51fa\u548c\u9519\u8bef\u4f1a\u88ab\u53d1\u90ae\u4ef6\u7ed9\u5bf9\u5e94\u7684\u7528\u6237,\u5982\uff1afrog\u521b\u5efa\u7684\u4efb\u52a1\u5c31\u53d1\u9001\u81f3frog\u7684\u90ae\u7bb1<\/li>\n\n\n\n<li>root\u80fd\u591f\u4fee\u6539\u5176\u5b83\u7528\u6237\u7684\u4f5c\u4e1a<\/li>\n\n\n\n<li>\u7528\u6237\u7684cron \u4e2d\u9ed8\u8ba4 PATH=\/usr\/bin:\/bin,\u5982\u679c\u4f7f\u7528\u5176\u5b83\u8def\u5f84,\u5728\u4efb\u52a1\u6587\u4ef6\u7684\u7b2c\u4e00\u884c\u52a0PATH=\/path\u6216\u8005\u52a0\u5165\u5230\u8ba1\u5212\u4efb\u52a1\u6267\u884c\u7684\u811a\u672c\u4e2d<\/li>\n\n\n\n<li>\u7b2c\u516d\u4e2a\u5b57\u6bb5\u6307\u5b9a\u8981\u8fd0\u884c\u7684\u547d\u4ee4\u3002\u8be5\u884c\u7684\u6574\u4e2a\u547d\u4ee4\u90e8\u5206\uff0c\u76f4\u81f3\u6362\u884c\u7b26\u6216\u201c\uff05\u201d\u5b57\u7b26\uff0c\u6307\u5b9a\u7684shell\u6267\u884c\u3002\u9664\u975e\u4f7f\u7528\u53cd\u659c\u6760\uff08\\\uff09\u8fdb\u884c\u8f6c\u4e49\uff0c\u5426\u5219\u8be5\u547d\u4ee4\u4e2d\u7684\u201c\uff05\u201d\u5b57\u7b26\u5c06\u53d8\u4e3a\u6362\u884c\u7b26\uff0c\u5e76\u4e14\u7b2c\u4e00\u4e2a\uff05\u4e4b\u540e\u7684\u6240\u6709\u6570\u636e\u5c06\u4f5c\u4e3a\u6807\u51c6\u8f93\u5165\u53d1\u9001\u5230\u8be5\u547d\u4ee4\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>crontab\u547d\u4ee4\u683c\u5f0f\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>crontab &#91;-u user] &#91;-l | -r | -e] &#91;-i]<\/code><\/pre>\n\n\n\n<p><strong>\u5e38\u7528\u9009\u9879\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>-l \u5217\u51fa\u6240\u6709\u4efb\u52a1\n-e \u7f16\u8f91\u4efb\u52a1\n-r \u79fb\u9664\u6240\u6709\u4efb\u52a1\n-i \u540c-r\u4e00\u540c\u4f7f\u7528\uff0c\u4ee5\u4ea4\u4e92\u5f0f\u6a21\u5f0f\u79fb\u9664\u6307\u5b9a\u4efb\u52a1\n-u user \u6307\u5b9a\u7528\u6237\u7ba1\u7406cron\u4efb\u52a1,\u4ec5root\u53ef\u8fd0\u884c<\/code><\/pre>\n\n\n\n<p><strong>\u63a7\u5236\u7528\u6237\u6267\u884c\u8ba1\u5212\u4efb\u52a1\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/etc\/cron.{allow,deny}<\/code><\/pre>\n\n\n\n<p><strong>\u5982\u4f55\u4fee\u6539\u9ed8\u8ba4\u7684cron\u7684\u6587\u672c\u7f16\u8f91\u5de5\u5177\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vim \/etc\/profile.d\/env.sh\n#\u5f80\u6587\u4ef6\u91cc\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\nexport EDITOR=vim<\/code><\/pre>\n\n\n\n<p><strong>\u7ed9\u8ba1\u5212\u4efb\u52a1\u914d\u7f6ePATH\u53d8\u91cf\u7684\u4e24\u79cd\u65b9\u5f0f<\/strong><\/p>\n\n\n\n<p>\u65b9\u6cd51\uff1a\u76f4\u63a5\u5728\u8ba1\u5212\u4efb\u52a1\u7684\u6587\u4ef6\u91cc\u52a0\u4e0aPATH\u53d8\u91cf<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>crontab -e\n#\u5728\u6700\u4e0a\u9762\u6dfb\u52a0PATH\u53d8\u91cf\u540e\u4fdd\u5b58\uff0cPATH\u53d8\u91cf\u7684\u503c\u6839\u636e\u9700\u8981\u81ea\u5df1\u8bbe\u5b9a\uff0c\u4ee5\u4e0b\u4ec5\u4f9b\u53c2\u8003\nPATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/sbin:\/bin:\/usr\/sbin:\/usr\/bin<\/code><\/pre>\n\n\n\n<p>\u65b9\u6cd52\uff1a\u5728\u811a\u672c\u4e2d\u6307\u5b9aPATH\u53d8\u91cf<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\nPATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/sbin:\/bin:\/usr\/sbin:\/usr\/bin<\/code><\/pre>\n\n\n\n<p>crontab\u4f1a\u5c06\u8fd0\u884c\u7ed3\u679c\u7684\u6807\u51c6\u8f93\u51fa\u548c\u9519\u8bef\u4ee5\u90ae\u4ef6\u901a\u77e5\u7ed9\u76f8\u5173\u7528\u6237\uff0c\u5efa\u8bae\u628a\u6807\u51c6\u8f93\u51fa\u548c\u9519\u8bef\u90fd\u6254\u5230\u5783\u573e\u6876\u91cc\uff0c\u907f\u514d\u90ae\u7bb1\u7206\u70b8\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>* * * * * COMMAND &amp;&gt; \/dev\/null<\/code><\/pre>\n\n\n\n<p><strong>\u5982\u679c\u4fee\u6539\u4e86\u65f6\u533a\uff0c\u4efb\u52a1\u8fd8\u662f\u4e0d\u80fd\u51c6\u65f6\u6267\u884c\uff0c\u9700\u8981\u91cd\u542fcrond\u670d\u52a1\u548crsyslog\u670d\u52a1<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart crond\nsystemctl restart rsyslog<\/code><\/pre>\n\n\n\n<p>\u572811\u670825\u65e5\u768421\u70b916\u5206\u5173\u95ednginx\u670d\u52a1\u7684\u8ba1\u5212\u4efb\u52a1\u5199\u6cd5<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SHELL=\/bin\/bash\nPATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/sbin:\/bin:\/usr\/sbin:\/usr\/bin\n16 21 25 11 * systemctl stop nginx &amp;> \/dev\/null\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u672c\u8eab\u5e26\u6709\u4efb\u52a1\u8ba1\u5212\u529f\u80fd\uff0c\u901a\u8fc7\u914d\u7f6e\uff0c\u53ef\u4ee5\u8ba9\u670d\u52a1\u5668\u5728\u56fa\u5b9a\u7684\u65f6\u95f4\u5468\u671f\u91cc\u9762\u6267\u884c\u6211\u4eec\u9884\u5148\u5199\u597d\u7684\u811a\u672c\u6216\u8005\u547d\u4ee4\u3002\u4e0d\u7528\u6bcf\u6b21\u624b\u52a8\u6267\u884c\uff0c\u5b9e\u73b0\u81ea\u52a8\u5316\u8fd0\u7ef4\uff0c\u518d\u4e5f\u4e0d\u7528\u534a\u591c\u8d77\u5e8a\u624b\u52a8\u5907\u4efd\u7f51\u7ad9\u6570\u636e\u4e86\u3002\u4efb\u52a1\u8ba1\u5212\u5206\u4e3a\u4e00\u6b21\u6027\u4efb\u52a1\u548c\u5468\u671f\u6027\u4efb\u52a1\u3002 \u5b9e\u73b0\u8ba1\u5212\u4efb\u52a1\u4e4b\u524d\u5fc5\u987b\u5b89\u88c5\u5e76&#8230;<\/p>\n","protected":false},"author":1,"featured_media":143,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[40],"topic":[],"class_list":["post-267","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-40"],"_links":{"self":[{"href":"https:\/\/frogvps.com\/index.php?rest_route=\/wp\/v2\/posts\/267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frogvps.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/frogvps.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/frogvps.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/frogvps.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=267"}],"version-history":[{"count":12,"href":"https:\/\/frogvps.com\/index.php?rest_route=\/wp\/v2\/posts\/267\/revisions"}],"predecessor-version":[{"id":887,"href":"https:\/\/frogvps.com\/index.php?rest_route=\/wp\/v2\/posts\/267\/revisions\/887"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/frogvps.com\/index.php?rest_route=\/wp\/v2\/media\/143"}],"wp:attachment":[{"href":"https:\/\/frogvps.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/frogvps.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/frogvps.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=267"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/frogvps.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftopic&post=267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}