Menu

BOINC Server Setup

John Whitfield

First setup a debian commandline VM, like we did for the client...

The next part of the setup is an updated version of the instructions found at http://boinc.berkeley.edu/trac/wiki/ServerIntro
Install common (BOINC server and client) prereqs...

apt-get install m4 make autoconf automake1.9 gcc-4.1 gcc g++-4.3 g++ pkg-config libtool subversion vim

packages needed for BOINC server:

apt-get install apache2-mpm-prefork libapache2-mod-php5 mysql-client-5.1 mysql-server-5.1 php5-mysql php5-cli php5-gd phpmyadmin python-mysqldb libmysql++-dev libssl-dev

For simplicity the two install commands can be combined into...

apt-get install m4 make autoconf automake1.9 gcc-4.1 gcc g++-4.3 g++ pkg-config libtool subversion vim apache2-mpm-prefork libapache2-mod-php5 mysql-client-5.1 mysql-server-5.1 php5-mysql php5-cli php5-gd phpmyadmin python-mysqldb libmysql++-dev libssl-dev

Installs for building the client:
apt-get install libssl-dev libglut3-dev glutg3-dev libglui-dev libglitz-glx1-dev libsdl1.2-dev libcurl3-dev freeglut3 freeglut3-dev libsm-dev libice-dev libxmu-dev libxi-dev libx11-dev libjpeg62-dev libgtk2.0-0 libgtk2.0-0-dev

Now add the admin user and group:
useradd -m -s /bin/bash boincadm
usermod -G boincadm www-data

Setup mysql:
mysqladmin -h localhost -u root password mysqlrootpw

Get the current source code:
cd ~
svn co http://boinc.berkeley.edu/svn/branches/server_stable

Update it:
cd ~/server_stable
svn update

If the client is needed, which it shouldn't be, get the up to date client:
cd ~
svn co http://boinc.berkeley.edu/svn/tags/boinc_core_release_7_0_25/boinc boinc_7025

Compile and build BOINC server source code:
cd ~/server_stable
./_autosetup
To build without the client and x:
./configure --enable-server --disable-client --without-x
make


Related

Wiki: Home