Unix Tutorial

Creating a Homepage on UNIX/Linux

Creating a homepage from a UNIX/Linux machine is easy.

Step 1:

Open a terminal and type the following at the command prompt:

mkdir ~/WWW

chmod o+x ~

chmod go+rx ~/WWW

The first command created a WWW directory in your homepage, the second command gave the web server permission to enter your home directory, and the third gave the Web server permission to serve files from the WWW folder.

Step 2:

You can now access your homepage at www.ece.iastate.edu/~username, where username is your username. (Non-ECpE majors can use the URL home.eng.iastate.edu/~username)

Remember that if you copy files to your WWW folder, you need to give everyone permission to read them (or at least the ones you want them to read) by using the ‘chmod go+rx filename’ command, where filename is the name of the file to which you want to grant read permission.

The amount of space that you can store on your Web page is limited to your quota. The Web server accepts plain HTML files and also PHP scripts.