Created
August 5, 2015 14:18
-
-
Save hdemon/77a15f7775d40d8fef13 to your computer and use it in GitHub Desktop.
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
# デフォルトエディタをvimに変更 | |
sudo update-alternatives --set editor $(update-alternatives --list editor | grep 'vim.basic') | |
# パッケージリポジトリを日本ミラーサーバーに変更 | |
sudo sed -i'~' -E "s@http://(..\.)?(archive|security)\.ubuntu\.com/ubuntu@http://ftp.jaist.ac.jp/pub/Linux/ubuntu@g" /etc/apt/sources.list | |
# よく使うパッケージをインストール | |
sudo apt-get -y update | |
sudo apt-get -y install software-properties-common | |
sudo add-apt-repository -y ppa:git-core/ppa | |
sudo apt-get -y update | |
sudo apt-get -y install language-pack-ja wget curl zip unzip git | |
# 言語系環境変数を日本語UTF-8に変更 | |
sudo update-locale LANGUAGE=ja_JP.UTF-8 LC_ALL=ja_JP.UTF-8 LANG=ja_JP.UTF-8 | |
# タイムゾーンをAsia/Tokyoに設定 | |
sudo ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment