Version 8 (modified by jazz, 17 years ago) (diff) |
---|
架設 BOINC Server
下載 VMWare Image
根據官方文件的說明, 安裝 BONIC Server 最容易的方法是安裝VMWare player (免費軟體/freeware)。目前有兩個 VMWare Image 可以下載:
- Berkeley BOINC 團隊提供的 VMWare Image - Debian Etch 4.0r0 32bit
- Berkeley BOINC 團隊提供的 VMWare Image - Ubuntu Feisty 7.04 32-bit
自行安裝
- 參考 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
- 使用 Berkeley BOINC 團隊提供的 VMWare Image - Debian Etch 4.0r0 32bit
- Linux 上如果遇到權限問題, 請確認解壓縮之後, vmx 檔案是否具備執行權限(Execution)