Server Setup: Linux

Server Application Essentials

Its pretty easy to set up the various bits needed in a Linux distribution. Ubuntu, love it or hate it, makes it the absolute easiest:

If you have Ubuntu 10.10 you will need to install tasksel as well as it seems to have been removed!
sudo apt-get install subversion tasksel build-essential openssh-server openjdk-6-jdk ant

sudo tasksel install lamp-server

Deployment Websites

Betaville Server also comes with its own Ruby on Rails web application that allows users to interact with the community when running a full 3D application is inconvenient.

Setting up Rails

sudo apt-get install ruby-full libmysqlclient-dev libmysql-ruby
tar -xvf rubygems-1.3.7.tgz
cd rubygems-1.3.7/
sudo ruby setup.rb
sudo ln -s /usr/bin/gem1.8 /usr/bin/gem
sudo gem install rdoc
sudo gem install rails

Rails within Apache

sudo apt-get install apache2-prefork-dev libcurl4-openssl-dev
sudo gem install passenger
sudo passenger-install-apache2-module