{"id":30013,"date":"2020-02-12T21:14:46","date_gmt":"2020-02-12T13:14:46","guid":{"rendered":"http:\/\/4563.org\/?p=30013"},"modified":"2020-02-12T21:14:46","modified_gmt":"2020-02-12T13:14:46","slug":"ovh%e7%9a%84%e9%b8%a1%e6%80%8e%e4%b9%88%e6%94%b9%e4%b8%bb%e6%9c%ba%e5%90%8d%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=30013","title":{"rendered":"OVH\u7684\u9e21\u600e\u4e48\u6539\u4e3b\u673a\u540d\uff1f"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>Tcp80<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-9 16:50:11\t<\/p>\n<h3>OVH\u7684\u9e21\u600e\u4e48\u6539\u4e3b\u673a\u540d\uff1f<\/h3>\n<p>  \t\t\u8499\u5708\u4e86\uff0c\u88c5\u8f6f\u4ef6\u8981 \/etc\/hosts \u91cc\u6539\u4e3b\u673a\u540d\uff0c\u8fdb\u53bb\u8499\u4e86\uff0c\u6709\u4e24IPV4\u7684name\u5176\u4e2d\u6700\u540e\u4e00\u884c\u662fOVH\u7ed9\u7684\u540d\u79f0\uff0c\u53ea\u8981\u4e2d\u95f4\u90a3\u4e00\u884c\u662fexample\uff0c\u4e0d\u77e5\u5230\u5e95\u8be5\u90a3\u4e00\u884c\uff1f<\/p>\n<p>  ::1&nbsp; &nbsp;localhost&nbsp; &nbsp;&nbsp; &nbsp; localhost.localdomain&nbsp; &nbsp;localhost6&nbsp; &nbsp;&nbsp; &nbsp;localhost6.localdomain6<br \/>  127.0.0.1&nbsp; &nbsp;&nbsp; &nbsp; localhost&nbsp; &nbsp;&nbsp; &nbsp; localhost.localdomain&nbsp; &nbsp;localhost4&nbsp; &nbsp;&nbsp; &nbsp;localhost4.localdomain4<br \/>  127.0.0.1&nbsp; &nbsp;&nbsp; &nbsp; vps-xxx123xx.vps.ovh.us vps-xxx123xx  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>Tcp80<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-9 16:58:46\t<\/p>\n<h3><\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 Tcp80 \u4e8e 2020-1-9 17:05 \u7f16\u8f91 <\/p>\n<p> \u77e5\u9053\u4e86<\/p>\n<p>  \u770b\u4e86\u4e00\u53f0\u7a0b\u5e8f\u5b89\u88c5\u65f6\u81ea\u52a8\u5316\u673a\u5668\u7ed9\u5199\u7684 \/etc\/hosts \u662f\u628ahostname\u5199\u7b2c\u4e09\u884c\uff0c\u524d\u4e24\u884c\u4e0d\u52a8\u7684\uff0c\u6211\u5c31\u7167\u8fd9\u6837\u5b50\u6539\u597d\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u51e4\u68a8<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-9 16:53:34\t<\/p>\n<h3><\/h3>\n<p>  \t\troot\u767b\u9646\u540e\u76f4\u63a5hostname\u5c31\u884c\u4e86\u5427\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>Tcp80<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-9 16:54:52\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u51e4\u68a8 \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-9 16:53<br \/>  root\u767b\u9646\u540e\u76f4\u63a5hostname\u5c31\u884c\u4e86\u5427<\/p>\n<p> \u8fd9\u4e2a\u4e34\u65f6\u7684\uff0cetc\/hosts\u662f\u6c38\u4e45\u7684\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>sikeerwei<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-9 16:55:38\t<\/p>\n<h3><\/h3>\n<p>  \t\thostnamectl set-hostname \u4f60\u7684\u540d\u5b57<br \/>  logout\u6216\u8005\u91cd\u542f\u751f\u6548\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>hanada<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-9 16:56:15\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4e3b\u673a\u540d\u8981\u6539\u7684\u662f\/etc\/hostname\uff0c\u5f53\u7136\/etc\/hosts\u8fd9\u91cc\u53ea\u662f\u5c06\u4e3b\u673a\u540d\u7ed1\u5b9a\u4e3a\u57df\u540d\u800c\u5df2\uff0c\u4e5f\u6539\u4e00\u4e0b\u5c31\u597d\uff08\u4f60\u4e5f\u53ef\u4ee5\u4e0d\u6539\u76f4\u63a5\u5728\u6700\u540e\u4e00\u884c\u540e\u9762\u52a0\u4e0a\u4f60\u7684\u65b0\u4e3b\u673a\u540d\uff0c\u4e5f\u4e00\u6837\u7684\uff09\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>chinni<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-9 16:56:38\t<\/p>\n<h3><\/h3>\n<p>  \t\tvim \/etc\/hostname<br \/>  \u7136\u540e hostname -F \/etc\/hostname<br \/>  \u7136\u540e\u91cd\u65b0\u767b\u9646\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>wolfewong<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-9 17:02:30\t<\/p>\n<h3><\/h3>\n<p>  \t\tcentos7\u7684\u8bdd\u7528<br \/>  hostnamectl set-hostname exampleName<br \/>  \u5c31\u884c\u4e86\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tcp80 \u5927\u4f6c\u6709\u8bdd\u8bf4 : 202&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/30013"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=30013"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/30013\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=30013"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=30013"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=30013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}