Changes between Version 1 and Version 2 of ServerIntro


Ignore:
Timestamp:
Apr 24, 2007, 7:00:01 PM (15 years ago)
Author:
Nicolas
Comment:

Required manual changes to the automatic script formatting. I fixed a few things on the script, next page will need fewer manual changes

Legend:

Unmodified
Added
Removed
Modified
  • ServerIntro

    v1 v2  
    11= Setting up a BOINC server =
    22
    3       You can potentially use any Unix system as a BOINC server. Our recommendations are:  * '''Hardware''': use a host with good CPU capacity (dual Xeon or Opteron), at least 2 GB of RAM, and at least 40 GB of free disk space. Do whatever you can to make it highly reliable (UPS power supply, RAID disk configuration, hot-swappable spares, tempurature-controlled machine room, etc.). If you anticipate a high-traffic project, use a machine whose RAM capacity is 8 GB or more, and that uses 64-bit processors. If your server capacity is exceeded, you can increase capacity using [http://boinc.berkeley.edu/multi_host.php multiple server hosts]. However, we recommend that you not do this initially. In most cases one host is enough.
     3You can potentially use any Unix system as a BOINC server. Our recommendations are:
     4
     5 * '''Hardware''': use a host with good CPU capacity (dual Xeon or Opteron), at least 2 GB of RAM, and at least 40 GB of free disk space. Do whatever you can to make it highly reliable (UPS power supply, RAID disk configuration, hot-swappable spares, tempurature-controlled machine room, etc.). If you anticipate a high-traffic project, use a machine whose RAM capacity is 8 GB or more, and that uses 64-bit processors. If your server capacity is exceeded, you can increase capacity using [http://boinc.berkeley.edu/multi_host.php multiple server hosts]. However, we recommend that you not do this initially. In most cases one host is enough.
    46 * '''Software''': use a recent Linux release.
    57
    68== Groups and permissions ==
    7  We recommend that you create a separate user and group for the BOINC server, and add the web-server user to this group. Details are [http://boinc.berkeley.edu/groups.php here].
     9We recommend that you create a separate user and group for the BOINC server, and add the web-server user to this group. Details are [http://boinc.berkeley.edu/groups.php here].
    810
    911== Installing BOINC software ==
    10   * Download and install whatever [http://boinc.berkeley.edu/trac/wiki/SoftwarePrereqsUnix software prerequisites] are needed on your system.
     12 * Download and install whatever [http://boinc.berkeley.edu/trac/wiki/SoftwarePrereqsUnix software prerequisites] are needed on your system.
    1113 * [http://boinc.berkeley.edu/source_code.php Download the BOINC software].
    1214 * [http://boinc.berkeley.edu/build_system.php Configure and build] the BOINC software.
    1315
    1416== Operating system configuration ==
    15   Some 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].   == MySQL notes ==
    16   * 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 including root.
     17Some 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].
     18
     19== MySQL notes ==
     20 * 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 including root.
    1721{{{
    18     mysql -u root
    19     grant all on *.* to yourname@localhost identified by 'password';
    20     grant all on *.* to yourname identified by 'password';
    21     grant all on *.* to nobody@localhost identified by 'password';
    22     grant all on *.* to nobody identified by 'password';
     22mysql -u root
     23grant all on *.* to yourname@localhost identified by 'password';
     24grant all on *.* to yourname identified by 'password';
     25grant all on *.* to nobody@localhost identified by 'password';
     26grant all on *.* to nobody identified by 'password';
    2327}}}
    2428 * Set your PATH variable to include MySQL programs (typically /usr/local/mysql and /usr/local/mysql/bin).
     
    2933
    3034== MySQLclient notes ==
    31   * Configure mysql with the --enable-thread-safe-client switch.
     35 * Configure mysql with the --enable-thread-safe-client switch.
    3236 * Set your LD_LIBRARY_PATH to refer to the correct library.
    3337
     
    3943DefaultType application/octet-stream
    4044}}}
    41  To limit denial-of-service attacks, we recommend turning off directory indexing by adding -Indexes to the Options directive.   == PHP notes ==
    42   * Make sure 'magic quotes' are enabled (this is the default). The file /etc/php.ini should contain
     45
     46To limit denial-of-service attacks, we recommend turning off directory indexing by adding -Indexes to the Options directive.
     47
     48== PHP notes ==
     49
     50 * Make sure 'magic quotes' are enabled (this is the default). The file /etc/php.ini should contain
    4351{{{
    4452magic_quotes_gpc = On
    4553}}}
    46  * By default, BOINC uses PHP's mail function to send email to participants. This uses sendmail. If this doesn't work, you can use [http://phpmailer.sourceforge.net/ PHPMailer] instead, which is a very flexible mail-sending mechanism. To do this:   * Download PHPMailer and put it under PROJECT/html/inc/phpmailer.
     54 * By default, BOINC uses PHP's mail function to send email to participants. This uses sendmail. If this doesn't work, you can use [http://phpmailer.sourceforge.net/ PHPMailer] instead, which is a very flexible mail-sending mechanism. To do this:
     55  * Download PHPMailer and put it under PROJECT/html/inc/phpmailer.
    4756  * Set the following variables in your PROJECT/html/project/project.inc file (substitute your own values):
    4857{{{