Changes between Version 45 and Version 46 of ServerIntro


Ignore:
Timestamp:
Jun 20, 2008, 7:31:25 AM (16 years ago)
Author:
Nicolas
Comment:

some cleanup

Legend:

Unmodified
Added
Removed
Modified
  • ServerIntro

    v45 v46  
    1414 * Do whatever you can to make it highly reliable (UPS power supply, RAID disk configuration, hot-swappable spares, temperature-controlled machine room, etc.).
    1515 * Put it behind a firewall.
    16  * Make it secure; turn off any unneeded network services, especially those that use cleartext passwords.
     16 * Make it secure; turn off any unneeded network services, especially those that use plaintext passwords (like FTP or Telnet).
    1717
    1818Info on increasing capacity and reliability is [MultiHost here].
     
    2222There are several ways to deploy the BOINC server software:
    2323
    24  * The easiest way to set up a BOINC server is to use a [VmServer BOINC server VM] that we've created for that purpose, with all the necessary software already installed.  You can run this virtual machine using the [http://www.vmware.com/download/player/ VMWare player] and any Intel-based computer (Windows, Linux, or Mac OS X).  If you take this approach, skip the rest of this page.
    25 
    26  * A BOINC server package is available for [http://wiki.debian.org/BOINC/Server Debian].  If anyone is interested in helping maintaining a boinc-server package for Debian, please contact [[T(MailHide|pkg-boinc-devel mailing list|k=01DcXFH1P8cFLSDzIkmj5Z9A==&c=xLJ3Vs4jGjPEMhQUlAORIMssfyWsPVJMsYbkm_MGpkMWajpOBmWoSZKi_KXPiqPa)]].
     24 * The easiest way to set up a BOINC server is to use a [VmServer BOINC server VM] that we've created for that purpose, with all the necessary software already installed. You can run this virtual machine using the [http://www.vmware.com/download/player/ VMWare player] and any Intel-based computer (Windows, Linux, or Mac OS X).  f you take this approach, skip the rest of this page.
     25
     26 * A BOINC server package is available for [http://wiki.debian.org/BOINC/Server Debian]. If anyone is interested in helping maintaining a boinc-server package for Debian, please contact [[T(MailHide|pkg-boinc-devel mailing list|k=01DcXFH1P8cFLSDzIkmj5Z9A==&c=xLJ3Vs4jGjPEMhQUlAORIMssfyWsPVJMsYbkm_MGpkMWajpOBmWoSZKi_KXPiqPa)]].
    2727
    2828 * You can use any Unix system as a BOINC server; we recommend using a recent Linux release. General instructions are given below, followed by a [#cookbook-debian40 a cookbook for setting up a BOINC server on a Debian 4.0 system].
     
    3232BOINC server programs run as two different users:
    3333 * 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`').
    34  * BOINC daemons runs as whoever created the project (let's say user '`boincadm`', group '`boinc`').  '''Do not run BOINC daemons (or anything else) as root'''.
     34 * BOINC daemons runs as whoever created the project (let's say user '`boincadm`', group '`boinc`'). '''Do not run BOINC daemons (or anything else) as root'''.
    3535
    3636By default, the directories created by user apache are not world-writable. This causes problems: for example, when the file upload handler creates a directory in the [DirHierarchy upload hierarchy], it's owned by (apache, apache), and the [FileDeleter file deleter] (which runs as `boincadm`) won't be able to delete the files there.
     
    6767You may also need to change the ownership of these directories and all their subdirectories to `boincadm/boinc`.  If you're running several projects on the same server and want to isolate them from each other, you can create a different user and group for each project, and add `apache` to all of the groups.
    6868
    69 When 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].
     69When 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].
    7070
    7171=== Installing BOINC software === #installing
     
    7575
    7676=== Operating system configuration === #OS-config
    77 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].
     77Some 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; read [http://developer.postgresql.org/docs/postgres/kernel-resources.html Managing Kernel Resources on PostgreSQL manual] for more information.
    7878
    7979=== MySQL notes === #MySQL-notes
     
    160160{username} ALL=(ALL) ALL
    161161}}}
    162 The Ubuntu and !FedoraCore6 libcurl3-dev package is not recent enough for BOINC. So you have to install the latest version manually. The best way is to [http://curl.haxx.se/download/ download the latest debian packages] and install with the dpkg command after downloading to your homefolder.
     162The Ubuntu and !FedoraCore6 libcurl3-dev package is not recent enough for BOINC. So you have to install the latest version manually. The best way is to [http://curl.haxx.se/download/ download the latest debian packages] and install with the dpkg command after downloading to your home directory.
    163163{{{
    164164$ sudo dpkg -i libcurl3_7.15.5-1_i386.deb