Department Virtual Machine: Difference between revisions

From VrlWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
This page documents the steps for setting up a department virtual machine.
This page documents the steps for setting up a department virtual machine.


0. Email problem@cs.brown.edu to request a virtual machine from the department and let them know the name you'd like to set for the virtual machine as well as the people who should have sudo access to it.
 
== 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.
   
   
1. Once you receive a confirmation email, you can then ssh onto the machine. Let's say  
'''Step 1'''. Once you receive a confirmation email, you can then 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", 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 ''vrlsandbox''.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".


[[Category:IT Tools]]
[[Category:IT Tools]]

Revision as of 22:03, 26 February 2013

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 then ssh onto the machine. Let's say the machine is named vrlsandbox.

  1. If you are on a department machine, type "kinit" in the console, then "ssh vrlsandbox".
  2. Otherwise, first ssh into the department network through "ssh yourusername@ssh.cs.brown.edu", 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 vrlsandbox.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".