{"id":568,"date":"2021-10-09T05:27:00","date_gmt":"2021-10-09T05:27:00","guid":{"rendered":"https:\/\/262235.xyz\/?p=568"},"modified":"2021-10-09T05:27:00","modified_gmt":"2021-10-09T05:27:00","slug":"568","status":"publish","type":"post","link":"https:\/\/lyvba.com\/index.php\/2021\/10\/09\/568\/","title":{"rendered":"\u4e00\u952e\u5b89\u88c5\u811a\u672c\u81ea\u52a8\u5224\u65ad\u4e2d\u56fd\u8fd8\u662f\u5916\u56fd\uff0c\u8c03\u7528\u4f7f\u7528\u4e2d\u56fd\u955c\u50cf"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/10\/3533069282.png\" alt=\"cn.png\" title=\"cn.png\"><\/p>\n<h3>\u81ea\u52a8\u5224\u65ad\u5730\u533a \u5b89\u88c5Dokcer<\/h3>\n<pre><code>china=$(curl -sL lyvba.com\/ip\/$(curl -sL lyvba.com\/ip) | grep \u4e2d\u56fd)\nif [[ ! -z \"${china}\" ]]; then\n    echo $china\n    # \u4e2d\u56fd\u4f7f\u7528\u963f\u91cc\u4e91\u955c\u50cf\n    wget get.docker.com -O get.docker.sh\n    bash  get.docker.sh  --mirror Aliyun\nelse\n    # Docker \u4e00\u952e\u5b89\u88c5\u547d\u4ee4\n    curl -fsSLo- get.docker.com | \/bin\/sh\nfi<\/code><\/pre>\n<h3>WEBAPI\u8bf4\u660e:<\/h3>\n<ul>\n<li>curl -sL lyvba.com\/ip   # \u83b7\u5f97IP<\/li>\n<li>curl -sL lyvba.com\/ip\/60.182.1.1   #\u7b2c\u4e8c\u6b21\u628aIP\u67e5\u8be2\uff0c\u5224\u65ad\u57ce\u5e02\uff0c\u641c\u7d22\u662f\u5426\u6709\u548c\u4e2d\u56fd<\/li>\n<li>\u5982\u679c\u67e5\u5230\u4e2d\u56fd \u8c03\u7528 --mirror Aliyun \u955c\u50cf<\/li>\n<\/ul>\n<h3>\u4e00\u952eDD\u811a\u672c\u7f51\u7edc\u5b89\u88c5Debian\uff0c\u53ef\u4ee5\u7c7b\u4f3c\u8fd9\u6837\u53c2\u6570<\/h3>\n<pre><code>bash auto.sh -d 11 -v 64 -a -p  \u5bc6\u7801  \\r\n  --mirror 'https:\/\/mirrors.ustc.edu.cn\/debian\/'<\/code><\/pre>\n<ul>\n<li>\n<p><a href=\"https:\/\/lyvba.com\/debian_inst.sh\">debian_inst.sh<\/a>  \u4e0b\u8f7d\u6216\u7c98\u8d34\u590d\u5236\u4f7f\u7528<\/p>\n<pre><code>passwd=$(date | md5sum  | head -c 6)\necho -e \"\u968f\u673a\u751f\u6210\u5bc6\u7801: \u000033[41;37m ${passwd} \u000033[0m \u73b0\u5728\u53ef\u4fee\u6539; \"\nread -p \"\u8bf7\u8f93\u5165\u4f60\u8981\u7684\u5bc6\u7801(\u6309\u56de\u8f66\u4e0d\u4fee\u6539): \" -t 30 new\nif [[ ! -z \"${new}\" ]]; then\n  passwd=\"${new}\"\nfi\n\nchina=$(curl -sL lyvba.com\/ip\/$(curl -sL lyvba.com\/ip) | grep \u4e2d\u56fd)\nif [[ ! -z \"${china}\" ]]; then\nwget https:\/\/lyvba.com\/auto.sh\nbash auto.sh -d 11 -v 64 -a -p  $passwd  \\r\n  --mirror 'https:\/\/mirrors.ustc.edu.cn\/debian\/'\nelse\nwget git.io\/auto.sh\nbash auto.sh -d 11 -v 64 -a -p  $passwd\nfi<\/code><\/pre>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u81ea\u52a8\u5224\u65ad\u5730\u533a \u5b89\u88c5Dokcer china=$(curl -sL lyvba.com\/ip\/$(cu [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,6],"tags":[],"class_list":["post-568","post","type-post","status-publish","format-standard","hentry","category-linux","category-vps"],"_links":{"self":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/568","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/comments?post=568"}],"version-history":[{"count":0,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/568\/revisions"}],"wp:attachment":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/media?parent=568"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/categories?post=568"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/tags?post=568"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}