Changes between Version 20 and Version 21 of HowTo/WriteInstallScript


Ignore:
Timestamp:
09/25/12 16:30:35 (7 years ago)
Author:
nriga@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/WriteInstallScript

    v20 v21  
    137137}}}
    138138   * start the web server :
    139  {{{
     139{{{
    140140sudo /sbin/service httpd start
    141141}}}
    142142       If you get an error someone else might be using the port you used, change it again by using the following command where <OLD_PORT> is the port you used in the previous command:
    143   {{{
     143{{{
    144144sudo sed 's/^Listen <OLD_PORT>$/Listen <NEW_PORT>/' /etc/httpd/conf/httpd.conf > httpd.conf ; sudo mv httpd.conf /etc/httpd/conf/httpd.conf
    145145}}}
     146
     147=== Test your webserver ===
     148In order to test that your webserver is up and running open a web brower and point it at http://plnode-03.gpolab.bbn.com:<NEW_PORT>/ you should get the apache welcome page.
     149
     150=== Upload files to your webserver ===
     151In order to make files publicly available in your server do these two simple steps :
     152  * '''transfer the file to the PlanetLab node'''. You can use scp to do this e.g.:
     153  {{{
     154 scp -i /home/nriga/.ssh/geni_key install-mpich.tar.gz pgenigpolabbbncom_inkisrv@plnode-03.gpolab.bbn.com:
     155}}}
     156  * login to your node and move the file to '/var/www/html', e.g.
     157    {{{
     158 sudo mv install-mpich.tar.gz /var/www/html/
     159}}}