Skip to content

Instantly share code, notes, and snippets.

@yatskevich
Last active December 25, 2015 17:39
Show Gist options
  • Save yatskevich/7014394 to your computer and use it in GitHub Desktop.
Save yatskevich/7014394 to your computer and use it in GitHub Desktop.
Configure EC2 instance - ubuntu-precise-12.04-amd64-server-20130411.1 (ami-d0f89fb9)
sudo apt-get update && time sudo apt-get dist-upgrade # http://askubuntu.com/questions/194651/why-use-apt-get-upgrade-instead-of-apt-get-dist-upgrade
# fix locale issues
# http://codetheory.in/fixing-locale-warnings-notices-issues-on-linux-server-or-desktop/
# http://askubuntu.com/questions/162391/how-do-i-fix-my-locale-issue
sudo vim /etc/environment
# and put the following variables into it
> LC_ALL=en_US.UTF-8
> LANG=en_US.UTF-8
sudo dpkg-reconfigure locales
sudo update-locale LC_ALL="en_US.UTF-8"
sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment