Changes between Version 4 and Version 5 of WebServerExample
- Timestamp:
- 12/08/14 17:09:06 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebServerExample
v4 v5 13 13 14 14 * You have GENI credentials to obtain GENI resources. (If not, see SignMeUp). 15 * You are able to use '''Flack''' to request GENI resources. (If not, see [https://www.protogeni.net/trac/protogeni/wiki/FlackTutorial the Flacktutorial]).15 * You are able to use to request GENI resources using '''Jacks''' or '''Flack'''. (If not, see [http://groups.geni.net/geni/wiki/GENIExperimenter/Tutorials/RunHelloGENI the Hello GENI tutorial]). 16 16 * You are comfortable using '''ssh''' and executing basic commands using a UNIX shell. [wiki:HowTo/LoginToNodes Tips about how to login to GENI hosts]. 17 17 * You are comfortable with coding in '''C or C++''' … … 23 23 * submit for sliver creation (also fine to use omni, if you prefer). Your sliver should look something like this: 24 24 25 [[Image(WebsrvExampleSliver .png, 50%)]]25 [[Image(WebsrvExampleSliverJacks.png, 50%)]] 26 26 27 27 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, use either of the following techniques: 28 * Press on the (i) button in Flack and then press the Visit button, or29 * Open a web browser and go to the webpage !http://<pcname>.emulab.net. In the above example this would be !http://pc484.emulab.net.28 * Open a web browser and go to the webpage !http://<hostname>. In the above example this would be !http://pc484.emulab.net, or 29 * Press on the (i) button in Flack and then press the Visit button. 30 30 31 31 If the installation is successful you should see a page that is similar to this: … … 42 42 * To '''Stop''' the webserver run: 43 43 {{{ 44 sudo /sbin/service httpdstop44 sudo service apache2 stop 45 45 }}} 46 46 To verify that you have stopped the webserver, try to visit the above web page, you should get an error. (You may need to refresh your browser, if it has cached the page from a previous visit.) … … 48 48 * To '''Start''' the webserver run: 49 49 {{{ 50 sudo /sbin/service httpdstart50 sudo service apache2 start 51 51 }}} 52 52