\u5373\u53ef\u8fdb\u5165\u3002www\u7528\u6237\u4e0d\u80fd\u76f4\u63a5\u4fee\u6539\u81ea\u5df1\u7684\u5bc6\u7801\uff0c\u9700\u8981\u5148root\u767b\u5f55\uff0c\u518d\u6267\u884cpasswd www\u4fee\u6539\u5176\u5bc6\u7801\u3002<\/p>\n
mysql\u7684root\u7528\u6237\u9ed8\u8ba4\u5bc6\u7801\u4e5f\u4e3aadmin\uff0c\u5047\u8bbe\u8981\u4fee\u6539\u4e3aABCD\uff0c\u53ef\u6267\u884c\uff1a<\/p>\n
\n
mysqladmin -u root -p password ABCD<\/pre>\n<\/div>\n\u7136\u540e\u4f1a\u63d0\u793a\u8f93\u5165\u539f\u5148\u7684\u5bc6\u7801\u3002<\/p>\n
\u7f51\u7ad9\u6839\u76ee\u5f55\u5728\u5c0f\u7c73\u5171\u4eab\u76d8wwwroot\u4e0b\uff0cssh\u5230\u8def\u7531\u4e0a\u5bf9\u5e94\u7684\u4f4d\u7f6e\u5728\/userdisk\/data\/wwwroot\u3002<\/p>\n
\u597d\u4e86\uff0c\u4ee5\u4e0a\u6b65\u9aa4\u5c31\u5b8c\u6210\u4e86\u5728\u5c0f\u7c73\u8def\u7531\u4e0a\u642d\u5efaweb\u670d\u52a1\uff0c\u5230\u76ee\u524d\u4e3a\u6b62\uff0c\u53ef\u4ee5\u5728\u5c40\u57df\u7f51\u5185\u6b63\u5e38\u8bbf\u95ee\u4e86\u3002\u76ee\u524d\u4ece\u5916\u7f51\u8fd8\u8bbf\u95ee\u4e0d\u4e86\uff0c\u539f\u56e0\u662f\u88ab\u9632\u706b\u5899\u62e6\u4e86\uff0c\u4e0b\u4e00\u6b65\u6211\u4eec\u6dfb\u52a0\u9632\u706b\u5899\u4f8b\u5916\uff0c\u5c31\u53ef\u4ee5\u505a\u5230\u4ece\u5916\u7f51\u7528ip\u8bbf\u95ee\u8be5web \u670d\u52a1\u3002\u9700\u8981\u8bf4\u660e\u7684\u662f\uff0c\u6211\u53d1\u73b0\u8054\u901a\u8fd0\u8425\u5546\u5c4f\u853d\u4e868080\u7aef\u53e3\u7684\u8bbf\u95ee\uff0c\u6240\u4ee5\u5f97\u5148\u628aweb\u670d\u52a1\u7684\u7aef\u53e3\u6539\u4e00\u4e0b\uff0c\u6bd4\u5982\u6539\u62108023\u3002SSH\u5230\u8def\u7531\uff0c<\/p>\n
vi \/userdisk\/llmp\/etc\/lighttpd\/lighttpd.conf\uff0c\u627e\u5230\u8fd9\u4e00\u884c\uff0c\u5e76\u628a8080\u6539\u4e3a8023\uff1a<\/span><\/p>\n\n
## bind to port (default: 80)\r\nserver.port = 8080 #\u628a8080\u4fee\u6539\u4e3a8023<\/pre>\n<\/div>\n\u4fdd\u5b58\u540e\u6267\u884c\u5982\u4e0b\u547d\u4ee4\uff0c\u91cd\u542fllmp\u670d\u52a1\uff1a<\/p>\n
\n
sh \/userdisk\/llmp\/manager\/llmp_fix.sh<\/pre>\n<\/div>\n <\/p>\n
\n- \u7b2c\u56db\u6b65\u3001\u6dfb\u52a0\u9632\u706b\u5899\u4f8b\u5916<\/strong><\/li>\n<\/ul>\n
vi \/etc\/config\/firewall\uff0c\u5728\u6587\u4ef6\u6700\u540e\u6dfb\u52a0\u5982\u4e0b\u5185\u5bb9\uff1a<\/span><\/p>\n\n
config rule 'httpdwan'\r\noption src 'wan'\r\noption dest_port '8023'\r\noption proto 'tcp'\r\noption target 'ACCEPT'\r\noption name ''\\''httpd wan accept tcp port 8023'\\'''<\/pre>\n<\/div>\n\u4fdd\u5b58\u540e\u6267\u884c\u5982\u4e0b\u547d\u4ee4\uff0c\u91cd\u542f\u9632\u706b\u5899\u7b56\u7565\uff1a<\/p>\n
\n
\/etc\/init.d\/firewall restart<\/pre>\n<\/div>\nOK\uff0c\u73b0\u5728\u4ece\u5916\u7f51\u901a\u8fc7IP\u5c31\u80fd\u8bbf\u95ee\u8be5web\u670d\u52a1\u4e86\uff0c\u53bb\u5c0f\u7c73\u8def\u7531\u7684\u7ba1\u7406\u540e\u53f0\u627e\u5230\u81ea\u5df1\u7684\u5916\u7f51IP\uff1a<\/p>\n
<\/p>\n
\u7136\u540e\u5728\u5916\u7f51\u8bbf\u95ee\u8be5IP\uff0chttp:\/\/222.128.173.113:8023\uff0c\u5982\u4e0b\uff1a<\/p>\n
<\/p>\n
\u53ef\u4ee5\u5c0f\u9e21\u51bb\u4e00\u628a\u4e86~~<\/span><\/p>\n\n- \u7b2c\u4e94\u6b65\u3001\u57df\u540d\u89e3\u6790<\/span><\/strong><\/li>\n<\/ul>\n
\u6700\u540e\u4e00\u6b65\u5c31\u662f\u6700\u597d\u80fd\u901a\u8fc7\u57df\u540d\u76f4\u63a5\u8bbf\u95ee\uff0c\u4e00\u822c\u5bb6\u91cc\u7684\u7535\u8111\u90fd\u662f\u52a8\u6001IP\uff0c\u8def\u7531\u6bcf\u6b21\u91cd\u542f\u83b7\u5f97\u7684IP\u662f\u4e0d\u540c\u7684\uff0c\u56e0\u6b64\u9700\u8981\u52a8\u6001\u5730\u628a\u57df\u540d\u548c\u8fd9\u4e2aIP\u5b9e\u65f6\u7ed1\u5b9a\u3002\u5728\u5c0f\u7c73\u8bba\u575b\u4e0a\u6709\u6559\u7a0b\u8bb2\u600e\u4e48\u6620\u5c04\u5230\u82b1\u751f\u58f3\u7684\u4e8c\u7ea7\u57df\u540d\uff0c\u8fd9\u79cd\u57df\u540d\u662f\u514d\u8d39\u7684\uff0c\u800c\u4e14\u5c0f\u7c73\u8def\u7531\u7684\u540e\u53f0\u7ba1\u7406\u652f\u6301\u8be5\u57df\u540d\u7684\u52a8\u6001\u89e3\u6790DDNS\u3002\u4e0d\u8fc7\u6211\u624b\u4e0a\u6709\u4e00\u4e2a\u4ece\u963f\u91cc\u4e91\u8d2d\u4e70\u7684\u4e00\u7ea7\u57df\u540d\uff0c\u5728\u5c0f\u7c73\u8def\u7531\u4e0a\u53c8\u4e0d\u80fd\u76f4\u63a5\u652f\u6301DDNS\uff0c\u6240\u4ee5\u8fd8\u9700\u8981\u989d\u5916\u505a\u4e00\u4e9b\u4e8b\u3002\u5927\u81f4\u5206\u4e24\u4e2a\u6b65\u9aa4\uff1a\u4e00\u3001\u7533\u8bf7\u4e00\u4e2a\u82b1\u751f\u58f3\u7684\u4e8c\u7ea7\u57df\u540d\uff0c\u5e76\u52a8\u6001\u89e3\u6790\u5230\u5c0f\u7c73\u8def\u7531\uff1b\u4e8c\u3001\u5c06\u963f\u91cc\u4e91\u7684\u4e00\u7ea7\u57df\u540d\u518d\u89e3\u6790\u5230\u82b1\u751f\u58f3\u7684\u4e8c\u7ea7\u57df\u540d\u3002<\/span><\/p>\n\u9996\u5148\uff0c\u53bb\u82b1\u751f\u58f3\u7533\u8bf7\u4e00\u4e2a\u4e8c\u7ea7\u57df\u540d\uff0c\u8fd9\u662f\u514d\u8d39\u7684\uff0c\u5982\u4e0b\uff1a<\/span><\/p>\n<\/p>\n
\u7136\u540e\u5728\u8def\u7531\u7684\u7ba1\u7406\u540e\u53f0\u4e2d\u627e\u5230 \u9ad8\u7ea7\u8bbe\u7f6e - DDNS - \u6dfb\u52a0\u670d\u52a1\uff0c\u5982\u4e0b\uff0c\u8f93\u5165\u82b1\u751f\u58f3\u767b\u5f55\u7684\u7528\u6237\u540d\u5bc6\u7801\u4ee5\u53ca\u521a\u521a\u7533\u8bf7\u7684\u57df\u540d\u4f5c\u4e3a\u4e3b\u673a\u540d\u79f0\uff1a<\/p>\n
<\/p>\n
\u7136\u540e\u4ece\u5916\u7f51\u8bbf\u95eehttp:\/\/palance.gicp.net:8023\u5c31\u80fd\u8bbf\u95ee\u5230\u81ea\u5df1\u7684web\u670d\u52a1\u5566~<\/p>\n
\u6700\u540e\uff0c\u9700\u8981\u53bb\u963f\u91cc\u4e91\u4e0a\u6dfb\u52a0\u4e00\u6761\u57df\u540d\u89e3\u6790\u89c4\u5219\u3002\u53bb\u5230\u963f\u91cc\u4e91\u7684\u7ba1\u7406\u63a7\u5236\u53f0\uff0c\u9009\u62e9\u201c\u57df\u540d\u201d\u670d\u52a1\uff0c\u627e\u5230\u81ea\u5df1\u7684\u57df\u540d\uff08\u6211\u7684\u57df\u540d\u662fwww.binglen.com\uff09\uff0c\u70b9\u51fb\u201c\u89e3\u6790\u201d\uff0c\u6dfb\u52a0\u5982\u4e0b\u8bb0\u5f55\uff1a<\/p>\n
<\/p>\n
\u6ce8\u610f\uff0c\u4e3b\u8981\u586b\u5199\u8bb0\u5f55\u7c7b\u578b\u4e3aCNAME\uff0c\u4e3b\u673a\u8bb0\u5f55\u4e3awww\uff0c\u8bb0\u5f55\u503c\u4e3a\u5728\u82b1\u751f\u58f3\u7684\u4e8c\u7ea7\u57df\u540dpalance.gicp.net\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u901a\u8fc7www.binglen.com:8023\u8bbf\u95ee\u5c0f\u7c73\u8def\u7531\u7684web\u670d\u52a1\u3002<\/p>\n
\u8fd8\u53ef\u4ee5\u518d\u6dfb\u52a0\u4e00\u6761\uff1a\u8bb0\u5f55\u7c7b\u578b\u4e3aCNAME\uff0c\u4e3b\u673a\u8bb0\u5f55\u4e3a@\uff0c\u8bb0\u5f55\u503c\u4e3apalance.gicp.net\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u901a\u8fc7binglen.com:8023\u8bbf\u95ee\u4e86\u3002<\/p>\n
\u5927\u529f\u544a\u6210\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"
\u5bb6\u91cc\u7684\u5c0f\u7c73\u8def\u7531R1D\u7528\u4e86\u8fd1\u4e00\u5e74\uff0c\u53ea\u662f\u505a\u4e00\u4e2a\u666e\u901a\u7684\u8def\u7531\u5668\u4f7f\u7528\uff0c\u5b9e\u5728\u592a\u6d6a\u8d39\u4e86\u3002\u6700\u8fd1\u5b66\u4e60\u79fb\u52a8\u7aef\u7f16\u7a0b\uff0c\u611f\u89c9\u548cPC\u65f6\u4ee3\u6700\u5927\u7684\u4e0d\u540c\u5c31\u5728\u4e8e\u79fb\u52a8\u7aef\u4ea7\u54c1\u66f4\u91cd\u4e91\u548c\u7aef\u7684\u914d\u5408\u3002\u4e8e\u662f\u5c31\u82b1\u4e86\u4e00\u665a\u4e0a\u6363\u9f13\u6363\u9f13\uff0c\u5728\u2026<\/p>\n","protected":false},"author":1,"featured_media":1746,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,22],"tags":[363,364],"attr":[],"class_list":["post-1745","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-miwifi","category-luyouqi","tag-363","tag-364","entry"],"views":8217,"_links":{"self":[{"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/posts\/1745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/comments?post=1745"}],"version-history":[{"count":0,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/posts\/1745\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/media\/1746"}],"wp:attachment":[{"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/media?parent=1745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/categories?post=1745"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/tags?post=1745"},{"taxonomy":"attr","embeddable":true,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/attr?post=1745"}],"curies":[{"name":"wp","href":"http:\/\/api.w.org\/{rel}","templated":true}]}}