.: BARCLAY BARRIOS | WEB AUTHORING | RUTGERS UNIVERSITY | M 4,5 :.











home
| email

Coder 101: In the Beginning...

In the beginning, was the command line.

For this part of the assignment, you need to telnet to Eden and set up your public_html folder. There are other ways to do this task, easier ways, but it's vital you get at least an exposure to UNIX commands. Here's what you need to do (taken from GetIT):

  1. Use telnet (or a local shortcut) to access your Eden account. Or press the link below, which will open a telnet window in a new browser:

    telnet://eden.rutgers.edu

  2. The system should request your "login." Type your username and press return (or enter). Then type your password when prompted, and press return (or enter).

  3. You should now arrive at a command line that allows you to enter information. (If for some reason you do not have a command line but are directed to a menu, you will need to "Quit" the menu in order to see the command line).

  4. At the command line, enter the following code in order to make a directory called "public_html" in your account, to which you will be able to publish html files:

    mkdir public_html

    (Press Enter)


    You should see the command line again.

  5. At the next command line enter the following code in order to change the mode of your directory so that it can be accessed and read by everyone:

    chmod a+rx public_html (You can also enter: chmod 755 public_html)

    (Press Enter)

    You should see the command line again.

  6. Now let's check the protection of your public_html folder. Type:

    ls -ld public_html

    (Press Enter)

  7. You should see a code that says "drwxr-xr-x" which means that you have set up your public_html folder so that you can write to it and others can read it. If the protection does not read "drwxr-xr-x," you should reissue the command "chmod a+rx public_html" in order to correct this.

  8. Now open a browser window and go to your site, using the following address:

    http://www.eden.rutgers.edu/~username

    where username is your username on eden.

That should do it. Now, I strongly recommend that, at some point, you download, install, and play with an FTP client like WS-FTP. You'll need one of these some day, too, and you'll be able to see the UNIX commands it uses as it uploads files, makes directories, and deletes things. Plus, should the day ever come when you need to "chmod" something again, it will make your life very easy.

Very well. Now, on to HTML.

return to assignments