{"id":1242,"date":"2020-07-22T11:12:30","date_gmt":"2020-07-22T02:12:30","guid":{"rendered":"https:\/\/www.kwonline.org\/memo2\/?p=1242"},"modified":"2024-02-18T20:11:21","modified_gmt":"2024-02-18T11:11:21","slug":"snap-install-google-cloud-sdk-classic","status":"publish","type":"post","link":"https:\/\/www.kwonline.org\/memo2\/2020\/07\/22\/snap-install-google-cloud-sdk-classic\/","title":{"rendered":"snap\u3067Ubuntu\u306bgcloud SDK\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>&nbsp;<br \/>\nsnap\u3067\u4e00\u767a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u51fa\u6765\u308b\u306e\u3067\u30e1\u30e2\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ sudo snap install google-cloud-sdk --classic\r\n$ gcloud init\r\n<\/pre>\n<p>PC\u3092\u5909\u3048\u305f\u3089\u5fd8\u308c\u305a\u306b\u3002<\/p>\n<h3>\u304a\u307e\u3051<\/h3>\n<p>\u3084\u3063\u3071 apt \u3067\u7ba1\u7406\u3057\u305f\u3044\u5834\u5408\u306f\u3053\u3046\u3059\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\necho &quot;deb &#x5B;signed-by=\/usr\/share\/keyrings\/cloud.google.gpg] http:\/\/packages.cloud.google.com\/apt cloud-sdk main&quot; | sudo tee -a \/etc\/apt\/sources.list.d\/google-cloud-sdk.list\r\ncurl https:\/\/packages.cloud.google.com\/apt\/doc\/apt-key.gpg | sudo apt-key --keyring \/usr\/share\/keyrings\/cloud.google.gpg add -\r\nsudo apt-get update &amp;&amp; sudo apt-get install google-cloud-sdk\r\ngcloud init\r\n<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; snap\u3067\u4e00\u767a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u51fa\u6765\u308b\u306e\u3067\u30e1\u30e2\u3002 $ sudo snap install google-cloud-sdk &#8211;classic $ gcloud init PC\u3092\u5909\u3048\u305f\u3089\u5fd8\u308c\u305a\u306b\u3002 \u304a\u307e\u3051 \u3084\u3063\u3071 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,8],"tags":[],"class_list":["post-1242","post","type-post","status-publish","format-standard","hentry","category-google","category-linux"],"_links":{"self":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/posts\/1242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/comments?post=1242"}],"version-history":[{"count":3,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/posts\/1242\/revisions"}],"predecessor-version":[{"id":2099,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/posts\/1242\/revisions\/2099"}],"wp:attachment":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/media?parent=1242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/categories?post=1242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/tags?post=1242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}