Skip to content

Instantly share code, notes, and snippets.

@ytkhs
Last active August 29, 2015 14:02
Show Gist options
  • Select an option

  • Save ytkhs/9ce27bbb19608ebaecc0 to your computer and use it in GitHub Desktop.

Select an option

Save ytkhs/9ce27bbb19608ebaecc0 to your computer and use it in GitHub Desktop.
ubuntu14.04にいろいろ入れたメモ
apt-get update
apt-get dist-upgrade
apt-get install -y apache2 nginx
# ruby
sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
cd /tmp
wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz
tar -xvzf ruby-2.1.2.tar.gz ruby-2.1.2/
cd ruby-2.1.2
./configure --prefix=/usr/local
make
make install
# for ralis and passenger
apt-get install libcurl4-openssl-dev apache2-threaded-dev libapr1-dev libaprutil1-dev libsqlite3-dev
gem install rails bundler passenger
# php
apt-get install php5 libapache2-mod-php5
# mysql
apt-get install mysql-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment