Changes between Version 21 and Version 22 of ServerIntro
- Timestamp:
- Jul 14, 2007, 9:41:06 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ServerIntro
v21 v22 73 73 grant all on *.* to nobody identified by 'password'; 74 74 }}} 75 * Set your PATHvariable to include MySQL programs (typically /usr/local/mysql and /usr/local/mysql/bin).75 * Set your `PATH` environment variable to include MySQL programs (typically /usr/local/mysql and /usr/local/mysql/bin). 76 76 * You'll need to back up your database. Generally this requires stopping the project, making a copy or snapshot, and restarting. An example is [http://boinc.berkeley.edu/mysql_backup.txt here]. 77 77 * BOINC gets MySQL compiler and linker flags from a program called mysql_config which comes with your MySQL distribution. This sometimes references libraries that are not part of your base system installation, such as -lnsl or -lnss_files. You may need to install additional packages (often you can use something called 'mysql-dev' or 'mysql-devel') or fiddle with Makefiles. … … 80 80 81 81 === MySQLclient notes === 82 * Configure mysql with the --enable-thread-safe-clientswitch.83 * Set your LD_LIBRARY_PATHto refer to the correct library.82 * Configure mysql with the `--enable-thread-safe-client` switch. 83 * Set your `LD_LIBRARY_PATH` to refer to the correct library. 84 84 85 85 === Apache notes === 86 In httpd.conf, set the default MIME type as follows (otherwise you'll get file upload signature verification errors):86 In `httpd.conf`, set the default MIME type as follows (otherwise you'll get file upload signature verification errors): 87 87 88 88 {{{ … … 90 90 }}} 91 91 92 To limit denial-of-service attacks, we recommend turning off directory indexing by adding -Indexes to the Optionsdirective.92 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. 93 93 94 94 === PHP notes === 95 95 96 * Make sure 'magic quotes' are enabled (this is the default). The file /etc/php.inishould contain96 * Make sure 'magic_quotes' are enabled (this is the default). The file `/etc/php.ini` should contain 97 97 {{{ 98 98 magic_quotes_gpc = On 99 99 }}} 100 * By default, BOINC uses PHP's mailfunction 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:100 * 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: 101 101 * Download PHPMailer and put it under PROJECT/html/inc/phpmailer. 102 102 * Set the following variables in your PROJECT/html/project/project.inc file (substitute your own values):