sudo apt-get install apache2
sudo apt-get install mysql-server
Set a password for the root user, please remember it.
sudo apt-get install phpmyadmin
Here we user the mysql root account and password, in order to manage your DB Create a "link" to use inside apache
sudo ln -s /usr/share/phpmyadmin /var/www/
sudo apt-get install git-core
sudo apt-get install ruby1.9
sudo apt-get install rubygems1.8
If you type ruby -v
will see the ruby version ruby 1.8
, something went wrong? Maybe, please remove ruby 1.8
sudo apt-get purge ruby1.8
Now we have the correct ruby version ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
sudo gem install rails
sudo gem install passenger
Follow the installer, then install the apache module
sudo passenger-install-apache2-module
Follow the instructions and enjoy, that's all!