26 | | In 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://pc484.emulab.net). If the installation is successful you should see a page that is similar to this: |
| 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 |
| 27 | * either press on the (i) button in Flack and then press the Visit button |
| 28 | * 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). |
| 29 | |
| 30 | If the installation is successful you should see a page that is similar to this: |
| 38 | === Start and stop the web server === |
| 39 | In the original setup of your sliver there a webserver already installed and running on the `Server` host. As you implement your own webserver you might need to stop |
| 40 | or start the installed webserver. |
| 41 | * To '''Stop''' the webserver run: |
| 42 | {{{ |
| 43 | sudo /sbin/service httpd stop |
| 44 | }}} |
| 45 | To verify that you have stopped the webserver, try to visit the above web page, you should get an error. |
| 46 | * To '''Start''' the webserver run: |
| 47 | {{{ |
| 48 | sudo /sbin/service httpd start |
| 49 | }}} |