{"id":744,"date":"2010-02-20T14:11:46","date_gmt":"2010-02-20T22:11:46","guid":{"rendered":"http:\/\/www.codebelay.com\/blog\/?p=744"},"modified":"2010-02-20T17:41:26","modified_gmt":"2010-02-21T01:41:26","slug":"install-script-for-rails-on-debian","status":"publish","type":"post","link":"https:\/\/www.codebelay.com\/blog\/2010\/02\/20\/install-script-for-rails-on-debian\/","title":{"rendered":"Install Script For Rails on Debian"},"content":{"rendered":"<p>The following works great on Rackspace&#8217;s Debian Virtual Servers and within 5 minutes you got a running rails instance.<\/p>\n<div style=\"color: #fff; background:#000; padding: 5px\">\n#!\/bin\/bash<\/p>\n<p>apt-get update -y<br \/>\napt-get upgrade -y<br \/>\napt-get install dlocate -y<br \/>\napt-get install build-essential libssl-dev libreadline5-dev zlib1g-dev -y<br \/>\napt-get install sqlite3 -y<br \/>\ncd \/usr\/local\/src<br \/>\nwget ftp:\/\/ftp.ruby-lang.org\/pub\/ruby\/stable-snapshot.tar.gz<br \/>\ntar zxvf stable-snapshot.tar.gz<br \/>\ncd ruby<br \/>\n.\/configure &#038;&#038; make &#038;&#038; make install<br \/>\nruby -v<br \/>\nruby -ropenssl -rzlib -rreadline -e &#8220;puts :Hello&#8221;<br \/>\ncd \/usr\/local\/src<br \/>\nwget http:\/\/rubyforge.org\/frs\/download.php\/60718\/rubygems-1.3.5.tgz<br \/>\ntar zxvf rubygems-1.3.5.tgz<br \/>\ncd rubygems-1.3.5<br \/>\nruby setup.rb<br \/>\ngem install rails<br \/>\napt-get install mysql-server mysql-client -y<br \/>\napt-get install libmysql-ruby libmysqlclient15-dev  -y<br \/>\ngem install mysql &#8212; &#8211;with-mysql-include=\/usr\/include &#8211;with-mysql-lib=\/usr\/lib<br \/>\ngem install mongrel &#8211;include-dependencies<br \/>\napt-get install git -y\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The following works great on Rackspace&#8217;s Debian Virtual Servers and within 5 minutes you got a running rails instance. #!\/bin\/bash apt-get update -y apt-get upgrade -y apt-get install dlocate -y apt-get install build-essential libssl-dev libreadline5-dev zlib1g-dev -y apt-get install sqlite3 -y cd \/usr\/local\/src wget ftp:\/\/ftp.ruby-lang.org\/pub\/ruby\/stable-snapshot.tar.gz tar zxvf stable-snapshot.tar.gz cd ruby .\/configure &#038;&#038; make &#038;&#038; make [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[170],"tags":[],"class_list":["post-744","post","type-post","status-publish","format-standard","hentry","category-command-line"],"_links":{"self":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/posts\/744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/comments?post=744"}],"version-history":[{"count":0,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/posts\/744\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/media?parent=744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/categories?post=744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/tags?post=744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}