Changes between Version 44 and Version 45 of ServerIntro
- Timestamp:
- Jun 16, 2008, 5:01:03 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ServerIntro
v44 v45 7 7 For experimentation and debugging, 8 8 you can use almost any computer as a BOINC server. 9 10 9 Before deploying a project more widely, 11 10 make sure that your server has adequate performance, availability, and security. … … 17 16 * Make it secure; turn off any unneeded network services, especially those that use cleartext passwords. 18 17 19 More information is [MultiHost here]. 18 Info on increasing capacity and reliability is [MultiHost here]. 19 20 20 == Software == 21 21 22 22 There are several ways to deploy the BOINC server software: 23 23 24 * The easiest (and recommended)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.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 25 26 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)]]. … … 116 116 === PHP notes === #PHP-notes 117 117 118 * Make sure 'magic_quotes' are enabled (this is the default). The file `/etc/php.ini` should contain119 {{{120 magic_quotes_gpc = On121 }}}122 118 * 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: 123 119 * Download PHPMailer and put it under PROJECT/html/inc/phpmailer. … … 131 127 === Common problems === #common-problems 132 128 133 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. 129 After adding a new user, 130 you have to check if the home directory was created. Sometimes you have to manually create it. 134 131 {{{ 135 132 $ mkdir /home/{username} 136 133 $ chown {username}:{username} /home/{username} 137 134 }}} 138 The link /usr/bin/gcc that points to the currently used compiler could be missing. This could lead to errors when running the make command. Especially when trying to compile the graphical part of the API you need the /usr/bin/g++ link (make gives a warning that it couldn't find GL/GLU/GLUT although it is installed). So you have to create the symbolic links, depending on your gcc and g++ version, first. 135 The link /usr/bin/gcc that points to the currently used compiler could be missing. 136 This could lead to errors when running the make command. 137 Especially when trying to compile the graphical part of the API you need the /usr/bin/g++ link 138 (make gives a warning that it couldn't find GL/GLU/GLUT although it is installed). 139 So you have to create the symbolic links, depending on your gcc and g++ version, first. 139 140 {{{ 140 141 $ ln -s /usr/bin/gcc-4.11 /usr/bin/gcc 141 142 $ ln -s /usr/bin/g++-4.11 /usr/bin/g++ 142 143 }}} 143 At newer linux distributions you can’t login as user root. Instead there is a user notroot with whom you can login, but you won’t have root privileges. If an application or script needs root privileges, you are forced to enter the password you entered during the installation. In the console window you can get root privileges with the su (Debian) or sudo (Ubuntu, Fedora) command also. Note the inverted commas around the command when using su -c ! 144 At newer linux distributions you can’t login as user root. 145 Instead there is a user notroot with whom you can login, but you won’t have root privileges. 146 If an application or script needs root privileges, 147 you are forced to enter the password you entered during the installation. 148 In the console window you can get root privileges with the su (Debian) or sudo (Ubuntu, Fedora) command also. 149 Note the inverted commas around the command when using su -c ! 144 150 {{{ 145 151 $ su -c {'command'}