Changes between Version 45 and Version 46 of ServerIntro
- Timestamp:
- Jun 20, 2008, 7:31:25 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ServerIntro
v45 v46 14 14 * Do whatever you can to make it highly reliable (UPS power supply, RAID disk configuration, hot-swappable spares, temperature-controlled machine room, etc.). 15 15 * 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). 17 17 18 18 Info on increasing capacity and reliability is [MultiHost here]. … … 22 22 There are several ways to deploy the BOINC server software: 23 23 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]. 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)]]. 27 27 28 28 * 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]. … … 32 32 BOINC server programs run as two different users: 33 33 * 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`'). 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'''. 35 35 36 36 By 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. … … 67 67 You 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. 68 68 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].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]. 70 70 71 71 === Installing BOINC software === #installing … … 75 75 76 76 === 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].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; read [http://developer.postgresql.org/docs/postgres/kernel-resources.html Managing Kernel Resources on PostgreSQL manual] for more information. 78 78 79 79 === MySQL notes === #MySQL-notes … … 160 160 {username} ALL=(ALL) ALL 161 161 }}} 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 home folder.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 home directory. 163 163 {{{ 164 164 $ sudo dpkg -i libcurl3_7.15.5-1_i386.deb