Home | Mirror | Search

第 36 章 Open Source Distributed Computing

目錄

1. Boinc (berkeley 分散式計算平台)
1.1. rc.local
2. ubuntu apt-get 安裝
3. boinccmd
3.1. attach_project
3.2. nomorework | allowmorework 禁止下載任務 / 允許下載任務

1. Boinc (berkeley 分散式計算平台)

下載Boinc

$ wget http://boinc.berkeley.edu/dl/boinc_5.6.4_i686-pc-linux-gnu.sh
netkiller@Linux-server:~$ wget http://boinc.berkeley.edu/dl/boinc_5.6.4_i686-pc-linux-gnu.sh
--11:02:36--  http://boinc.berkeley.edu/dl/boinc_5.6.4_i686-pc-linux-gnu.sh
           => `boinc_5.6.4_i686-pc-linux-gnu.sh'
Resolving boinc.berkeley.edu... 128.32.18.189
Connecting to boinc.berkeley.edu|128.32.18.189|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,205,541 (3.1M) [application/x-sh]

100%[====================================>] 3,205,541      8.95K/s    ETA 00:00

11:08:45 (8.53 KB/s) - `boinc_5.6.4_i686-pc-linux-gnu.sh' saved [3205541/3205541]

		
$ chmod +x boinc_5.6.4_i686-pc-linux-gnu.sh$ ./boinc_5.6.4_i686-pc-linux-gnu.sh
netkiller@Linux-server:~$ chmod +x boinc_5.6.4_i686-pc-linux-gnu.sh
netkiller@Linux-server:~$ ./boinc_5.6.4_i686-pc-linux-gnu.sh
use /home/netkiller/BOINC/run_manager to start BOINC
netkiller@Linux-server:~$ ls
BOINC  boinc_5.6.4_i686-pc-linux-gnu.sh  public_html  www
netkiller@Linux-server:~$ cd BOINC/
netkiller@Linux-server:~/BOINC$ ls
binstall.sh  boincmgr            boincmgr.8x8.png  run_client
boinc        boincmgr.16x16.png  ca-bundle.crt     run_manager
boinc_cmd    boincmgr.32x32.png  locale
netkiller@Linux-server:~/BOINC$

		

添加項目

$ ./boinc --attach_project http://setiathome.berkeley.edu/ 3d996959b1f88df43048f87c3c0c999f
		

運行Boinc

./boinc -daemon -no_gui_rpc

1.1. rc.local

/home/neo/BOINC/run_client --daemon
			
comments powered by Disqus