Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(): Failed opening '/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723
{"id":3287,"date":"2016-04-26T23:05:23","date_gmt":"2016-04-26T15:05:23","guid":{"rendered":"http:\/\/blog.unethost.com\/?p=3287"},"modified":"2016-04-26T23:16:55","modified_gmt":"2016-04-26T15:16:55","slug":"about_cpanel_issue_of_nodejs","status":"publish","type":"post","link":"https:\/\/blog.unethost.com\/about_cpanel_issue_of_nodejs\/","title":{"rendered":"\u95dc\u65bccpanel\u8207node.js\u7684\u554f\u984c"},"content":{"rendered":"

\"cpanel_nodejs_issue_wp\"<\/p>\n

node.js \u672c\u8eab\u662f\u4e00\u7a2e web server\uff0c<\/strong>
\n\u7a0b\u5f0f\u8a2d\u8a08\u5e2b\u53ef\u4f7f\u7528node.js\u5efa\u69cb\u7db2\u7ad9\u53ca\u958b\u767c\u7db2\u7ad9\u61c9\u7528\u7a0b\u5f0f\u3002<\/strong><\/p>\n

\u56e0\u5176 web server \u7684\u7279\u6027\uff0c\u6240\u4ee5\u5c0e\u81f4\u548ccpanel\u7684apache\u4e0d\u76f8\u5bb9\u3002<\/strong><\/p>\n

<\/p>\n

<\u5b89\u88dd\u5957\u4ef6\u529f\u80fd><\/span><\/strong>
\n\u6211\u5011\u5728\u4e4b\u524d\u6709\u4ecb\u7d39\u904e\uff0c\u64b0\u5bebwiki\u7684\u5957\u88dd\u7a0b\u5f0fmediawiki<\/a>\uff0c
\n
mediawiki\u662fwiki\u767e\u79d1<\/a>\u6240\u63a1\u7528\u7684\u7a0b\u5f0f\u57fa\u5e95\uff0c
\n\u6240\u4ee5\u5176\u529f\u80fd\u662f\u76f8\u7576\u5b8c\u6574\u7684\u3002<\/p>\n

\u6700\u8fd1\u6709\u7ad9\u9577\u8a62\u554fmediawiki\u7684\u984d\u5916\u5957\u4ef6\u529f\u80fd\uff0c
\n\u56e0\u6b64\u767c\u751f\u4e00\u4ef6\u5f88\u6709\u8da3\u7684\u72c0\u6cc1\u3002<\/p>\n

<\u89c0\u770b\u8aaa\u660e\u53ca\u5b89\u88dd\u6587\u4ef6><\/span><\/strong>
\n\u7ad9\u9577\u60f3\u8981\u5b89\u88dd\u00a0mediawiki\u00a0Parsoid\uff0c\u4e26\u627e\u4e86
\u7dda\u4e0a\u8aaa\u660e<\/a>\u7d66\u6211\u5011\u770b\u3002
\n\u56e0\u8a72\u9801\u7684\u5b89\u88dd\u8aaa\u660e\u4e0d\u5920\u5b8c\u6574\uff0c\u6240\u4ee5\u6211\u5011\u627e\u4e86Parsoid\u7684<\/span>
\u5de5\u7a0b\u5b89\u88dd\u6587\u4ef6<\/a>\u3002
\n<\/span>\u5f8c\u4f86\u4ed4\u7d30\u770b\u4e00\u4e0blinux\u7684\u5b89\u88dd\u6b65\u9a5f\uff0c\u5176\u4e2d\u6709<\/span>
git<\/a>\uff0c\u53canodejs\u3002<\/span><\/p>\n

\u4e26\u9700\u8981\u555f\u52d5node.js server\u3002<\/p>\n

\"cpanel_nodejs_issue_01\"<\/p>\n

\u5176\u5be6\u5b89\u88dd\u9019\u500b\u5957\u4ef6\uff0c\u770b\u5230\u9019\u6b65\u9a5f\u5c31\u5361\u4f4f\u4e86\u3002<\/strong><\/span><\/p>\n


\n<\u70ba\u4ec0\u9ebc\u6703\u6709\u554f\u984c\uff1f>
\n<\/span><\/strong>\u4e3b\u8981\u662f\u6211\u5011
\u865b\u64ec\u4e3b\u6a5f<\/a>\u88e1\uff0c\u90fd\u662f\u4f7f\u7528cpanel<\/a>\u63a7\u5236\u53f0\uff0c
\n\u800ccpanel\u7684web server\u662fapache\uff0c\u5982\u679c\u786c\u662f\u88dd\u4e0a\u5225\u5957web server\uff0c
\n\u5c07\u6703\u76f4\u63a5\u5c0e\u81f4 80 port \u7684\u885d\u7a81\u6216\u662f
.htaccess\u8a9e\u6cd5<\/a>\u554f\u984c\u3002<\/p>\n

<\u5982\u4f55\u89e3\u6c7a?>
\n<\/strong><\/span>\u5982\u679c\u4e3b\u6a5f\u5167\u53ea\u6709\u55ae\u4e00\u7db2\u7ad9\uff0c
\n\u6216\u8a31\u53ef\u4ee5\u8a66\u8457\u6539\u88dd node.js \u548capache\u5171\u5b58(\u7528\u4e0d\u540cport\u53ca\u5feb\u53d6)\uff0c
\n\u4f46\u6709\u6642\u589e\u52a0\u4e00\u500b\u7279\u6b8a\u8a2d\u5b9a\uff0c\u53ef\u80fd\u5c31\u6703\u56e0\u6b64\u5f04\u51fa\u5176\u4ed6\u554f\u984c\u3002<\/p>\n

\u800c\u540c\u4e3b\u6a5f\u5167\u6709\u5176\u4ed6\u7db2\u7ad9\u5728\u4f7f\u7528\uff0c\u6211\u5011\u4e5f\u4e0d\u4fbf\u76f4\u63a5\u53bb\u6539\uff0c
\n\u4ee5\u514d\u6709\u554f\u984c\uff0c\u6703\u7acb\u5373\u6027\u5f71\u97ff\u5230\u5176\u4ed6\u7db2\u7ad9\u7684\u4f7f\u7528\u3002<\/p>\n

\u5c24\u5176cpanel\u6838\u5fc3\u529f\u80fd\u51fa\u73fe\u554f\u984c\uff0c\u4e5f\u4e0d\u662f\u6211\u5011\u4eba\u529b\u6280\u8853\u6240\u80fd\u89e3\u6c7a\u7684\u3002<\/p>\n

\u5982\u679c\u672a\u4f86cpanel\u6709\u589e\u52a0node.js\u7684\u652f\u63f4\uff0c
\n\u6211\u5011\u5c31\u6703\u9806\u61c9\u53bb\u555f\u52d5\u7684\uff0c\u7562\u7adfcpanel\u516c\u53f8\u6709\u4e00\u7fa4\u5de5\u7a0b\u5e2b\u5c08\u9580\u5728debugs\u3002<\/p>\n

<\u7368\u7acb\u7cfb\u7d71\u6bd4\u8f03\u597d\u904b\u4f5c><\/span>
\n<\/strong>\u5f8c\u4f86\u6211\u5011\u5efa\u8b70\u8a72\u7ad9\u9577\uff0c\u5982\u9700\u4f7f\u7528\u5230node.js\u7684\u529f\u80fd\uff0c
\n\u53ef\u80fd\u5c31\u8981\u6539\u7528
vps<\/a>\u00a0……\u7b49\u7b49\u7368\u7acb\u7cfb\u7d71\uff0c
\n\u9019\u6a23\u5728\u53bb\u5b89\u88dd node.js server\u624d\u662f\u6700\u7a69\u7576\u7684\u3002
\n(server\u88e1\u7684service\u8d8a\u55ae\u7d14\uff0c\u51fa\u554f\u984c\u8d8a\u5bb9\u6613\u9664\u932f)<\/p>\n

 <\/p>\n

<\u7d50\u8ad6><\/span><\/strong>
\n\u6211\u5011\u5728\u524d\u5e74\u5c31\u6709\u8003\u616e\uff0c\u662f\u5426\u63a8\u51fanode.js\u7684\u865b\u64ec\u4e3b\u6a5f\u670d\u52d9?
\n\u4f46\u5982\u679c\u8981\u6539\u88dd\u76f8\u5bb9node.js\u7684\u7a7a\u9593\u63a7\u5236\u53f0(\u5e02\u9762\u4e0a\u9084\u771f\u7684\u6709)\uff0c
\n\u9664\u4e86\u63a7\u5236\u53f0\u516c\u53f8\u7684\u670d\u52d9\uff0c\u5176\u5be6\u9084\u6709\u6211\u5011\u81ea\u5df1\u7684\u77e5\u8b58\u6210\u672c(\u89e3\u6c7a\u554f\u984c\u7684\u80fd\u529b)\u5728\uff0c
\n\u5f8c\u4f86\u8a55\u4f30\u5f8c\u767c\u73fe\uff0c\u5728\u865b\u64ec\u4e3b\u6a5f\u88e1\u53ef\u80fd\u4e0d\u5bb9\u6613\u63a8node.js server\uff0c
\n\u56e0\u70ba\u6703\u4f7f\u7528node.js\u61c9\u7528\u7684\uff0c\u90fd\u662f\u8edf\u9ad4\u5de5\u7a0b\u5e2b\uff0c
\n\u5176\u7279\u6027\u662f\u7fd2\u6163\u81ea\u5df1\u67b6server\uff0c\u800c\u975e\u79df\u7528\u865b\u64ec\u4e3b\u6a5f\u3002<\/p>\n

 <\/p>\n

(\u672c\u7bc7\u6559\u5b78\u7531unethost.com\u5ba2\u670d\u64b0\u5beb<\/a>)<\/strong><\/span><\/p>\n

\u5ef6\u4f38\u95b1\u8b80:\u5982\u4f55\u5099\u4efdCpanel\u5f8c\u53f0\u5b89\u88dd\u7684\u5957\u88dd\u7a0b\u5f0f?<\/a><\/strong><\/p>\n

\u5b89\u88dd\u4e0a\u8ff0\u7684\u8edf\u9ad4\uff0c\u6211\u5011\u63d0\u4f9b\u865b\u64ec\u4e3b\u6a5f\u8a66\u7528\uff0c\u4e03\u5929\u6eff\u610f\u4fdd\u8b49\uff0c<\/span><\/strong>
\n\u529f\u80fd\u5b8c\u6574\u4f7f\u7528\u4e0d\u53d7\u9650\u5236\uff0c\u6b61\u8fce
\u9ede\u6211<\/a>\u7533\u8acb\u3002<\/span><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"

node.js \u672c\u8eab\u662f\u4e00\u7a2e web server\uff0c \u7a0b\u5f0f\u8a2d\u8a08\u5e2b\u53ef\u4f7f\u7528node.js\u5efa\u69cb\u7db2\u7ad9\u53ca\u958b\u767c\u7db2\u7ad9\u61c9\u7528\u7a0b\u5f0f\u3002 … \u95b1\u8b80\u5168\u6587 \u95dc\u65bccpanel\u8207node.js\u7684\u554f\u984c<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[151,4],"tags":[18,47,865,866,25],"_links":{"self":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts\/3287"}],"collection":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/comments?post=3287"}],"version-history":[{"count":10,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts\/3287\/revisions"}],"predecessor-version":[{"id":3299,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts\/3287\/revisions\/3299"}],"wp:attachment":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/media?parent=3287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/categories?post=3287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/tags?post=3287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}