How to Create Your Homepage

Description Commands
Login to your SEASnet account under UNIX.
ssh ugrad/grad icon in the lab machines or using an ssh client
These steps need to be done just once.
1. Change the permission of your home directory to be executable by group and others
2. Create a directory called www in your home directory
3. Change the permission of the www directory to be executable by group and others
chmod go+x ~
mkdir ~/www
chmod go+x ~/www
Create a file called index.html in the www directory using any editor you like (pico is just an editor). cd www
pico index.html
Type the html codes shown here and save it as index.html file. In fact, you do not have to enter html codes. You can just type This is a test only and close the file. ‹html›
‹head›
‹title› test page ‹/title›
‹body›
This is a test page.
‹/body›
‹/html›
You can use a file uploading program to upload your website files. See our security website for one such program. Make sure to upload to your www directory.
Fix permissions for all files and folders.
Folders should be drwxr-xr-x
Files should be rw-r--r--
cd ~/www
find . -type d -exec chmod 755 {}\;
find . -type f -exec chmod 644 {}\;
To access your homepage, start a web browser and enter the address of your homepage. http://www.seas.ucla.edu/~loginname

WARNING: Should SEASnet receive complaints regarding a person's homepage, an investigation and possible disciplinary action by the Dean of Students may ensue. In addition, UC and UCLA policies must be followed. A list of policies are available on http://www.icompass.ucla.edu/policies.htm.


HOME / SEARCH / HELP