Cloud9 Use Note
Cloud9を使うときに一緒に持っていきたいメモ
ドキュメントホーム
https://docs.aws.amazon.com/cloud9/index.html
git
ディスク使用量チェック
https://docs.aws.amazon.com/ja_jp/AWSEC2/latest/UserGuide/ebs-describing-volumes.html
コマンド
df -hT /dev/xvda1
ディレクトリごとの使用量確認
du -ms <対象ディレクトリ> | sort -nr | less
ant
サンプルダウンロード
git pull https://github.com/SampleUser0001/ant_Sample.git
Docker
AWS
グローバルIP取得
curl http://169.254.169.254/latest/meta-data/public-ipv4
S3
例のページ
down
aws s3 cp s3://ittimfn-public/index.html .
up
aws s3 cp ./index.html s3://ittimfn-public/index.html
WSL2
使用可能なメモリを増やす
Windows側から設定する。
%UserProfile%\.wslconfig
を開く。- memoryの値を修正する。
- PowerShellで下記を実行する。
wsl --shutdown