Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ec2のマイクロインスタンスでplayを動かす準備 ・時間の設定 ・文字コードの設定 ・swap領域の作成
#cloud-config
repo_upgrade: all
packages:
- java-devel
- git
runcmd:
- [ cp, /usr/share/zoneinfo/Asia/Tokyo, /etc/localtime]
- [ sed, -i, 's/LANG="en_US.UTF-8"/LANG="ja_JP.UTF-8"/', /etc/sysconfig/i18n]
- [ dd, if=/dev/zero, of=/var/swapfile, bs=1M, count=1024]
- [ mkswap, /var/swapfile]
- [ swapon, /var/swapfile]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.