How to create a CDMS(SCEM) homepage
Web pages hosted by the University must not:
Any web pages that are found to be in breach of the above rules will be deleted, and disciplinary action may be instigated against the creator(s) of contravening pages. |
To create your webpages, you will need to either learn HTML (HyperText Markup Language) or use a HTML editor. http://www.w3schools.com is a good place to learn HTML, and a google search for “html editor” will give you a massive range of HTML editors to choose from!
Once you have created your web pages, you will need to create a directory called “Homepage” in your SCEM computer account. Use the application PuTTY (Windows) or Terminal (Mac and Linux) to connect to the student Unix server “Student” (Staff and research students should use the staff Unix server “Staff” instead of “Student”) , and issue the following command once you have logged in:
mkdir Homepage
Stayed logged in and issue the following two commands to change the permissions of both your homepage directory and your computer account’s root directory:
chmod 711 Homepage
chmod 711 ~
You can place files in your Homepage directory by copying them to the Homepage folder in your “My Documents” folder on the School’s Windows, Mac and Linux lab installations, or if you are logged into the student Unix server via PuTTY or Termial, by using the sftp
command.
Once you start placing files in your Homepage directory, you will need to change their permissions so our web server can read them. You can do this by issuing the following command:
chmod 644 ~/Homepage/[filename]
where [filename] is the name(s) of the files you wish to make readable (you can use wildcards here – e.g. chmod 644 ~/Homepage/*.html
).
If you create subdirectories in your Homepage directory that you want the webserver to be able to read, you will need to issue the command
chmod 711 [directory]
(e.g. chmod 711 ~/Homepage/icons
)
Your homepage’s web address will be http://student.cdms.uws.edu.au/~[your SCEM username]
– e.g. http://student.cdms.uws.edu.au/~jbloggs
Make sure you call your Homepage’s first page index.html
, as our web server will look for this file if someone enters just your webpage address rather than a specific page in your Homepage.
Once you have create your Homepage directory and (at least!) your index.html
file, check to make sure you have set the correct permissions by entering your webpage address into the the location box of your favourite web browser.
If you need to run scripts from your Homepage, use:
http://student.cdms.uws.edu.au/cgi-bin/cgiwrap/[username]/[script]
where [username]
is your SCEM username and [script]
is the name of your script e.g.
http://student.cdms.uws.edu.au/cgi-bin/cgiwrap/jbloggs/testscript
Scripts can be any Unix executable (perl, shell, C etc), and must be owned and executable by your account. Obviously, for the script to work, it must be able to run on the server “student” (“staff” for staff members and research students).
IMPORTANT NOTE: Your CDMS webpages are only accessible from computers on the University network! Your SCEM webpage cannot be accessed from the wider internet – if you wish to view your webpages from home, you will first need to establish a VPN connection to the School (see directions at https://www.cdms.westernsydney.edu.au/technical-documents/).