Changes between Version 27 and Version 28 of ServerIntro
- Timestamp:
- Jul 17, 2007, 5:30:06 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ServerIntro
v27 v28 1 1 [[PageOutline]] 2 2 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 6 6 7 7 The easiest (and recommended) way to set up a BOINC server is … … 17 17 [#CookbookforDebian4.0 a cookbook for setting up a BOINC server on a Debian 4.0 system]. 18 18 19 == General instructions == 20 === Groups and permissions === 19 == General instructions == #general 20 === Groups and permissions === #permissions 21 21 BOINC server programs run as two different users: 22 22 * 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`'). … … 58 58 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]. 59 59 60 === Installing BOINC software === 60 === Installing BOINC software === #installing 61 61 * Download and install the needed [SoftwarePrereqsUnix software prerequisites]. 62 62 * [SourceCode Download] the BOINC software. 63 63 * [BuildSystem Configure and build] the BOINC software. 64 64 65 === Operating system configuration === 65 === Operating system configuration === #OS-config 66 66 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]. 67 67 68 === MySQL notes === 68 === MySQL notes === #MySQL-notes 69 69 * 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`. 70 70 {{{ … … 81 81 * [/mysql_cluster.txt Notes on running MySQL on a cluster]. 82 82 83 === MySQLclient notes === 83 === MySQLclient notes === #MySQLclient-notes 84 84 * Configure mysql with the `--enable-thread-safe-client` switch. 85 85 * Set your `LD_LIBRARY_PATH` to refer to the correct library. 86 86 87 === Apache notes === 87 === Apache notes === #apache-notes 88 88 In `httpd.conf`, set the default MIME type as follows (otherwise you'll get file upload signature verification errors): 89 89 … … 94 94 To 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. 95 95 96 === PHP notes === 96 === PHP notes === #PHP-notes 97 97 98 98 * Make sure 'magic_quotes' are enabled (this is the default). The file `/etc/php.ini` should contain … … 109 109 }}} 110 110 111 === Common problems === 111 === Common problems === #common-problems 112 112 113 113 After 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. … … 138 138 }}} 139 139 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 143 143 packages needed for BOINC: 144 144 … … 195 195 Hint: You can search packages within aptitude by pressing the '/' key. 196 196 197 === Create a new BOINC user account === 197 === Create a new BOINC user account === #cookbook-useraccount 198 198 Login as user ‘notroot’ with the password: ‘thoughtpolice’ (downloaded image only) 199 199 … … 239 239 }}} 240 240 The 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 242 242 The latest development version can be obtained with: 243 243 {{{ 244 244 $ cd ~ 245 245 $ svn co http://boinc.berkeley.edu/svn/trunk/boinc boinc_trunk 246 }}} 246 247 To update the source code just go into the main directory and enter: 248 {{{ 247 249 $ cd ~/boinc_trunk 248 250 $ svn update 249 251 }}} 250 A stable clientversion can be obtained with the following commands:252 A stable '''client''' version can be obtained with the following commands: 251 253 {{{ 252 254 $ cd ~ 253 255 $ svn co http://boinc.berkeley.edu/svn/tags/boinc_core_release_5_9_5/boinc boinc_595 254 256 }}} 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 === 257 Hint: Normally you won't need a self-compiled client, you can always get the latest one from [/download_all.php BOINC website]. 258 259 NOTE: Tags are only for client software, always checkout the latest revision for the server! 260 261 === Compiling BOINC source code === #cookbook-compiling 258 262 Enter the following commands into the console window: 259 263 {{{