Changes between Version 14 and Version 15 of ServerIntro

Jul 6, 2007, 1:20:46 PM (15 years ago)



  • ServerIntro

    v14 v15  
    1212If you take this approach, skip the rest of this page.
    14 Otherwise, you can potentially use any Unix system as a BOINC server
    15 (we recommend using a recent Linux release).
    16 The remainder of this page describes how to configure this
    17 system to act as a BOINC server.
     14Otherwise, you can potentially use any Unix system as a BOINC server;
     15we recommend using a recent Linux release.
     16A cookbook for setting up a BOINC server on a Debian 4.0 system is [#DebianCookbook here].
     18The following sections describes how to configure any Linux system to act as a BOINC server.
    1920== Groups and permissions ==
     109== Cookbook for Debian 4.0 ==
     111=== Install software prerequisites ===
     112packages needed for BOINC:
     152optional packages for a graphical desktop manager
     161This list contains all necessary packages for the BOINC server and the client components. At first startup, these packages should be installed with aptitude. The graphical desktop manager is optional, but makes the configuration of the server a bit easier.
     162      The list contains no security packages to secure your server! Please ask your system administrator or read a good linux book on how to secure your server against attacks.
     164        Hint: You can search packages within aptitude by pressing the ‘/’ key.
     166=== Create a new BOINC user account ===
     167      Login as user ‘notroot’ with the password: ‘thoughtpolice’ (downloaded image only)
     169      Go to ‘K-Menu’ -> ‘Settings’ -> ‘System Administration’ -> ‘User Management’, claim administrative privileges with password: ‘thoughtpolice’ (downloaded image only)
     171      Create a new user, for example: boincadm
     173      After that go to the ‘Groups’ tab and add the user ‘www-data’ to the group ‘boincadm’.
     175      Logout and login again as user boincadm if this is done.
     176=== Configuration of the MySQL server ===
     177      Open a new console window (’K-menu’ -> ‘Debian’ -> ‘XShells’ -> ‘Konsole’).
     179      Define a new MySQL root password.
     181$ mysqladmin -h localhost -u root password mysqlrootpw {or own}
     183      Create a new MySQL database user account.
     185      $ mysql -h localhost -u root -p
     186      > GRANT ALL ON *.* TO 'boincadm'@'localhost';
     187      > SET PASSWORD FOR 'boincadm'@'localhost'='';
     189The permissions can be limited to project database only, later;
     190Defining an empty password simplifies the installation, can be changed later.
     192=== Install the wxWidget library ===
     193      Download the latest wxGTK version [ here].
     195      Extract the contents of the file into ~/wxGTK-2.8.3
     197      After this enter the following commands into the console window in this order:
     199$ cd ~/wxGTK-2.8.3
     200$ mkdir gtkbuild
     201$ cd gtkbuild
     202$ ../configure --with-gtk --disable-shared
     203$ make
     204$ su root
     205# make install
     206# ldconfig
     207# exit
     209      The commands configure and make could take a while, so you can fetch some coffee. ;)
     210=== Download the BOINC source code ===
     211      The latest development version can be obtained with:
     213$ cd ~
     214$ svn co boinc_trunk
     215To update the source code just go into the main directory and enter:
     216$ cd ~/boinc_trunk
     217$ svn update
     219A stable client version can be obtained with the following commands:
     221$ cd ~
     222$ svn co boinc_595
     224          Hint: Normally you won’t need a self-compiled client, you can always get the latest one from here.
     226=== Compiling BOINC source code ===
     227      Enter the following commands into the console window:
     229$ cd ~/boinc_trunk
     230$ ./_autosetup
     231$ ./configure
     232$ make
     234That’s everything you need to know about compiling the BOINC software. Now you you are able to create your own BOINC project. I’m going to explain this in my next entry.