Gateway
The computer cmpt470.csil.sfu.ca
serves as a gateway between the Internet and the private intranet where your group server lives. Each student in the course will have an account on this machine.
Your userid and passwords are the same as everything else on campus.
More information about the services available on the gateway has been posted.
Group Servers
Each group will be provided a virtual machine that they must use for their project. The group is responsible for installing Linux and all necessary software on the machine.
Instructions for working with the server (and other course technology):
- Working with the virtual machine console
- Installing and configuring the OS
- SSH connections to your server
- Subversion repository
- Development environments for various frameworks
- Deploying web applications, instructions for getting framework-based apps (Rails, Django, etc) working on your group server
- MySQL database setup
Notes
A few notes on using the machines in the lab:
- If you have problems getting CGI scripts working, see the notes about how to fix CGI problems.
-
If you want to run PHP scripts on the course web server, you must do so with the PHP CGI mechanism. Add this to the top of your
.php
file:#!/usr/bin/php-cgi
-
Once you configure a web server (port 80) on your machine, you can access its server root at one of these URLs:
http://cmpt470.csil.sfu.ca:8000+n/
http://cmpt470.csil.sfu.ca/mxn/
The secord URL will work better for any tool that automatically generates redirects, since your server root is actually the root directory for requests. If you want to set up a second server for testing, you can access a server on port 8080 at these URLs:
http://cmpt470.csil.sfu.ca:9000+n/
http://cmpt470.csil.sfu.ca/mxn-8080/
If you would like another port forwarded from
cmpt470
in to your server, contact Greg. -
The Ubuntu mirror that is suggested in the installation instructions can be used outside of the 470 network as well. The URLs for the Apt sources and releases are, respectively: