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:
- Open a Terminal (for Mac: Applications > Utilities > Terminal)
- Type the command: ssh -l <login_name> <hostname>
For Windows:
- Download putty
- Run putty,set the Host Name to the hostname, and change Protocol to SSH instead of telnet
- 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¶m2=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
- htaccess tricks and tips..
- .HTACCESS files useful tips and tricks:
- DreamHost - “Various .htaccess samples and tutorials” - NDN Knowledge Base:
- HTACCESS Examples
- .htaccess file tutorial and useful htaccess examples:
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.
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!!!
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.
Leave a Reply
All comments are moderated for approval after submission. Attention spammers do not waste your or my time by trying to comment.