Your UNIX account will be used to store web pages for this
class. There are multiple WWW servers running on various machines in our
department. All of them access the same file system which includes a special
folder in your Unix account's home directory. For the examples below, the Unix
ID unix000 will be used. Be sure to substitute your own Unix ID.
The WWW servers are configured to complete partial paths that specify a Unix ID as follows:
if you Unix ID is unix000
Then your home directory is at
/home/vonneumann/student/unix000/
And your root html directory is
/home/vonneumann/student/unix000/public_html
The WWW server translates this URL:
http://www.cs.uakron.edu/~unix000/
to the above disk location
To make files accessible to the WWW servers, you may create the files in the UNIX environment or on any other computer and FTP to the appropriate location. Be sure to ftp html files using ASCII mode.
Permissions also need to be set appropriately - Your root folder and the public_html folder should be given permissions 711 and your files permission 644 (the latter should be automatic but you will need to set the first two. Here are the commands after logging in:
To change permission on your home folder (the period is
needed):
chmod -v o+x ~ or simply chmod 711 ~
To create the public_html folder: mkdir public_html
To change permission on the new folder:
chmod -v o+x public_html or simply chmod 711 public_html
You cannot telnet to our unix network anymore - you must use a secure telnet client (SSH). Putty is the recommended client. You can download this program (free) from http://www.chiark.greenend.org.uk/~sgtatham/putty/
You also need to use a secure FTP client. WinSCP is recommended: http://winscp.sourceforge.net/eng/download.php
Check our CS-UNIX page for additional information: http://www.cs.uakron.edu/unix/