sudo ls
sudo apt-get update
sudo apt-get -y install gcc
sudo apt-get -y install make
sudo apt-get -y install build-essential
sudo apt-get -y install zlib1g-dev libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt-dev
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
# Rails 3.1.1 (ruby 1.9.2p180) | |
# Cloud Foundry (Target: v0.999, Client: v0.3.12) | |
# MySQL database service (5.1) | |
# APP_NAME | |
# SERVICE_NAME | |
# Gemfile | |
gem 'sqlite3' | |
group :production do |
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
# Xcode 4 installed. | |
# sudo gem update --system | |
rvm gemset create rails3.1.1 | |
rvm use [email protected] --default | |
gem install rake -v=0.9.2 | |
gem install rails -v=3.1.1 |
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
CloudFoundryは新規アプリケーションのデプロイ時に何をしているのか(和訳) | |
http://blog.udcp.net/2011/12/18/cloudfoundryは新規アプリケーションのデプロイ時に何を/ | |
note vmc_client: ステップ1:CloudFoundryはvmcクライアントにより捉えられます | |
note vmc_client: リクエストはhttp://api.cloudfoundry/info へのGETリクエストが届くことで完了します | |
vmc_client->Load_Balancer: vmc target api.cloudfoundry.com | |
note vmc_client: ステップ2:リクエストはRouterに移動する箇所でロードバランサの1つを通過して届きます | |
Load_Balancer->Router: |
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
group :test do | |
gem 'guard-test' | |
gem 'guard-spork' | |
gem 'spork-testunit' | |
end | |
-> Guard uses Tmux to send notifications. |
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
brew update | |
brew install autoconf | |
brew install automake | |
brew install libyaml | |
brew install openssl | |
rvm get head | |
rvm install ruby-2.0.0 |
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
find . -name ".DS_Store" -exec echo delete {} ";" -exec rm -rf {} ";" |
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
sudo yum -y install httpd mysql-server php php-mysql php-mbstring | |
sudo /sbin/chkconfig mysqld on | |
sudo /sbin/chkconfig httpd on | |
sudo /etc/init.d/mysqld start | |
sudo /etc/init.d/httpd start | |
wget http://ja.wordpress.org/latest-ja.tar.gz ~/ | |
tar zxvf ~/latest-ja.tar.gz | |
sudo cp -r ~/wordpress/* /var/www/html/ | |
sudo chown apache:apache -R /var/www/html |
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
# | |
# See: Setup Ruby On Rails onUbuntu 13.10 http://gorails.com/setup/ubuntu/13.10 | |
# | |
# package | |
sudo apt-get update | |
sudo apt-get -y install git | |
sudo apt-get -y install curl g++ make | |
sudo apt-get -y install zlib1g-dev libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt-dev | |
sudo apt-get -y install sqlite3 libsqlite3-dev |
https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get upgrade
OlderNewer