Create your UNIX Website directory
- Logon to your UNIX account
- At the UNIX prompt (% or >), create a new
directory, named "public_html", to be used as your website. (mkdir
public_html) NOTE: remember UNIX is case sensitive.
- Verify the directory exists by listing the
directories and files (ls)
- Change Directory to your public_html (cd
public_html)
- Create a new directory, named "images"
- Verify this directory exists by listing the directories and files
Change permissions for public viewing (make sure you
include all spaces in the commands)
- At the UNIX prompt (% or >), type:
- chmod 711 ~ (the "~" or
"tilde", is that squiggly line next to the '1' key)
- chmod 711 ~/public_html
- cd ~/public_html
- chmod 644 *
- chmod 755 images
Create your default page, named "index.html" or "index.htm"
- Copy this code into a simple editor, i.e. notepad
<html>
<head><title>My first page</title></head>
<body>
<p>I am in my first web page</p>
</body>
</html>
- Name your page index.html (or index.htm) and save
it to a temporary directory
- Create a WS-FTP connection to your UNIX account
- change directories on your computer to your
temporary directory
- change your your UNIX public_html directory
- move the index.html file to your UNIX public_html
directory NOTE: if your page has been renamed by WS_FTP, you
will have to rename it to the correct name when prompted
- check your website works by going to
http://shrike.depaul.edu/~username (replace username with your UNIX
id.
A complete explanation for setting up your UNIX account can be found
at the DePaul Website:
At the HomePage
Support link on http://service.depaul.edu/dpo/
|