Changes between Version 44 and Version 45 of ServerIntro


Ignore:
Timestamp:
Jun 16, 2008, 5:01:03 PM (16 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ServerIntro

    v44 v45  
    77For experimentation and debugging,
    88you can use almost any computer as a BOINC server.
    9 
    109Before deploying a project more widely,
    1110make sure that your server has adequate performance, availability, and security.
     
    1716 * Make it secure; turn off any unneeded network services, especially those that use cleartext passwords.
    1817
    19 More information is [MultiHost here].
     18Info on increasing capacity and reliability is [MultiHost here].
     19
    2020== Software ==
    2121
    2222There are several ways to deploy the BOINC server software:
    2323
    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.
    2525
    2626 * 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)]].
     
    116116=== PHP notes === #PHP-notes
    117117
    118  * Make sure 'magic_quotes' are enabled (this is the default). The file `/etc/php.ini` should contain
    119 {{{
    120 magic_quotes_gpc = On
    121 }}}
    122118 * 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:
    123119  * Download PHPMailer and put it under PROJECT/html/inc/phpmailer.
     
    131127=== Common problems === #common-problems
    132128
    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.
     129After adding a new user,
     130you have to check if the home directory was created. Sometimes you have to manually create it.
    134131{{{
    135132$ mkdir /home/{username}
    136133$ chown {username}:{username} /home/{username}
    137134}}}
    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.
     135The link /usr/bin/gcc that points to the currently used compiler could be missing.
     136This could lead to errors when running the make command.
     137Especially 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).
     139So you have to create the symbolic links, depending on your gcc and g++ version, first.
    139140{{{
    140141$ ln -s /usr/bin/gcc-4.11 /usr/bin/gcc
    141142$ ln -s /usr/bin/g++-4.11 /usr/bin/g++
    142143}}}
    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 !
     144At newer linux distributions you can’t login as user root.
     145Instead there is a user notroot with whom you can login, but you won’t have root privileges.
     146If an application or script needs root privileges,
     147you are forced to enter the password you entered during the installation.
     148In the console window you can get root privileges with the su (Debian) or sudo (Ubuntu, Fedora) command also.
     149Note the inverted commas around the command when using su -c !
    144150{{{
    145151$ su -c {'command'}