close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_core.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
May 8, 2008, 9:55:12 AM (18 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v22
|
v23
|
|
| 25 | 25 | * '''前置作業''': 建立 BOINC Server Xen VM (Etch) |
| 26 | 26 | {{{ |
| 27 | | xen-server:~# xen-create-image -dir /home/xen --dist etch --debootstrap --fs reiserfs --accounts --kernel /boot/vmlinuz-2.6.18-6-xen-vserver-amd64 --initrd /boot/initrd.img-2.6.18-6-xen-vserver-amd64 --hostname boinc-server --ip 140.110.240.194 --gateway 140.110.240.254 --netmask 255.255.255.0 --mirror http://free.nchc.org.tw/debian |
| | 27 | xen-server:~# xen-create-image -dir /home/xen --dist etch --debootstrap --fs reiserfs --accounts --kernel /boot/vmlinuz-2.6.18-6-xen-vserver-amd64 --initrd /boot/initrd.img-2.6.18-6-xen-vserver-amd64 --hostname boinc-server --ip 140.110.240.195 --gateway 140.110.240.254 --netmask 255.255.255.0 --mirror http://free.nchc.org.tw/debian |
| 28 | 28 | xen-server:~# xm create /etc/xen/boinc-server.cfg |
| 29 | 29 | xen-server:~# xm list |
| … |
… |
|
| 80 | 80 | {{{ |
| 81 | 81 | boinc-server:~# cd ~/boinc_trunk/tools |
| 82 | | boinc-server:~/boinc_trunk/tools# ./make_project --url_base http://140.110.240.194/ --db_host localhost --db_user boincadm --project_root /var/www/boinc_projects --delete_prev_inst --drop_db_first --test_app bioinfo |
| | 82 | boinc-server:~/boinc_trunk/tools# ./make_project --url_base http://140.110.240.195/ --db_host localhost --db_user boincadm --project_root /var/www/boinc_projects --delete_prev_inst --drop_db_first --test_app bioinfo |
| 83 | 83 | boinc-server:~/boinc_trunk/tools# chown -R www-data:www-data /var/www/boinc_projects |
| 84 | 84 | boinc-server:~/boinc_trunk/tools# cd /var/www/boinc_projects |
| … |
… |
|
| 215 | 215 | }}} |
| 216 | 216 | * 檢視 BOINC Project 範例 |
| 217 | | * 專案計畫首頁 - http://140.110.240.194/bioinfo |
| 218 | | * 專案管理首頁 - http://140.110.240.194/bioinfo_ops/ |
| | 217 | * 專案計畫首頁 - http://140.110.240.195/bioinfo |
| | 218 | * 專案管理首頁 - http://140.110.240.195/bioinfo_ops/ |
| 219 | 219 | |
| 220 | 220 | == 測試 BOINC Project 範例 == |
| … |
… |
|
| 224 | 224 | boinc-client:~# apt-get install boinc-client |
| 225 | 225 | }}} |
| 226 | | * STEP 2: 其次是前往 http://140.110.240.194/bioinfo/create_account_form.php 註冊帳號 |
| | 226 | * STEP 2: 其次是前往 http://140.110.240.195/bioinfo/create_account_form.php 註冊帳號 |
| 227 | 227 | * 取得 Account key , 例如: 8346cd95017b110ee2ecd88ed7734981 |
| 228 | | * [備註] 相同的資訊可以登入後, 在 http://140.110.240.194/bioinfo/home.php 取得 |
| | 228 | * [備註] 相同的資訊可以登入後, 在 http://140.110.240.195/bioinfo/home.php 取得 |
| 229 | 229 | * 亦可使用命令列取得 Account key |
| 230 | 230 | {{{ |
| … |
… |
|
| 237 | 237 | * STEP 3: 測試 boinc-client 登入 BOINC Project 範例 |
| 238 | 238 | {{{ |
| 239 | | boinc-client:~# boinc -attach_project http://140.110.240.194/bioinfo 8346cd95017b110ee2ecd88ed7734981 & |
| | 239 | boinc-client:~# boinc -attach_project http://140.110.240.195/bioinfo 8346cd95017b110ee2ecd88ed7734981 & |
| 240 | 240 | ########################### 說明 ######################################### |
| 241 | 241 | boinc-server:~# boinc -attach_project ${專案網址} ${線上申請到的_Account_key} & |