wiki:BOINC/Server

Version 8 (modified by jazz, 17 years ago) (diff)

--

架設 BOINC Server

下載 VMWare Image

根據官方文件的說明, 安裝 BONIC Server 最容易的方法是安裝VMWare player (免費軟體/freeware)。目前有兩個 VMWare Image 可以下載:

自行安裝

  • 參考 Cookbook for Debian 4.0
  • BOINC Server 基本的套件需求
    $ apt-get update
    $ apt-get upgrade
    $ apt-get install m4 make autoconf automake gcc g++ pkg-config libtool subversion vim apache2-mpm-prefork libapache2-mod-php5 mysql-server mysql-client-5.0 mysql-client-5.0 php5-mysql php5-cli php5-gd phpmyadmin python-mysqldb libmysql++-dev libssl-dev
    
  • 建立 BOINC 管理者帳號
    ~# adduser boincadm
    Adding user `boincadm' ...
    Adding new group `boincadm' (1001) ...
    Adding new user `boincadm' (1001) with group `boincadm' ...
    Creating home directory `/home/boincadm' ...
    Copying files from `/etc/skel' ...
    Enter new UNIX password:
    Retype new UNIX password:
    passwd: password updated successfully
    Changing the user information for boincadm
    Enter the new value, or press ENTER for the default
            Full Name []:
            Room Number []:
            Work Phone []:
            Home Phone []:
            Other []:
    Is the information correct? [y/N] y
    
  • 修改 MySQL Server 預設 root 密碼
    # mysqladmin -h localhost -u root password '新的 MySQL Root 密碼'
    
  • 建立 BOINC SQL 管理者 boincadm 權限
    $ mysql -h localhost -u root -p
    > GRANT ALL ON *.* TO 'boincadm'@'localhost';
    > SET PASSWORD FOR 'boincadm'@'localhost'=''; 
    > quit
    
  • $ cd ~
    $ svn co http://boinc.berkeley.edu/svn/trunk/boinc boinc_trunk
    $ svn update
    $ cd ~/boinc_trunk
    $ ./_autosetup
    $ ./configure --disable-client
    $ make
    

測試 BOINC Server