cnit 132 intermediate html and css publish web page

6
CNIT 132 Intermediate HTML and CSS Publish Web Page

Upload: marlene-atkins

Post on 26-Dec-2015

222 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: CNIT 132 Intermediate HTML and CSS Publish Web Page

CNIT 132 Intermediate HTML and CSS

Publish Web Page

Page 2: CNIT 132 Intermediate HTML and CSS Publish Web Page

Agenda

• My Web Site: http://fog.ccsf.edu/~hyip (download syllabus, class notes).

Page 3: CNIT 132 Intermediate HTML and CSS Publish Web Page

Getting Started• Obtain your hills login by emailing me (provide me with your name – First and

Last)• Access your hills account

Download SSH Secure Shell from ftp://ftp.ccsf.edu/pub/SSH/sshSecureShellClient-3.2.9.exe

Install the SSH Secure Shell Connect to Hills server by double click the SSH Secure Shell Client icon Click the “Quick Connect” icon Enter the Host Name = hills.ccsf.edu Enter the User Name = your hills login name Port = 22 Password = your hills password

• NOTE: If at any time you have trouble with your hills login or password, you will need to contact a tech person in the CCSF computer lab. The computer lab (ICL-1) is located on the 3rd floor of Batmale Hall. There are other computer labs on the CCSF campus as well.

Page 4: CNIT 132 Intermediate HTML and CSS Publish Web Page

Create public_html directory

• All of your web pages must be residing in a directory called public_html, which must be under your home directory.

• To create this directory:Logon to hills accountCreate the public_html directory under your home

directory and other CGI directories, type the command:

setupChange permission: chmod 755 public_html

Page 5: CNIT 132 Intermediate HTML and CSS Publish Web Page

Publishing your Webpages (FTP)• Upload your webpages to your public_html directory

on the hills server. Double click the SSH Secure File Transfer Client Click the “Quick Connect” button Enter Host Name = hills.ccsf.edu Enter User Name = your hills logon name Port number = 22 Enter Password = your hills logon password

• On the left hand side is your windows’ directory; on the right hand side is your hills server directory.

Drag and drop the files from windows side to Unix side to FTP files from PC to hills server. (or Vice Versa to download file from Unix to PC)

Page 6: CNIT 132 Intermediate HTML and CSS Publish Web Page

View your webpages from your browser

• Launch your browser• The URL will be http://hills.ccsf.edu/~LOGIN

where LOGIN is your hills login.

If the proper unix permissions have NOT been given, then viewing your homepage in a browser will display the permission denied messages.

• To fix this: Logon to hills server Change directory to public_html: cd public_html Change all files permission: chmod 755 *.*

• public_html must be given execute permission, and all web files must be given read permission.