Created
June 10, 2009 12:58
Revisions
-
denis revised this gist
Jun 10, 2009 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -45,6 +45,7 @@ Add GitHub to RubyGems sources: - Where is group `admin`? - perl -pi -e 's/PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config - sudo passenger-install-nginx-module (sudo: passenger-install-nginx-module: command not found) ## Links - http://github.com/jnstq/rails-nginx-passenger-ubuntu/tree/master -
denis revised this gist
Jun 10, 2009 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -23,8 +23,8 @@ Install Phusion Passenger gem: Install Ruby Enterprise Edition: wget -P /tmp http://www.rubyenterpriseedition.com/ruby-enterprise_1.8.6-20090610_amd64.deb dpkg -i /tmp/ruby-enterprise_1.8.6-20090610_amd64.deb Set Ruby Enterprise Edition as the default Ruby interpreter: -
denis created this gist
Jun 10, 2009 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,51 @@ Ubuntu 8.10 Server Setup ======================== Update system: aptitude update aptitude -y safe-upgrade aptitude install -y build-essential Install Ruby: aptitude -y install ruby irb rdoc rubygems ruby-dev libopenssl-ruby Update RubyGems: gem install rubygems-update /var/lib/gems/1.8/bin/update_rubygems Install Phusion Passenger gem: gem install passenger --no-ri --no-rdoc Install Ruby Enterprise Edition: wget -P /tmp http://rubyforge.org/frs/download.php/55512/ruby-enterprise_1.8.6-20090421_amd64.deb dpkg -i /tmp/ruby-enterprise_1.8.6-20090421_amd64.deb Set Ruby Enterprise Edition as the default Ruby interpreter: echo 'PATH="/opt/ruby-enterprise/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"' > /etc/environment Install Phusion Passenger Nginx module: aptitude -y install zlib1g-dev passenger-install-nginx-module Configure Nginx: TODO Add GitHub to RubyGems sources: gem sources -a http://gems.github.com ## TODO - Where is group `admin`? - perl -pi -e 's/PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config ## Links - http://github.com/jnstq/rails-nginx-passenger-ubuntu/tree/master - http://articles.slicehost.com/2009/3/4/ubuntu-intrepid-adding-an-nginx-init-script