2019年7月1日月曜日

gcloudコマンドのインストール方法 for Mac

1)gcloudコマンドのインストールを行う。
curl https://sdk.cloud.google.com | bash
gcloud init
exec -l $SHELL
which gcloud

2)gclouコマンドの初期化を行う。
gcloud init

3)自宅のMacとGCPに接続する手続きを行う。
ssh-keygen -t rsa -C "メールアドレス"
ssh -i ~/.ssh/id_rsa メールアドレス@IPアドレス

4)kubectlコマンドのインストを行う。
gcloud components update kubectl

5)念のため、gcloudコマンドのアップデートを行う。
gcloud components update


[その他:メモ]
gcloud config list
=====================================
[compute]
region = asia-northeast1
zone = asia-northeast1-b
[core]
account = **************
disable_usage_reporting = False
project = hardy-position-*******
====================================

以下、アカウントリスト
gcloud auth list
==============================================
  Credentialed Accounts
ACTIVE  ACCOUNT
        d*****e@gmail.com
*       n******@gmail.com

To set the active account, run:
    $ gcloud config set account `ACCOUNT`
=============================================

0 件のコメント:

コメントを投稿

AIエージェント(Cline)

今更ながら感は、ありますがAIエージェントとローカルLLMで MCPの設定を行ってみたいと思います。 1)ローカルLLMを使う上で、Ollamaと qwen2.5-coder:14bをいれました。 3)MCPを動かす上で、以下の導入を行います。 ①nodeのインストール: bre...