{"id":174,"date":"2017-12-18T23:44:57","date_gmt":"2017-12-18T15:44:57","guid":{"rendered":"https:\/\/wp.yaanren.win\/?p=174"},"modified":"2017-12-18T23:44:57","modified_gmt":"2017-12-18T15:44:57","slug":"%e5%9c%a8%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e4%bd%bf%e7%94%a8no-ip%e5%8a%a8%e6%80%81%e5%9f%9f%e5%90%8d%e7%9a%84%e6%96%b9%e6%b3%95%ef%bc%8c%e4%b9%9f%e9%80%82%e7%94%a8%e5%85%b6%e5%ae%83linux%e5%b9%b3","status":"publish","type":"post","link":"https:\/\/wp.625300.xyz\/?p=174","title":{"rendered":"\u5728\u6811\u8393\u6d3e\u4e0a\u4f7f\u7528no-ip\u52a8\u6001\u57df\u540d\u7684\u65b9\u6cd5\uff0c\u4e5f\u9002\u7528\u5176\u5b83Linux\u5e73\u53f0"},"content":{"rendered":"<h2><\/h2>\n<div class=\"postbody\">\n<div id=\"cnblogs_post_body\" class=\"blogpost-body\">\n<p><strong>\u6ce8\u610f\uff0c\u5982\u679c\u6ca1\u6709\u516c\u7f51IP\uff0c\u672c\u6587\u7684\u65b9\u6cd5\u5c31\u4e0d\u53ef\u884c\u4e86\u3002<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>\u9996\u5148\uff0c<strong>\u6ce8\u518c\u4e00\u4e2anoip.com\u7684\u5e10\u53f7<\/strong>\u3002<\/p>\n<p>\u6ce8\u518c\u7684\u6b65\u9aa4\u89c1\u8fd9\u7bc7\u6559\u7a0b\uff1a<a href=\"http:\/\/www.cnblogs.com\/infopi\/p\/3991407.html\" target=\"_blank\" rel=\"noopener\">http:\/\/www.cnblogs.com\/infopi\/p\/3991407.html<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u5efa\u7acb\u76ee\u5f55<\/strong><\/p>\n<p>\u7b2c1\u884c\u8fdb\u5165\u5f53\u524d\u7528\u6237\u7684home\u76ee\u5f55<\/p>\n<p>\u7b2c2\u884c\u5efa\u7acbnoip\u5b50\u76ee\u5f55\uff0c\u7b2c3\u884c\u8fdb\u5165noip\u5b50\u76ee\u5f55<\/p>\n<div class=\"cnblogs_code\">\n<pre>cd ~\nmkdir noip\ncd noip<\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<p><strong>\u4e0b\u8f7dnoip\u5ba2\u6237\u7aef\u6e90\u7801\u3001\u5b89\u88c5<\/strong><\/p>\n<p>\u7b2c1\u884c\u4e0b\u8f7d\u6e90\u7801\uff0c\u7b2c2\u884c\u89e3\u538b\u6e90\u7801\uff0c\u7b2c3\u884c\u8fdb\u5165\u89e3\u538b\u540e\u7684\u6e90\u7801\u76ee\u5f55<\/p>\n<p>\u7b2c4\u884c\u7f16\u8bd1\uff0c\u7b2c5\u884c\u5b89\u88c5<\/p>\n<div class=\"cnblogs_code\">\n<pre>wget http:\/\/www.no-ip.com\/client\/linux\/noip-duc-linux.tar.gz\ntar vzxf noip-duc-linux.tar.gz\ncd noip-2.1.9-1\nmake\nsudo make install<\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<p><strong>\u5728\u5b89\u88c5\u7684\u8fc7\u7a0b\u4e2d\uff0c\u4f1a\u95ee\u4ee5\u4e0b\u95ee\u9898<\/strong><\/p>\n<blockquote><p>Please enter the login\/email string for no-ip.com<br \/>\n(\u8f93\u5165\u6ce8\u518c\u65f6\u586b\u7684\u90ae\u7bb1\u5730\u5740)<\/p>\n<p>Please enter the password for user<br \/>\n(\u8f93\u5165\u5bc6\u7801)<\/p>\n<p>Please enter an update interval: [30]<br \/>\n(noip\u5ba2\u6237\u7aef\u68c0\u67e5\u4f60\u8def\u7531\u5668\u5916\u90e8\u7f51\u5740\u53d8\u5316\u7684\u95f4\u9694\uff0c\u9ed8\u8ba4\u662f30\u5206\u949f)<br \/>\n(Increments in minutes that you want no-ip client to check if your router\u2019s external dynamic IP address has changed and updates it accordingly.)<\/p>\n<p>Do you wish to run something at successful update? [N] (y\/N)<br \/>\n(\u76f4\u63a5\u6309\u56de\u8f66\u5373\u53ef)<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p><strong>\u542f\u52a8noip\u5ba2\u6237\u7aef<\/strong>\uff0c\u6253\u8fd9\u4e2a\u547d\u4ee4\uff1a<\/p>\n<div class=\"cnblogs_code\">\n<pre>sudo \/usr\/local\/bin\/noip2<\/pre>\n<\/div>\n<p>\u8981\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8\uff0c\u628a\u4e0a\u9762\u8fd9\u884c\u52a0\u5165\/etc\/rc.local\uff0c\u8981\u52a0\u5728exit 0\u90a3\u884c\u4ee5\u524d<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u9644\u4e24\u4e2a\u547d\u4ee4\uff1a<\/strong><\/p>\n<p>sudo \/usr\/local\/bin\/noip2 -C\u00a0\u00a0\u00a0\u00a0 \u91cd\u65b0\u914d\u7f6e\u4e00\u6b21\uff08\u5c31\u662f\u95ee\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u90a3\u51e0\u4e2a\u95ee\u9898\uff09<br \/>\nsudo \/usr\/local\/bin\/noip2 -S\u00a0\u00a0\u00a0\u00a0\u00a0 \u663e\u793a\u5f53\u524d\u8fd0\u884c\u72b6\u6001\u3001\u4fe1\u606f<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u7ecf\u9a8c\uff1a<\/strong><\/p>\n<p>no-ip\u7f51\u9875\u4e0a\u5199\u7740\u201c\u514d\u8d39\u57df\u540d\u53ea\u80fd\u752830\u5929\u3001\u4e14\u6709\u5e7f\u544a\u201d\uff0c\u6839\u636e\u6211\u7684\u7ecf\u9a8c\u662f\u8fd9\u6837\u7684\uff1a<\/p>\n<p>1\u3001\u8981\u4fdd\u6301\u90ae\u7bb1\u7545\u901a\uff0c\u4ee5\u4fbf\u70b9\u51fb\u90ae\u4ef6\u91cc\u7684\u94fe\u63a5\u6fc0\u6d3b\u57df\u540d\u3002<\/p>\n<p>2\u3001\u5982\u679c\u4e0d\u4f7f\u752880\u7aef\u53e3\uff0c\u4e0d\u4f1a\u9047\u5230\u5e7f\u544a\u3002<\/p>\n<p>3\u3001\u67d0\u4e9b\u56fd\u5185ISP\u4f1a\u6bcf\u51e0\u5929\u5f3a\u5236\u65ad\u7ebf\u3001\u66f4\u6362IP\uff0c\u8fd9\u65f6noip\u4f1a\u77ed\u6682\u5931\u6548\uff0c\u5931\u6548\u65f6\u95f4\u53d6\u51b3\u4e8e\u8bbe\u7f6e\u7684\u5237\u65b0\u95f4\u9694\uff08\u9ed8\u8ba430\u5206\u949f\uff09\u3002<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6ce8\u610f\uff0c\u5982\u679c\u6ca1\u6709\u516c\u7f51IP\uff0c\u672c\u6587\u7684\u65b9\u6cd5\u5c31\u4e0d\u53ef\u884c\u4e86\u3002 &nbsp; \u9996\u5148\uff0c\u6ce8\u518c\u4e00\u4e2anoip.com\u7684\u5e10\u53f7\u3002 \u6ce8\u518c\u7684\u6b65&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,33,37],"tags":[],"class_list":["post-174","post","type-post","status-publish","format-standard","hentry","category-32","category-33","category-37"],"_links":{"self":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/posts\/174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=174"}],"version-history":[{"count":0,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=\/wp\/v2\/posts\/174\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.625300.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}