Development: How to setup Virtual Machine for Rails

I am working on windows xp

I install Virtual machine

How…

http://www.pendrivelinux.com/running-linux-from-within-windows-virtua

ISO…(i install Ubuntu)

Virtualbox…

http://www.virtualbox.org/wiki/Downloads

Than I install ruby, gem, rails

  • $ ruby -v

  • sudo apt-get install ruby (ruby -v)

  • $ gem -v

  • sudo apt-get install rubygems(any version number)

  • $ rails -v (first)

  • sudo apt-get install rails (put suggested version)

  • gem install rails --include-dependencies

  • gem install mysql

Install PHP5, Apache2, phpmyadmin,

http://alilknowhow.com/2010/05/11/the-easiest-way-to-install-a-lamp-s

Install netbeans

http://www.javadesign.info/SystemsHardware/OS/Ubuntu/install-netbeans

sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin
sudo apt-get install netbeans

Install Phusion Passenger

  • modrails.com

  • sudo apt-get install ruby-dev

  • sudo apt-get install passenger

  • Install Phusion Pasenger Apache 2 Module

sudo passenger-install-apache2-module ( command not found )

sudo /var/lib/gems/1.8/bin/passenger-install-apache2-module (Works)

Try Virtual Rails:
http://www.virtualrails.org/