- Upload your VERY VERY simple webpage to the student server - 10 pts.
- This will involve 2 steps:
- (1) create your public_html folder, and
- (2) upload your files.
- Step (1) only needs to be performed one time to get your account set up correctly.
- Step (2) will be performed each time you want to modify (or add to) your website. Please note that when following the instructions below, it matters whether you use uppercase or lowercase. Everything except the password will be typed using all lowercase.
- Windows users step 1: instructions for creating your public_html folder.
- Launch the application that you downloaded in assignment 1 named "SSH Secure Shell Client".
- Select "Quick Connect" from the "File" menu. A new dialog box will open.
- Type student.santarosa.edu in the "Host Name:" text box.
- Type your username for the student server in the "User Name:" text box. This will be the first initial and your last name for a total of no more than 8 letters - all lowercase.
- Click "Connect". (Don't change the values in the two remaining text boxes.) A new dialog box will open. If the new dialog box that opens is not the "Enter Password" dialog box, just click "yes" to move on to the "Enter Password" dialog box.
- Type your password for the student server in the "Password:" text box. This will be your first and last initial in uppercase and the last 5 digits of your social security#. Then click "OK".
- You should now be logged in to your account. Your cursor should be located at the end of a line of text that ends with a dollar sign ("$"). After the "$", type "sudo wwwme" (don't forget: all lowercase!) and press the enter key. This creates the folder (named "public_html") where you will store your webpages. When you place a file named "index.html" into this folder you will be able to see it from any computer that is connected to the internet by typing your URL into the address bar of a browser. Your URL will be "http://student.santarosa.edu/~yourusername".
- Type "exit" to logout of your account.
- Close the "SSH Secure Shell Client" application.
- Windows users step 2: instructions for uploading your files from your local computer to the student server.
- Launch the application that you downloaded in assignment 1 named "SSH Secure File Transfer Client".
- Select "Quick Connect" from the "File" menu. A new dialog box will open.
- Type student.santarosa.edu in the "Host Name:" text box.
- Type your username for the student server in the "User Name:" text box. This will be the first initial and your last name for a total of no more than 8 letters - all lowercase.
- Click "Connect". (Don't change the values in the two remaining text boxes.) A new dialog box will open. If the new dialog box that opens is not the "Enter Password" dialog box, just click "yes" to move on to the "Enter Password" dialog box.
- Type your password for the student server in the "Password:" text box. This will be your first and last initial in uppercase and the last 5 digits of your social security#. Then click "OK".
- You should now see a window with a listing of files and folders from your local computer in the left pane, and a listing of files and folders from your account on the student server in the right pane. Probably the only item in the right pane is a folder named "public_html". To transfer a file from your local computer to your account on the student server, simply drag the file from the list on the left to the list on the right.
- It is a good idea to begin by double clicking on the public_html folder, so that you avoid the common mistake of dragging files so that they appear next to the public_html folder instead of inside the folder.
- You may have to browse in the left pane to find your index.html file. Once you have located it, drag it to the right pane. It should now appear in both panes. Congratulations! You've just uploaded your first webpage!
- Mac users step 1: instructions for creating your public_html folder.
- Launch the application named "Terminal", which can be found in the "Utilities" folder of your "Applications" folder.
- The cursor in your Terminal window should be located at the end of a line of text that ends with a dollar sign ("$"). After the "$" type
- "ssh yourusername@student.santarosa.edu" and press the enter key. Note that there is a space after the "ssh" in this command. (In the place of "yourusername" type your username for the student server. (first initial and last name for a total of no more than 8 letters, all lowercase)
- You will be asked to enter your password. Type your password for the student server at the prompt. This will be your first and last initial in uppercase and the last 5 digits of your social security#. Then click "OK".
- You should now be logged in to your account. Your cursor should be located at the end of a line of text that ends with a dollar sign ("$"). After the "$", type "sudo wwwme" (don't forget: all lowercase!) and press the enter key. This creates the folder (named "public_html") where you will store your webpages. When you place a file named "index.html" into this folder you will be able to see it from any computer that is connected to the internet by typing your URL into the address bar of a browser. Your URL will be "http://student.santarosa.edu/~yourusername".
- Type "exit" to logout of your account.
- Quit the "Terminal" application.
- Mac users step 2: instructions for uploading your files from your local computer to the student server.
- Launch the application that you downloaded in assignment 1 named "Fugu".
- Type student.santarosa.edu in the "Connect to:" text box.
- Type your username for the student server in the "User Name:" text box. This will be the first initial and your last name for a total of no more than 8 letters - all lowercase.
- In the Directory box enter the value "public_html"
- Click "Connect". A new dialog box will open. If the new dialog box that opens is not the "Enter Password" dialog box, just click "yes" to move on to the "Enter Password" dialog box.
- Type your password for the student server in the "Password:" text box. This will be your first and last initial in uppercase and the last 5 digits of your social security#. Then click "Authenticate".
- You should now see a window with a listing of files and folders from your local computer in the left pane, and a listing of files and folders from your account on the student server in the right pane. The pane on the right will be empty the first time you upload to the server.
- You may have to browse in the left pane to find your index.html file. Once you have located it, drag it to the right pane. It should now appear in both panes. Congratulations! You've just uploaded your first webpage!
- Both Windows users and Mac users: Final instructions.
- One thing you must do is be sure that all of your files go INSIDE the "public_html" folder when you upload. If you can see the "public_html" folder at the same time you see your files, you haven't done it correctly. Also be sure that you do not put your files in a folder inside "public_html".
- After you upload your file you must test and make sure it shows up properly. Open a browser and type http://student.santarosa.edu/~yourusername/. If you did everything correctly, you should see your webpage! (Please don't type "yourusername" but use your real username!!) Also, click on the W3C graphic at the bottom of your page to make sure that it validates correctly.
- This is a difficult week for many students. Most of you will be doing things you have absolutely no experience with, and it doesn't always go smoothly. My best advice is to get started as soon as possible and use all the resources at your disposal. Email me for help if you have a problem. Whatever you do Do not give up! No matter how stuck you think you are, we can get you over this hurdle.
- Once the page is up submit the URL for your site.
- If you need to check to see that the submission worked check here