{"id":1967,"date":"2018-09-24T19:24:35","date_gmt":"2018-09-24T11:24:35","guid":{"rendered":"https:\/\/zocodev.com\/?p=54"},"modified":"2018-09-24T19:24:35","modified_gmt":"2018-09-24T11:24:35","slug":"aliyun-ecs-errors-resolve","status":"publish","type":"post","link":"https:\/\/cloudbool.com\/archive\/aliyun-ecs-errors-resolve.html","title":{"rendered":"\u963f\u91cc\u4e91\u670d\u52a1\u5668\u4e24\u4e2a\u62a5\u9519\u95ee\u9898\u89e3\u51b3"},"content":{"rendered":"<p>\u4eca\u5929\u4e0a\u963f\u91cc\u4e91\u670d\u52a1\u5668\u8fdb\u884c\u64cd\u4f5c\u7684\u65f6\u5019\u9047\u5230\u4e24\u4e2a\u8ddf\u5b57\u7b26\u96c6\u6709\u5173\u7684\u95ee\u9898\uff0c\u5206\u522b\u662fCentOS7\u548cUbuntu 16.04\uff0c\u51e0\u4e4e\u662f\u6267\u884c\u6bcf\u4e2a\u547d\u4ee4\u5c31\u4f1a\u9047\u5230\uff0c\u4f5c\u4e3a\u5f3a\u8feb\u75c7\u5b9e\u5728\u662f\u53d7\u4e0d\u4e86\uff0c\u82b1\u4e86\u70b9\u65f6\u95f4\u89e3\u51b3\u4e86\u4e0b\uff0c\u8fd9\u91cc\u505a\u4e2a\u8bb0\u5f55\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u5148\u4e0d\u7ba1\u5177\u4f53\u9519\u8bef\uff0c\u5148\u628a\u89e3\u51b3\u529e\u6cd5\u8d34\u51fa\u6765\uff1a<\/p>\n<pre><code>echo \"export LC_ALL=en_US.UTF-8\"  &gt;&gt;  \/etc\/profile\necho \"export LC_CTYPE=en_US.UTF-8\"  &gt;&gt;  \/etc\/profile\nsource \/etc\/profile\n<\/code><\/pre>\n<p>\u6211\u8fd9\u8fb9\u7528\u8fd9\u4e09\u884c\u4ee3\u7801\u5c31\u89e3\u51b3\u4e86\uff0c\u540c\u6837\u9047\u5230\u8fd9\u95ee\u9898\u7684\uff0c\u53ef\u4ee5\u53c2\u8003\u4e00\u4e0b\u3002<\/p>\n<p>\u672c\u5730\u662fmacOS 10.14 Mojave\uff0c\u901a\u8fc7iTerm2\u7528SSH\u8fde\u63a5\u5230\u963f\u91cc\u4e91\u670d\u52a1\u5668\u4e0a\u9047\u5230\u7684\u3002<\/p>\n<p>\u5148\u662fUbuntu 16.04\u4e0a\u7684\u62a5\u9519\u4fe1\u606f\uff1a<\/p>\n<pre><code>-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)\n<\/code><\/pre>\n<p>\u7136\u540e\u662fCentOS7\u4e0a\u7684\uff1a<\/p>\n<pre><code>Failed to set locale, defaulting to C\n<\/code><\/pre>\n<p>\u6267\u884c\u4e0a\u9762\u4e09\u884c\u547d\u4ee4\u5c31\u597d\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u5929\u4e0a\u963f\u91cc\u4e91\u670d\u52a1\u5668\u8fdb\u884c\u64cd\u4f5c\u7684\u65f6\u5019\u9047\u5230\u4e24\u4e2a\u8ddf\u5b57\u7b26\u96c6\u6709\u5173\u7684\u95ee\u9898\uff0c\u5206\u522b\u662fCentOS7\u548cUbuntu 16.04\uff0c\u51e0 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/cloudbool.com\/archive\/aliyun-ecs-errors-resolve.html\"> <span class=\"screen-reader-text\">\u963f\u91cc\u4e91\u670d\u52a1\u5668\u4e24\u4e2a\u62a5\u9519\u95ee\u9898\u89e3\u51b3<\/span> \u67e5\u770b\u5168\u6587 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[9],"tags":[17,63,103,104,132],"class_list":["post-1967","post","type-post","status-publish","format-standard","hentry","category-mess","tag-centos","tag-linux","tag-ubuntu","tag-ubuntu-16-04","tag-132"],"_links":{"self":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts\/1967","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/comments?post=1967"}],"version-history":[{"count":0,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts\/1967\/revisions"}],"wp:attachment":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/media?parent=1967"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/categories?post=1967"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/tags?post=1967"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}