Changes between Version 27 and Version 28 of ServerIntro


Ignore:
Timestamp:
Jul 17, 2007, 5:30:06 PM (17 years ago)
Author:
Nicolas
Comment:

Changed all anchors. Modified a bit the code download instructions on the cookbook.

Legend:

Unmodified
Added
Removed
Modified
  • ServerIntro

    v27 v28  
    11[[PageOutline]]
    22
    3 = Setting up a BOINC server =
    4 
    5 == Using a virtual machine ==
     3= Setting up a BOINC server = #ServerIntro
     4
     5== Using a virtual machine == #VM
    66
    77The easiest (and recommended) way to set up a BOINC server is
     
    1717[#CookbookforDebian4.0 a cookbook for setting up a BOINC server on a Debian 4.0 system].
    1818
    19 == General instructions ==
    20 === Groups and permissions ===
     19== General instructions == #general
     20=== Groups and permissions === #permissions
    2121BOINC server programs run as two different users:
    2222 * The scheduler and file upload handler are CGI programs, so they run as the same user as the web server (on Fedora this is user '`apache`'; on Debian it's '`www-data`').
     
    5858When serving your project files from Apache, note that all directories up to and including the html directory must have execute permissions.  For example, if you use make_project to create the project template in your home directory, your home directory must have 711 permissions as opposed to the default of 700. If this is not corrected, you will receive a '''403 Forbidden''' error when attempted to browse to your project page. See [http://httpd.apache.org/docs/1.3/misc/FAQ.html#forbidden more information] on dealing with Apache permissions problems].
    5959
    60 === Installing BOINC software ===
     60=== Installing BOINC software === #installing
    6161 * Download and install the needed [SoftwarePrereqsUnix software prerequisites].
    6262 * [SourceCode Download] the BOINC software.
    6363 * [BuildSystem Configure and build] the BOINC software.
    6464
    65 === Operating system configuration ===
     65=== Operating system configuration === #OS-config
    6666Some parts of the BOINC server (the feeder and scheduling server) use shared memory. Hosts where these run must have shared memory enabled, with a maximum segment size of at least 32 MB. How to do this depends on the operating system; some information is [http://developer.postgresql.org/docs/postgres/kernel-resources.html here].
    6767
    68 === MySQL notes ===
     68=== MySQL notes === #MySQL-notes
    6969 * After installing and running the server, grant permissions for your own account and for the account under which Apache runs ('nobody' in the following; may be different on your machine). All MySQL accounts should be password protected, especially `root`.
    7070{{{
     
    8181 * [/mysql_cluster.txt Notes on running MySQL on a cluster].
    8282
    83 === MySQLclient notes ===
     83=== MySQLclient notes === #MySQLclient-notes
    8484 * Configure mysql with the `--enable-thread-safe-client` switch.
    8585 * Set your `LD_LIBRARY_PATH` to refer to the correct library.
    8686
    87 === Apache notes ===
     87=== Apache notes === #apache-notes
    8888In `httpd.conf`, set the default MIME type as follows (otherwise you'll get file upload signature verification errors):
    8989
     
    9494To limit denial-of-service attacks, we recommend turning off directory indexing by adding `-Indexes` to the [http://httpd.apache.org/docs/2.0/mod/core.html#options Options] directive.
    9595
    96 === PHP notes ===
     96=== PHP notes === #PHP-notes
    9797
    9898 * Make sure 'magic_quotes' are enabled (this is the default). The file `/etc/php.ini` should contain
     
    109109}}}
    110110
    111 === Common problems ===
     111=== Common problems === #common-problems
    112112
    113113After adding a new user you have to check if the home-folder was created. Sometimes it won’t, so you have to manually create it.
     
    138138}}}
    139139
    140 == Cookbook for Debian 4.0 ==
    141 
    142 === Install software prerequisites ===
     140== Cookbook for Debian 4.0 == #cookbook-debian40
     141
     142=== Install software prerequisites === #cookbook-prereq
    143143packages needed for BOINC:
    144144
     
    195195Hint: You can search packages within aptitude by pressing the '/' key.
    196196
    197 === Create a new BOINC user account ===
     197=== Create a new BOINC user account === #cookbook-useraccount
    198198Login as user ‘notroot’ with the password: ‘thoughtpolice’ (downloaded image only)
    199199
     
    239239}}}
    240240The commands configure and make could take a while, so you can fetch some coffee. ;)
    241 === Download the BOINC source code ===
     241=== Download the BOINC source code === #cookbook-download-code
    242242The latest development version can be obtained with:
    243243{{{
    244244$ cd ~
    245245$ svn co http://boinc.berkeley.edu/svn/trunk/boinc boinc_trunk
     246}}}
    246247To update the source code just go into the main directory and enter:
     248{{{
    247249$ cd ~/boinc_trunk
    248250$ svn update
    249251}}}
    250 A stable client version can be obtained with the following commands:
     252A stable '''client''' version can be obtained with the following commands:
    251253{{{
    252254$ cd ~
    253255$ svn co http://boinc.berkeley.edu/svn/tags/boinc_core_release_5_9_5/boinc boinc_595
    254256}}}
    255 Hint: Normally you won't need a self-compiled client, you can always get the latest one from here.
    256 
    257 === Compiling BOINC source code ===
     257Hint: Normally you won't need a self-compiled client, you can always get the latest one from [/download_all.php BOINC website].
     258
     259NOTE: Tags are only for client software, always checkout the latest revision for the server!
     260
     261=== Compiling BOINC source code === #cookbook-compiling
    258262Enter the following commands into the console window:
    259263{{{