This is more of a cheat sheet. It assumes you know how to use SSH, Apache, Ruby and PHP.
- Get the latest version of Ubuntu Server.
- After Installation, login and type this into terminal:
sudo apt-get upgrade
Answer all questions with “y”.
- Setup SSH:
sudo apt-get install openssh-server
- Install Apache:
sudo apt-get install apache2
- Install PHP:
sudo apt-get install php5
- Install MySQL:
sudo apt-get install mysql-server mysql-client
Enter password when asked.
- Link PHP and Mysql with Apache:
sudo apt-get install libapache2-mod-auth-mysql
sudo apt-get install php5-mysql - Install Ruby:
sudo apt-get install build-essential zlib1g-dev ruby-full
- Install SQLite3:
sudo apt-get install sqlite3 libsqlite3-dev
- Install Ruby on Rails:
sudo apt-get install rubygems
gem install rails - Install FTP:
sudo apt-get install vsftpd
- You will have to change some settings to be able to download and upload files. Read this guide.