Part Two

The notes from the workshop I gave to the UMBC’s AIGA student group.

Remote Connection

SSH

Secure Shell is a to run actually commands on a remote machine (like your webhost).

For Macs, Unix, and Linux:

  1. Open a Terminal (for Mac: Applications > Utilities > Terminal)
  2. Type the command: ssh -l <login_name> <hostname>

For Windows:

  1. Download putty
  2. Run putty,set the Host Name to the hostname, and change Protocol to SSH instead of telnet
  3. Select Open and then enter your username and password when it ask for it

Common Linux and Unix Commands

ls
List the files and directories of the current directory or search for files and directories
pwd
Display the current directory you are in
cd
Change the current directory you are in
man
Shows the manual for common shell programs, q to quite
mkdir
Make a new directory
rmdir
Remove (delete) a directory
rm
Remove (delete) a file
mv
Move a file

Linux and Unix Programs

pico
A text editor
pine
An email program

Apache and htaccess

Apache is a popular and widely used web server that just happens to be free. Each directory can have different settings with the .htaccess file.

Prevent Image Hot-Linking

People will often use an image on your website for a background on there website by linking directly to the image on your website. Hot-linking cost you money on your bandwidth which you may not like much. It is preventable with .htaccess.

Dynamic Website With Clean URLs

Dynamic websites often to begin with have URL’s that end in ?param1=something&param2=something, but like clean URL’s because they are easier to remember. It is possible to convert a clean URL like http://example.ocm/fruit/apple/ into http://example.ocm/fruit.php?page=apple (example 1 2 3, .httaccess, fruit.php)

Tips And Examples With htaccess

Use CSS Instead of Javascript for the Simple Stuff

Often Javascript is used to create simple dynamic effects that can be achieved with CSS. But IE6 isn’t always a happy camper so give it a little pill of Dean Edwards IE7 script.

Comments

    The comments to the post “Part Two.”
    Comment Said When Edit

    very cool,I am stilllooking at PNG to use on my websites. Great lookon yourwebsite, you used my favorite color for the background! I will come back to your workshop now. Thank you!!!

    Said: Maria When: 6:52 pm, April 13th, 2006

    Thanks for the workshop.
    I learned more from you again. Hope you can maybe come back and do more workshops perhaps after your graduate?!
    Thanks again.

    Said: Karen Pang When: 2:47 pm, April 24th, 2006

    Leave a Reply

    All comments are moderated for approval after submission. Attention spammers do not waste your or my time by trying to comment.

    Your Personal Information
    Author Name .
    Email Address .
    Website Address .
    Your Comment
    Send Your Reply