Department Virtual Machine
This page documents the steps for setting up a department virtual machine.
General
Step 0. Email problem@cs.brown.edu to request a virtual machine from the department. Let them know 1) the name you'd like to set for the virtual machine and 2) the people who should have sudo access to it.
Step 1. Once you receive a confirmation email, you can ssh onto the machine. Let's say the machine is named vrlsandbox.
- If you are on a department machine, type "kinit" in the console, then "ssh vrlsandbox".
- Otherwise, first ssh into the department network through "ssh yourusername@ssh.cs.brown.edu" (you will need to enable ssh for your account first - see detailed instruction on the department website), then "kinit" and "ssh vrlsandbox".
Setup a web server
The department machine should have Apache, Mysql and PHP all installed. Once you put your html files into /var/www, you should be able to access them just by going to yourmachinename.cs.brown.edu.
If you are using git to host your project, it might be a good idea to install git on the server. To do so, type "apt-get update" in the console, then "apt-get install git-core".
There is a web interface for managing the virtual machine, accessible from yourmachinename.cs.brown.edu:10000. You can manage your MySql databases from there.