Unformatted text preview:

CS403: Online Network ExplorationWeb publishingMost Web authors do not maintain their own Web servers.The pubpages serverThe pubpages server (cont.)Slide 6Terminal emulationTerminal emulation (cont.)The problems with terminal emulationThe problems with terminal emulation (cont.)Slide 11File transferFile transfer (cont.)An FTP clientSSH Secure ShellConnecting to cisunixSecurity issuesSecurity issues (cont.)Slide 19Local system and remote systemA local working folderA local working folder (cont.)The public_html folderThe index.html fileThe index.html file (cont.)Transferring filesTransferring files (cont.)PermissionsSetting home directory permissionsChecking folder and file permissionsBrowsing your Web pagesBrowsing your Web pages (cont.)Slide 33SummaryReview questionsKey terms01/14/19 CS403 Introduction 1CS403: Online Network ExplorationWeb PublishingSpring, 2007Modified by Linda Kenney2/14/0701/14/19 CS403 Web Publishing 2Web publishingWeb publishing is the process of taking XHTML files and turning them into Web pages.We can’t really consider an XHTML file a Web page until it’s available via a Web server to browsers anywhere on the Internet.Therefore, Web publishing involves making our XHTML files available to browsers via a server.To be available to browsers, Web pages need to be stored on a host where they are accessible to a Web server.01/14/19 CS403 Web Publishing 3Most Web authors do not maintain their own Web servers.Maintaining a Web server requires expertise in areas such as system configuration and security that most Web authors do not possess.Maintaining a Web server also requires a host that is connected to the Internet and operating 24 hours a day, 7 days a week (24-7).Instead, most Web authors publish their Web pages using a Web server that is maintained on their behalf by professional system administrators.That server may be maintained by their school, their employer or an organization to which they belong.Or they may pay a Web hosting service a monthly fee to use a portion of the hosting service’s server capacity.01/14/19 CS403 Web Publishing 4The pubpages serverUNH maintains a Web server as part of the cisunix system.This server is available to serve Web resources published by anyone with a valid cisunix account.Each user’s account is associated with a specific home directory within the file system on cisunix.Your home directory is your private storage area within the public file system.You are free to use and organize it as you see fit, so long as you do not exceed your storage quota.http://pubpages.unh.edu/~pas/cisug/quotas.html01/14/19 CS403 Web Publishing 5The pubpages server (cont.)The server is configured to look within individual users’ home directories on cisunix.unh.edu for requested resources.So Web publishing at UNH involves storing your Web resources as files within your home directory on cisunix.unh.eduFor efficiency, the server actually runs on a host named pubpages.unh.eduFor this reason, we’ll refer to it simply as the pubpages server.Note that we cannot login to pubpages.unh.edu directly.We’ll do all our work using cisunix.unh.edu01/14/19 CS403 Web Publishing 6Note that the Web publishing procedures we will be covering, while fairly representative, are specific to the pubpages server.Other servers may have different procedures.01/14/19 CS403 Web Publishing 7Terminal emulationLike nearly all UNIX computers, cisunix is meant to be used by several people at once.Multi-user computers like cisunix are most commonly controlled remotely across the network using an Internet service called terminal emulation or remote login.The protocol underlying this Internet service is called Telnet.01/14/19 CS403 Web Publishing 8Terminal emulation (cont.)A type of software application called a terminal emulator is often used for this purpose.A terminal emulator makes your computer act like a text terminal.Text terminals are simple hardware devices consisting primarily of a monitor and a keyboard.They have no processing power or storage capacity of their own.Their only purpose is to act as a remote control for a full-fledged computer.When using a terminal emulator, your monitor and keyboard effectively “become” the monitor and keyboard of the computer you are controlling.The commands you issue are executed on the remote computer and the results you see are produced on the remote computer.If needed, we could use a terminal emulator to work with cisunix to create and/or publish our Web pages.If you are comfortable working in this manner, feel free to do so for your course work.01/14/19 CS403 Web Publishing 9The problems with terminal emulationMany people prefer to avoid terminal emulators when they can.Because text terminals have no mouse, terminal emulators make little or no use of the mouse.The result is a text-only interface that is more efficient, but somewhat less convenient, than most users prefer.Many people find this environment harder to use because it requires a great deal of mental effort to learn and retain.01/14/19 CS403 Web Publishing 10The problems with terminal emulation (cont.)Instead, they choose to work in more familiar environments like Microsoft Windows.For this reason, I’ll teach the procedures from a Windows perspective.We’ll use Windows to create, edit and manage our Web resource files.Once those files are completed, however, we’ll need to get them transferred to our cisunix home directories.01/14/19 CS403 Web Publishing 11The problems with terminal emulation (cont.)Terminal emulators are generally not well-suited to transferring files between the local host and the remote host.A terminal emulator would be ideal if we wanted to create, edit and manage our resource files entirely on cisunix.But we want to create, edit and manage our resource files on a Windows computer and only move them to cisunix once we’re done with them.For that task, we need to explore another Internet service called file transfer.01/14/19 CS403 Web Publishing 12File transferFile transfer is an Internet service that allows users to copy files between two hosts and manage those files on either host.Like all Internet services, file transfer is built around a specific protocol.That protocol is named the File Transfer Protocol (FTP).And like most Internet services it is based on the client/server model .The clients are


View Full Document

UNH CS 403 - Web Publishing

Documents in this Course
Load more
Download Web Publishing
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Web Publishing and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Web Publishing 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?