ぎゃぴろぐ

おもむくままにだだながし

2018-01-01から1年間の記事一覧

Windows10 + Vagrant で Amazon Linux を起動する

環境 OS:Windows10 Vagrant:2.1.1 VirtualBox:5.2.12 r122591 WindowsなのでconemuやらGit bashを想定 仮想環境構築 好きなディレクトリでinit, up $ vagrant init mvbcoding/awslinux $ vagrant up 最初に実行したとき、VBOX_E_FILE_ERRORのエラーが出た。 …

Macにpyenvとpyenv-virtualenvを入れる

MacのバージョンはHigh Sierra pyenv/pyenv-virtualenvのインストール # pyenv brew install pyenv # pyenv-virtualenv brew install pyenv-virtualenv インストール後、.bash_profilenに以下を追記 $ vi ~/.bash_profile # pyenv export PYENV_ROOT="${HOME…

RedShiftの実行中クエリの情報を把握する

SELECT pid, user_name, starttime, query FROM stv_recents WHERE status = 'Running'; 参照:https://docs.aws.amazon.com/ja_jp/redshift/latest/dg/determine_pid.html