Changes between Version 19 and Version 20 of NikySandbox/WebExample


Ignore:
Timestamp:
07/06/12 07:25:20 (7 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NikySandbox/WebExample

    v19 v20  
    2424[[Image(WebsrvExampleSliver.png, 50%)]]
    2525
    26 In this setup, there is one host acting as a web server. To test that the webserver is up visit the web page of the Server host. To do this
     26In this setup, there is one host acting as a web server. To test that the webserver is up visit the web page of the Server host. To do this:
    2727   * either press on the (i) button in Flack and then press the Visit button
    2828   * or open a web browser and go to the webpage !http://<pcname>.emulab.net, in the above example this would be !http://pc484.emulab.net).
     
    6161HTTP request sent, awaiting response... 200 OK
    6262Length: 548 [text/html]
    63 Saving to: “index.html.1
     63Saving to: “index.html
    6464
    6565100%[======================================>] 548         --.-K/s   in 0s     
    6666
    67 2012-07-06 04:59:09 (120 MB/s) - “index.html.1” saved [548/548]
     672012-07-06 04:59:09 (120 MB/s) - “index.html” saved [548/548]
    6868   }}}
    6969   '''Note:''' In the above command we used `http://server` instead of `http://pc484.emulab.net` so that we can contact the web server over the private connection we have created, instead of the server's public interface. The private connections are the ones that are represented with lines between hosts in Flack.
    7070 
    71  * 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 :
     71 * The above command only downloads the `index.html` file from the webserver. As we are going to see later a web page may include other web pages or objects such as images, videos etc. In order to force wget to download all dependencies of a page use the following options :
    7272   {{{
    7373   [inki@Client1 ~]$ wget -m -p http://server
    7474   }}}
    75    This will produce a directory with the followin data structure, run:
     75   This will produce a directory, `server`, with the following data structure. Run:
    7676   {{{
    7777  [inki@Client1 ~]$ ls server/