特殊:Badtitle/NS100:FoldingJam/origami
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/FoldingJam/origami }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/af | • {{#if: UbuntuHelp:FoldingJam/origami|Afrikaans| [[::FoldingJam/origami/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/ar | • {{#if: UbuntuHelp:FoldingJam/origami|العربية| [[::FoldingJam/origami/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/az | • {{#if: UbuntuHelp:FoldingJam/origami|azərbaycanca| [[::FoldingJam/origami/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/bcc | • {{#if: UbuntuHelp:FoldingJam/origami|جهلسری بلوچی| [[::FoldingJam/origami/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/bg | • {{#if: UbuntuHelp:FoldingJam/origami|български| [[::FoldingJam/origami/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/br | • {{#if: UbuntuHelp:FoldingJam/origami|brezhoneg| [[::FoldingJam/origami/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/ca | • {{#if: UbuntuHelp:FoldingJam/origami|català| [[::FoldingJam/origami/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/cs | • {{#if: UbuntuHelp:FoldingJam/origami|čeština| [[::FoldingJam/origami/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/de | • {{#if: UbuntuHelp:FoldingJam/origami|Deutsch| [[::FoldingJam/origami/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/el | • {{#if: UbuntuHelp:FoldingJam/origami|Ελληνικά| [[::FoldingJam/origami/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/es | • {{#if: UbuntuHelp:FoldingJam/origami|español| [[::FoldingJam/origami/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/fa | • {{#if: UbuntuHelp:FoldingJam/origami|فارسی| [[::FoldingJam/origami/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/fi | • {{#if: UbuntuHelp:FoldingJam/origami|suomi| [[::FoldingJam/origami/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/fr | • {{#if: UbuntuHelp:FoldingJam/origami|français| [[::FoldingJam/origami/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/gu | • {{#if: UbuntuHelp:FoldingJam/origami|ગુજરાતી| [[::FoldingJam/origami/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/he | • {{#if: UbuntuHelp:FoldingJam/origami|עברית| [[::FoldingJam/origami/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/hu | • {{#if: UbuntuHelp:FoldingJam/origami|magyar| [[::FoldingJam/origami/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/id | • {{#if: UbuntuHelp:FoldingJam/origami|Bahasa Indonesia| [[::FoldingJam/origami/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/it | • {{#if: UbuntuHelp:FoldingJam/origami|italiano| [[::FoldingJam/origami/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/ja | • {{#if: UbuntuHelp:FoldingJam/origami|日本語| [[::FoldingJam/origami/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/ko | • {{#if: UbuntuHelp:FoldingJam/origami|한국어| [[::FoldingJam/origami/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/ksh | • {{#if: UbuntuHelp:FoldingJam/origami|Ripoarisch| [[::FoldingJam/origami/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/mr | • {{#if: UbuntuHelp:FoldingJam/origami|मराठी| [[::FoldingJam/origami/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/ms | • {{#if: UbuntuHelp:FoldingJam/origami|Bahasa Melayu| [[::FoldingJam/origami/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/nl | • {{#if: UbuntuHelp:FoldingJam/origami|Nederlands| [[::FoldingJam/origami/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/no | • {{#if: UbuntuHelp:FoldingJam/origami|norsk| [[::FoldingJam/origami/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/oc | • {{#if: UbuntuHelp:FoldingJam/origami|occitan| [[::FoldingJam/origami/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/pl | • {{#if: UbuntuHelp:FoldingJam/origami|polski| [[::FoldingJam/origami/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/pt | • {{#if: UbuntuHelp:FoldingJam/origami|português| [[::FoldingJam/origami/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/ro | • {{#if: UbuntuHelp:FoldingJam/origami|română| [[::FoldingJam/origami/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/ru | • {{#if: UbuntuHelp:FoldingJam/origami|русский| [[::FoldingJam/origami/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/si | • {{#if: UbuntuHelp:FoldingJam/origami|සිංහල| [[::FoldingJam/origami/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/sq | • {{#if: UbuntuHelp:FoldingJam/origami|shqip| [[::FoldingJam/origami/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/sr | • {{#if: UbuntuHelp:FoldingJam/origami|српски / srpski| [[::FoldingJam/origami/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/sv | • {{#if: UbuntuHelp:FoldingJam/origami|svenska| [[::FoldingJam/origami/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/th | • {{#if: UbuntuHelp:FoldingJam/origami|ไทย| [[::FoldingJam/origami/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/tr | • {{#if: UbuntuHelp:FoldingJam/origami|Türkçe| [[::FoldingJam/origami/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/vi | • {{#if: UbuntuHelp:FoldingJam/origami|Tiếng Việt| [[::FoldingJam/origami/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/yue | • {{#if: UbuntuHelp:FoldingJam/origami|粵語| [[::FoldingJam/origami/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/zh | • {{#if: UbuntuHelp:FoldingJam/origami|中文| [[::FoldingJam/origami/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/zh-hans | • {{#if: UbuntuHelp:FoldingJam/origami|中文(简体)| [[::FoldingJam/origami/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingJam/origami | UbuntuHelp:FoldingJam/origami | {{#if: | :}}FoldingJam/origami}}/zh-hant | • {{#if: UbuntuHelp:FoldingJam/origami|中文(繁體)| [[::FoldingJam/origami/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:FoldingJam/origami|:FoldingJam/origami|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :FoldingJam/origami/zh | | {{#ifexist: FoldingJam/origami/zh | | {{#ifeq: {{#titleparts:FoldingJam/origami|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:FoldingJam/origami|1|-1|}} | zh | | }}
Test Cases : Origami
Overview
The test cases below are designed to confirm functionality on as many distributions as possible. Below I've outlined basic installation instructions for each major distribution. If you don't see your distribution listed, please find me in #ubuntu-folding on irc.freenode.net. Virtual Machines are perfect for this testing as the test focuses on distribution differences as opposed to hardware differences. The preferred version to use in testing is in bzr trunk on launchpad. Please checkout the latest revision using the command:
bzr branch lp:origami
If you don't have bzr installed, check to see if your distribution carries it and install using your package manager. The package is likely called bzr or bazaar. If it is not available (RHEL, CentOS for example), I suggest using the EPEL repository.
Install Tests
The below options outline standard install-time options. These should be tried one at a time as well as all at once. Please see the Pass / Fail section below if you are unsure how to verify a test. Example: Running a single test:
sudo origami install -u Zelut
Combined tests:
sudo origami install -u Zelut -t 45104 -p smp -c 1 -k <secret-key> -b big -P 8080 -H <ip>
note: if you do not have a 64bit installation you will not be able to test the -p option. note: if you do not have access to a web proxy (squid) you will not be able to test the -P and -H options.
Pass / Fail
Installation
origami install -u USERNAME:
This should install origami without any errors. You should be able to run 'origami status' and verify that Your Username matches that you assigned. Your Team should be set to 0.
origami install -t TEAMNUMBER:
This should install origami without any errors. You should be able to run 'origami status' and verify that Your Team matches that you assigned. Your Username should be set to Anonymous.
origami install -p smp or origami install -p amd64
This should install origami without any errors. This should use the 64bit folding client. This can be verified by ??? 'origami status' should also report that Your Username and Your Team are 0 and Anonymous. note: this requires a 64bit installation as well as the ia32-libs package (or your distributions equivalent).
origami install -c 1:
This should install origami without any errors. Your Username and Your Team should be 0 and anonymous. You can verify this test was successful by running the command:
sudo crontab -u origami -l
You should see something along the lines of:
# uncomment the cron entries below to automate starting and stopping the # origami service during business hours 0 8 * * * /etc/init.d/origami stop &>/dev/null 0 17 * * * /etc/init.d/origami start &>/dev/null
If you see 'no crontab for origami' then this test has failed.
origami install -k PASSKEY:
This should install origami without any errors. Your Username and Your Team should be set to 0 and Anonymous. You can verify that this test was successful by:
grep '$PASSKEY' /var/lib/origami/foldingathome/CPU*/client.cfg
note: replace $PASSKEY with your actual PASSKEY.
origami install -b (small|normal|big):
This should install origami without any errors. Your Username and Your Team should be set to Anonymous and 0. You can verify that this test was successful by:
egrep '(small|normal|big)' /var/lib/origami/foldingathome/CPU*/client.cfg
If the result of the egrep command does not match the size option you specified during installation then this test has failed.
origami install -P port -H host:
This should install origami without any errors. This test requires that you have access to a proxy server, which you are defining the port and hostname for. If you do not have access to a proxy server you can skip this test. You can verify that this test is successful by:
egrep '(host|port)' /var/lib/origami/foldingathome/CPU*/client.cfg
If the result of the egrep command does not match the host and port that you specific during installation then this test has failed.
origami install -u USERNAME -t TEAMNUMBER -k PASSKEY -b (small|normal|big):
This should install origami without any errors. This test should define your preferred username, team number, define your passkey and define your WU size. You should be able to verify that all of these values were properly set by:
cat /var/lib/origami/foldingathome/CPU*/client.cfg
If any of the values you defined are not set in the output of the command above then this test has failed.
Network Tests
Feature Tests
Test Results
NOTE: Please add your test results to the chart below. If you have successfully completed a section add a (./) mark, as well as your nick next to it. Alternatively, if a test has failed for you, mark that section with {X} and your nick. Even if someone has tested a section doesn't mean your can't or shouldn't repeat the test on your computer. Please try to complete all tests/sections you possibly can, and add your results to the chart. If you encounter any issues, or want to leave comments about something please add ** next to your nick, and explain your comment in the 'Additional Notes' section below the chart.
Installation Tests
Ubuntu | Debian | Fedora | Arch Linux | openSUSE | RHEL | CentOS | Foresight | Mint | |
-u USERNAME | (./) swoody, | ||||||||
-t TEAMNUMBER | (./) swoody, | ||||||||
amd64) | |||||||||
-c 1 | |||||||||
-k PASSKEY | (./) swoody, | ||||||||
normal|big) | (./) swoody, | ||||||||
-H host -P port | |||||||||
-u -t -k -b | (./) swoody, |
Feature Tests
Ubuntu | Debian | Fedora | Arch Linux | openSUSE | RHEL | CentOS | Foresight | Mint | |
name -u USERNAME | {X} swoody | ||||||||
name -t TEAMNUMBER | {X} swoody | ||||||||
archive | |||||||||
restore | |||||||||
monitor | (./) swoody, | ||||||||
status | (./) swoody, | ||||||||
proxy -p PORT -h HOST | |||||||||
start | (./) swoody**, | ||||||||
stop | (./) swoody**, | ||||||||
version | (./) swoody, | ||||||||
help | (./) swoody, |
Network Management Tests
Ubuntu | Debian | Fedora | Arch Linux | openSUSE | RHEL | CentOS | Foresight | Mint | |
deploy | |||||||||
network-archive | |||||||||
network-restore | |||||||||
network-monitor | |||||||||
network-status | |||||||||
network-name | |||||||||
network-start | |||||||||
network-stop | |||||||||
armageddon |
Additional Notes
swoody
- 'sudo origami stop/start' works, but does not return me to a command prompt
- 'sudo origami stop' runs the "Sending 'End_your_work' signal" twice (to different PID's), taking 10 seconds to shutdown, rather than 5 seconds