170 likes | 342 Views
CGS2100 Lab. Today’s Topic. Setup your homepage in Pegasus account. Step 1: Using Putty. You may find it on lab PCs’ desktop, an icon named “putty”. Login to pegasus.cc.ucf.edu using an SSH (Secure Shell) client like putty. . Step 2: Connect to Pegasus using PUTTY.
E N D
Today’s Topic Setup your homepage in Pegasus account
Step 1: Using Putty • You may find it on lab PCs’ desktop, an icon named “putty”. • Login to pegasus.cc.ucf.edu using an SSH (Secure Shell) client like putty.
Step 2: Connect to Pegasus using PUTTY Enter pegasus.cc.ucf.edu here Choose SSH protocol here
Login username: NIDPassword: the SAME as your Pegasus email password Password is invisible here. (No stars or dots)
Prepare Your Public_HTML Folder Once you get into your Pegasus account, type homepagesetup at the prompt. This will do several things to make your account ready to receive html pages that can be viewed by anyone. It will... • create a public_html folder that will store all web pages and images you want people to be able to access • set permissions for this folder so that anyone can view the contents of the folder, but only you can save files to this folder • insert a dummy web page called home.html in the new public_html folder that you can use as a sample
1. Enter homepagesetup command 2. Then you are all set!
Your “dummy” webpage Access the dummy page at http://pegasus.cc.ucf.edu/~yourNID This is your homepage address
Publish to Your Pegasus Web Space • Publishing a web page means uploading web pages and any associated files (images, audio, etc.) to a web server so that other people can view the pages by typing in the their URL in a web browser (e.g. Internet Explorer).
Get files from website • Images • View source
Upload files to your webspace • In the address bar of your browser, type: ftp://pegasus.cc.ucf.edu/ and Input your NID and password. NID here
Upload files to your webspace 2. This will open up access to your account. You should see a mail folder and the public_html folder. Enter public_html folder Double click this one
Upload files to your webspace 3.To publish, select and drag the files from your computer to the public_html folder on your Pegasus account. The new picture I just published
Upload files to your webspace 4. While viewing the contents of your public_html folder, delete the home.html page that was created automatically when you typed homepagesetup. Delete this file
Upload files to your webspace 5. After you drag the appropriate files into the public_html folder on your Pegasus server, you can view those pages by entering the URL from any Internet connected computer.The URL ishttp://pegasus.cc.ucf.edu/~yourNID/fullFileName(including extension name)
Assignment • Assignment 1. • You must use yourPegasus account to submit this assignment. • Due by 11:59:59pm on January 28 • You are responsible for saving all copies of your sent mail.