[Debian Wiki] Update of "BOINC/ServerGuide/Initialisation" by SteffenMoeller

Debian Wiki debian-www at lists.debian.org
Wed Sep 4 08:42:24 UTC 2013


Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.

The "BOINC/ServerGuide/Initialisation" page has been changed by SteffenMoeller:
https://wiki.debian.org/BOINC/ServerGuide/Initialisation?action=diff&rev1=14&rev2=15

Comment:
added loading of cgi module

  && sudo /etc/init.d/apache2 reload
  }}}
  
- == Test web interface ==
+ == Access web interface ==
  
+ === Apache preparation: Ensuring PHP and cgi apache modules are enabled, not only installed ===
- {{attachment:boinc_test_project_freshly_generated.jpg||align="right",width=400}}
- 
- The web site should now be accessible. It should be available as an alias "$projectname", please look it up in "/etc/apache2/sites-enabled/${projectname}.httpd.conf". You will find the automated home page to need some further manual adjustments - which does not really encourage to update the server version too frequently, we presume.
- 
- If the home page does not show up then there may be some missing file or some bogus file permission. The inspection of "/var/log/apache/error.log" should bring sufficient insights to fix the issue. The image shows a URL with a ":8080", which indicates the browser to ask for the page at a different port than the default ":80". For doing so, add a virtual host configuration in above  httpd.conf of your project. The [[http://httpd.apache.org/docs/2.2/vhosts/examples.html|Apache Documentation]] explains vividly how to do so.
- 
- === Trouble shooting ===
- 
- ==== Ensuring PHP is enabled, not only installed ====
  
  If you see a page but that looks weird, then PHP may not be executed on that page but the source of the file is shown directly. To enable it, perform {{{
  cd /etc/apache2/mods-enabled
- sudo ln -s ../mods-available/php5.* 
+ sudo ln -s ../mods-available/php5.* .
+ sudo ln -s ../mods-available/cgi.* .
+ sudo /etc/init.d/apache2 restart
  }}}
+ 
+ alternative to the above you may prefer to write from anywhere {{{
+ sudo a2enmod cgi
+ sudo a2enmod php5
+ sudo /etc/init.d/apache2 restart
+ }}}
+ 
+ 
+ === Have a look ===
+ 
+ {{attachment:boinc_test_project_freshly_generated.jpg||align="right",width=400}}
+ 
+ The web site should now be accessible. It should be available as an alias "$projectname", please look it up in "/etc/apache2/sites-enabled/${projectname}.httpd.conf". You will find the automated home page to need some further manual adjustments - which does not really encourage to update the server version too frequently, we presume.
+ 
+ If the home page does not show up then there may be some missing file or some bogus file permission. The inspection of "/var/log/apache/error.log" should bring sufficient insights to fix the issue. The image shows a URL with a ":8080", which indicates the browser to ask for the page at a different port than the default ":80". For doing so, add a virtual host configuration in above  httpd.conf of your project. The [[http://httpd.apache.org/docs/2.2/vhosts/examples.html|Apache Documentation]] explains vividly how to do so.
+ 
+ === Trouble shooting ===
  
  ==== Showing index.php by default ====
  



More information about the pkg-boinc-commits mailing list