Presentation is loading. Please wait.

Presentation is loading. Please wait.

CPSC203 Introduction to Computers Lab 69 By Jie Gao.

Similar presentations


Presentation on theme: "CPSC203 Introduction to Computers Lab 69 By Jie Gao."— Presentation transcript:

1 CPSC203 Introduction to Computers Lab 69 By Jie Gao

2 March 17, 2003CPSC Labs by Jie Gao Publish Your Homepage You need to publish your web pages to a web server so that the others can visit them A web server is a computer connected to the Internet. It has a web address (host name), so people can find and visit it via this name The web servers have some particular storage. When a web page is being visited, the web server will find the page in the storage and provide it to the visitor

3 March 17, 2003CPSC Labs by Jie Gao The University Web Server You need an IT account to publish your web pages to the University server Web pages should be transferred to ftp.acs.ucalgary.ca via FTP tools, and they should be put in the directory public_html

4 March 17, 2003CPSC Labs by Jie Gao Connect to the Server Publish your homepage to IT account using Internet Explorer Input “ ftp://ftp.acs.ucalgary.ca ” in the address bar and press enter key. In File menu, select Login As Input your user name and password and click Log On button You will see the content stored in the IT account storage

5 March 17, 2003CPSC Labs by Jie Gao Prepare the Directory Prepare your web page directory Right click, select New  Folder, and then input the name “ public_html ” Right click on public_html folder, select Properties. Then set the permission, enable execute for Group and All Users (check them) then click OK

6 March 17, 2003CPSC Labs by Jie Gao Transfer Web Pages Transfer your web pages to the server Open My Computer and find your web pages, including all images used in the pages Drag your web pages and images from the My Computer window into the IE ftp window Get files from the server to your computer Drag files from the IE ftp window to a folder window on your computer

7 March 17, 2003CPSC Labs by Jie Gao Set the Permissions For each file in IE ftp window, click to select it, and then right click, select Properties. Enable read permission for Group and All Users, then click OK For each directory in IE ftp window, you should set read and execute permission for Group and All Users Only web pages with correct permissions can be visited

8 March 17, 2003CPSC Labs by Jie Gao Visit the Web Pages Visit your homepage index.html is the default page, you can use http://www.ucalgary.ca/~user/ to visit it. For files with other names, say, file.htm, you can visit it by http://www.ucalgary.ca/~user/file.htm Note: In IT account storage, uppercase and lowercase names are different, e.g. INDEX.HTML, Index.html, index.html and index.Html are different files

9 March 17, 2003CPSC Labs by Jie Gao Assignment 4 You need to publish your assignment 4 web pages to a web server The University IT web page storage is recommended You should send your assignment web address (NOT web pages) to me by e-mail, to gaoj@cpsc.ucalgary.ca The recommended subject of the e-mail is “Assignment 4”


Download ppt "CPSC203 Introduction to Computers Lab 69 By Jie Gao."

Similar presentations


Ads by Google