Skip to content

Instantly share code, notes, and snippets.

@poad
Last active September 13, 2015 06:11
Show Gist options
  • Save poad/802be91365a818fe9403 to your computer and use it in GitHub Desktop.
Save poad/802be91365a818fe9403 to your computer and use it in GitHub Desktop.
【メモ】【まとめ】Ubuntu 14.04をインストールしたらやること ref: http://qiita.com/poad1010/items/c483be84df16ed1459a9
sudo aptitude update
sudo aptitude full-upgrade
sudo add-apt-repository ppa:git-core/ppa
sudo add-apt-repository ppa:webupd8team/java
wget -qO- https://get.docker.com/ | sh
sudo aptitude update
sudo sh -c "echo deb http://www.apache.org/dist/cassandra/debian 20x main > /etc/apt/sources.list.d/cassandra.list"
sudo sh -c "echo deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen > /etc/apt/sources.list.d/mongodb.list"
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
gpg --keyserver pgp.mit.edu --recv-keys 8C718D3B5072E1F5
gpg --export --armor 8C718D3B5072E1F5 | sudo apt-key add -
sudo aptitude update
sudo apt-get -y install lxc-docker git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev clamav oracle-java8-set-default
git clone https://github.com/riywo/anyenv ~/.anyenv
echo 'export PATH="$HOME/.anyenv/bin:$PATH"' >> ~/.profile
echo 'eval "$(anyenv init -)"' >> ~/.profile
exec $SHELL -l
mkdir -p $(anyenv root)/plugins
git clone https://github.com/znz/anyenv-update.git $(anyenv root)/plugins/anyenv-update
git clone https://github.com/znz/anyenv-git.git $(anyenv root)/plugins/anyenv-git
anyenv install rbenv
anyenv install pyenv
exec $SHELL -l
rbenv install 2.2.2
rbenv global 2.2.2
git clone git://github.com/jf/rbenv-gemset.git $(anyenv root)/envs/rbenv/plugins/rbenv-gemset
git clone https://github.com/sstephenson/rbenv-gem-rehash.git $(anyenv root)/envs/rbenv/plugins/rbenv-gem-rehash
gem update --system
gem install bundler
curl -s get.gvmtool.net | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment