SWE 432 PHP Deployment Instructions
All students of SWE 432 should have
an account on Zeus and Thor.
Your username and password are the same as your Mason email account.
Please check your account and
contact me immediately if you cannot log in!
More information is on the Frequently Asked Questions pages:
Please do NOT ask the VSE systems staff for help learning PHP,
debugging your program,
or using ssh / sftp.
Try to figure it out yourself and ask the instructor or the TA if you need help.
To deploy a PHP program on the Hermes cluster,
you will need to do the following:
If you are off campus, you will need to set up a VPN link to the Hermes cluster.
Instructions and software to download can also be obtained from
(For security reasons, access is only allowed for Mason students and faculty.)
Once you have the VPN software installed on your computer,
you can establish the link with your Mason mail username and password.
Login to Zeus (zeus.vse.gmu.edu).
Your username and password are the same as your Mason email.
Note that this is a Unix computer, not windows.
Use sftp to upload files from your computer to your account on
and ssh to log in.
Once logged in,
put your PHP files in the directory
/data/hermes_web/USERNAME (where “USERNAME” is your username).
Use the Unix command
cp FILE /data/hermes_web/USERNAME (where “FILE” is the name of your file).
You can create a symbolic link (shortcut) to this directory from your home directory:
ln -s /data/hermes_web/USERNAME public_html
To deploy PHP files, you need a subdirectory under your home directory called
It may already be there.
If not you need to create it.
Type the Unix command
ls to see if
hermes_web/ is there.
If not, type:
to create it.
Then put your PHP file into
Use the Unix command
cp FILE hermes_web (where “FILE” is the name of your file).
Note that if you used sftp to put your PHP file direcly into the
directory, you do not need to copy the file.
The web address for the PHP and HTML files on the Hermes cluster is:
So if your PHP program is named
and your username is
the URL to your PHP program will be
An example in my directory is
For more PHP examples, please see the
on the class web server.