15
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【メモ】【まとめ】Ubuntu 14.04をインストールしたらやること

15
Last updated at Posted at 2014-07-22

アップデート

sudo aptitude update
sudo aptitude full-upgrade 

aptリポジトリの追加

Git/Oracle JDK/Dockerのリポジトリを追加

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

CassandraとMongoDBのリポジトリを追加(optional)

8C718D3B5072E1F5に関しては、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

rubyとかのインストール

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

GVMのインストール

curl -s get.gvmtool.net | bash
15
15
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
15
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?