Created
May 3, 2013 04:28
-
-
Save mitsugeek/5507204 to your computer and use it in GitHub Desktop.
ec2のマイクロインスタンスでplayを動かす準備
・時間の設定
・文字コードの設定
・swap領域の作成
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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