IS 337: Website Administration

Submitting Assignments on Webpub or Yardley

Put all files you want served up on webpub and yardley in your own public_html folder.

For each assignment, create a separate folder in public_html.

Find the files on the web (e.g., http://www.calvin.edu/~jdfrens/is337/the-assignment-numbered-06).

When you are satisfied with what you have put there, submit the URL to the assignment in the "Comments" field in KnightVision.

So, you're still using KnightVision, but it's probably less susceptible to KV's fickleness.

FAQ

Do I have shell access to webpub?

I think so. Let me know if you don't. You might, however, be okay with a GUI client or an editor that permits editting over SSH—see the relevant questions below.

What are some good ssh terminal tools?

On Windows, it appears that PuTTY is your best bet for an ssh shell. Once you get it started, there should be a menu item to connect to a host. I believe you need to install something else to get sftp to work, but the instructions should be on their website.

On Mac OS X and Linux, just open up a terminal (Terminal in Applications on OS X, "terminal" or "console" on Linux). Use ssh and scp there.

What are some good ssh GUI tools?

WinSCP (for Windows) or Cyberduck (for Mac OS X) came up first on a Google search. I've heard of both, and they both seem to be fairly good.

What are some useful commands?

Connect ssh user@yardley
or
ssh user@webpub
Starting a new assignment
ssh user@yardley
cd public_html
mkdir assignment42
chmod 777 assignment42
# do my work
Copying to yardley
# create directory for assignment
scp *.html *.css user@yardley:public_html/assignment42

Do I really have to work that much with ssh?

No.

Use the right editor. There are several editors that you can run locally on your machine, but edit content on a remote machine. I do this in class all the time with jEdit (with the help of a plugin), and this works fairly well on Windows machines.

On Mac OS X, TextWrangler has the ability to edit through sftp out of the box. (I don't know what their support for HTML, CSS, JavaScript, and PHP is like, though.)

Mount yardley as a new disk drive. If you have your own favorite text editor which doesn't support sftp editing, you might try a solution like MacFUSE. This allows you to mount an sftp account just like you would a CD or iPod or disk image on a Mac.

I don't know of any equivalent on Windows.

I get a permission denied when I try to see my webpage. What's wrong?

Check the permissions on your files (ls -l). Chmod them 644 (for a file) or 755 (for a directory) if there's no read permission on them for others.

Creative © 2007 Calvin College and Jeremy D. Frens.
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.