Difference between revisions of "WWW"
m |
m |
||
Line 7: | Line 7: | ||
In order to publish student websites, a student must login to mi-linux.wlv.ac.uk using an SSH client. SSH client software can be found pre-installed on most linux desktop computers. PuTTY is a free SSH client for Microsoft Windows operating systems and can be downloaded from [http://www.chiark.greenend.org.uk/~sgtatham/putty/ http://www.chiark.greenend.org.uk/~sgtatham/putty/] | In order to publish student websites, a student must login to mi-linux.wlv.ac.uk using an SSH client. SSH client software can be found pre-installed on most linux desktop computers. PuTTY is a free SSH client for Microsoft Windows operating systems and can be downloaded from [http://www.chiark.greenend.org.uk/~sgtatham/putty/ http://www.chiark.greenend.org.uk/~sgtatham/putty/] | ||
− | ==HOW TO== | + | == HOW TO == |
1. SSH to mi-linux.wlv.ac.uk using your university account and password | 1. SSH to mi-linux.wlv.ac.uk using your university account and password | ||
2. Confirm the existence of (or create) a "public_html" directory | 2. Confirm the existence of (or create) a "public_html" directory | ||
− | + | <pre>ls public_html | |
+ | </pre> | ||
if no files/directories found | if no files/directories found | ||
− | + | <pre>mkdir public_html | |
− | 3. Confirm or change the access permissions of this directory so that it is world-readable, but not world-writable | + | </pre> |
− | + | 3. Confirm or change the access permissions of this directory so that it is world-readable, but not world-writable | |
+ | <pre>chmod 755 public_html | ||
+ | </pre> | ||
+ | 4. Upload (see [[(S)FTP]] notes) materials to be served via the WWW to the public_html directory | ||
− | + | 5. Your website address is '''<nowiki>http://mi-linux.wlv.ac.uk/~yourAccount</nowiki>''' | |
− | + | (where yourAccount is your university user name - example, if your username is 9876543 your website address is <nowiki>http://mi-linux.wlv.ac.uk/~9876543</nowiki>) |
Revision as of 15:12, 24 August 2009
WWW materials on mi-linux
The apache web server on mi-linux serves both staff and student pages, however staff pages should ideally be accessed via www.scit.wlv.ac.uk (scitua) - the scitua server is the home of staff materials and school facilities - all student files, services, and facilities are now provided via mi-linux.
SSH - Secure Shell
In order to publish student websites, a student must login to mi-linux.wlv.ac.uk using an SSH client. SSH client software can be found pre-installed on most linux desktop computers. PuTTY is a free SSH client for Microsoft Windows operating systems and can be downloaded from http://www.chiark.greenend.org.uk/~sgtatham/putty/
HOW TO
1. SSH to mi-linux.wlv.ac.uk using your university account and password
2. Confirm the existence of (or create) a "public_html" directory
ls public_html
if no files/directories found
mkdir public_html
3. Confirm or change the access permissions of this directory so that it is world-readable, but not world-writable
chmod 755 public_html
4. Upload (see (S)FTP notes) materials to be served via the WWW to the public_html directory
5. Your website address is http://mi-linux.wlv.ac.uk/~yourAccount
(where yourAccount is your university user name - example, if your username is 9876543 your website address is http://mi-linux.wlv.ac.uk/~9876543)