Changes between Version 10 and Version 11 of NikySandbox/WebExample


Ignore:
Timestamp:
07/06/12 06:30:13 (12 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NikySandbox/WebExample

    v10 v11  
    2424[[Image(WebsrvExampleSliver.png, 50%)]]
    2525
     26In this setup, there is one host acting as a web server and two hosts acting as clients. To test this setup follow these steps:
     27 * Visit the web page of the Server host (to do that press on the (i) button in Flack and then press the Visit button, alternatively open a web browser and go to the webpage !http://<pcname>.emulab.net, in the above example this would be !http://pc511.emulab.net). If the installation is successful you should see a page that is similar to this:
     28
     29[[Image(WebsrvIndex.png, 40%)]]
     30
    2631== Techniques ==
    2732
    2833You will use the following techniques during this experiment.
    2934
    30 === Web Transfers  ===
    31 
    32 In this setup, there is one host acting as a web server and two hosts
    33 acting as clients. To test this setup follow these steps:
    34  * Visit the web page of the Server host (to do that press on the (i) button in Flack and then press the Visit button, alternatively open a web browser and go to the webpage !http://<pcname>.emulab.net, in the above example this would be !http://pc511.emulab.net). If the installation is successful you should see a page that is similar to this:
    35 
    36 [[Image(WebsrvIndex.png, 30%)]]
    37 
    38  * Log into pc1 and pc2 in separate windows.
     35=== Command Line Web Transfers  ===
     36
     37Except from using a web browser you can also use command line tools for web transfers. To do this, follow these steps:
     38 * Log in to `Client1`.
     39 * You can download the web page using  this command
     40   {{{
     41   [inki@Client1 ~]$ wget http://pc511.emulab.net
     42--2012-07-06 04:23:13--  http://pc511.emulab.net/
     43Resolving pc511.emulab.net... 155.98.38.111
     44Connecting to pc511.emulab.net|155.98.38.111|:80... connected.
     45HTTP request sent, awaiting response... 200 OK
     46Length: 548 [text/html]
     47Saving to: “index.html.1”
     48
     49100%[======================================>] 548          --.-K/s   in 0s     
     50
     512012-07-06 04:23:13 (7.65 MB/s) - “index.html.1” saved [548/548]
     52   }}}
     53  * The above command only downloads the `index.html` file from the webserver. As we are going to see later a web page might consist of multiple web pages or other objects such as pictures, videos etc. In order to force wget to download all dependencies of a page use the following options
     54   {{{
     55   
     56   }}}
    3957
    4058 * On pc1, start a UDT file transfer server, using this command: