Please see this quick howto guide about how to access storm server from any computer.
To log on to our server:
ssh your_account@storm.cis.fordham.eduYou will be prompted to enter your password. While you enter your case-sensitive password, the password will not be echoed back to you (why?). After you are done, press enter.
Once you login, you will see the so called prompt message (including account id, server name), something like the following:
[zhang@storm ~]$
We are now logged in. You can now issue commands to the server by entering a line of command, and then press enter. Here are a few to get started:
You have done so already, no need to change your password everytime.
[zhang@storm ~]$ passwd Changing password for user zhang. Changing password for zhang. (current) UNIX password: ...
[zhang@storm ~]$ pwd /home/staff/zhang
[zhang@storm ~]$ cd public_html //go up one level [zhang@storm public_html]$ pwd //show current directory /home/staff/zhang/public_html
[zhang@storm ~]$ ls ... //output omitted...
We will create a simple webpage (that will have the following URL:)
http://storm.cis.fordham.edu/~your_accountTo do that, we will create a file named index.html under your public_html folder on storm.
You can use a text editor such as pico, or vi or emacs. If you have no experience with vi or emacs, you should use pico.
[zhang@storm public_html]$ pwd //show current directory /home/staff/zhang/public_html [zhang@storm public_html]$ pico index.html
The quickest way to get started is learning by example. Please copy and paste the following into your pico:
<html> <head> <title>My first Web Page</title> </head> <body bgcolor = "white">Save and View your HTML file<h2>My first Web Page </h2> <p>I am so happy to be at Fordham! Here are some things about me you might like to know. <ul> <li> My favorite color is blue. <li> John Mulcahy Hall is home away from home. <li>I love the Big Apple. <li> My favorite web site is <a href="http://www.cnn.com">cnn.com </a> </ul> </body> </html>
To save your file, just press Ctrl-O(i.e., press Ctrl and o together), and press enter to confrim the file to save the changes to.
To see look and feel of your web page
Type the URL of your webpage (i.e.,storm.cis.fordham.edu/~your_username) to a browser (chrome, Safari, ...).
A picture is worth a thousand words! To embed your favorite pictures or photos in your web page:
In a terminal window, use cd command to go to that folder.
$cd download //suppose you save some image to the download directory
$scp myfile.jpg your_account@storm.cis.fordham.edu:~/public_htmlYou will be prompted to enter your storm account password again. The scp command is a secure remote copying command that allows you to transfer files between computers.
<img src="dog.jpg" height=140/> <img src="cat.jpg" height=140/>
List of Content