2004-06-09 19:09:16 +00:00
|
|
|
<?php
|
2004-05-05 17:48:39 +00:00
|
|
|
require_once("docutil.php");
|
|
|
|
page_head("Installing and running the BOINC command-line client");
|
|
|
|
echo "
|
|
|
|
<h3>The BOINC command-line client</h3>
|
|
|
|
<p>
|
|
|
|
Install the BOINC client by using gunzip to decompress the application.
|
|
|
|
Use 'chmod' to make it executable.
|
|
|
|
Put it in a directory by itself.
|
|
|
|
Run it manually, from your login script,
|
|
|
|
or from system startup files.
|
|
|
|
<p>
|
2004-07-13 18:35:47 +00:00
|
|
|
The command-line client has the following command-line options:
|
2004-05-05 17:48:39 +00:00
|
|
|
";
|
|
|
|
list_start();
|
|
|
|
list_item("-attach_project",
|
|
|
|
"Attach this computer to a new project.
|
|
|
|
You must have an account with that project.
|
|
|
|
You will be asked for the project URL and the account ID."
|
|
|
|
);
|
|
|
|
list_item("-show_projects",
|
|
|
|
"Print a list of projects to which this computer is attached."
|
|
|
|
);
|
|
|
|
|
|
|
|
list_item("-detach_project URL",
|
|
|
|
"Detach this computer from a project."
|
|
|
|
);
|
|
|
|
|
|
|
|
list_item("-reset_project URL",
|
|
|
|
"Clear pending work for a project.
|
|
|
|
Use this if there is a problem that is preventing
|
|
|
|
your computer from working."
|
|
|
|
);
|
|
|
|
|
|
|
|
list_item("-update_prefs URL",
|
2004-06-17 17:00:14 +00:00
|
|
|
"Contact a project's server to obtain new preferences.
|
|
|
|
This will also report completed results
|
|
|
|
and get new work if needed."
|
2004-05-05 17:48:39 +00:00
|
|
|
);
|
|
|
|
|
2004-06-18 22:56:46 +00:00
|
|
|
list_item("-return_results_immediately",
|
|
|
|
"Contact scheduler as soon as any result done."
|
|
|
|
);
|
2004-05-05 17:48:39 +00:00
|
|
|
list_item("-run_cpu_benchmarks",
|
|
|
|
"Run CPU benchmarks.
|
|
|
|
Do this if you have modified your computer's hardware."
|
|
|
|
);
|
2004-06-18 05:08:57 +00:00
|
|
|
list_item("-check_all_logins",
|
|
|
|
"If 'run if user active' preference is off,
|
|
|
|
check for input activity on all current logins;
|
|
|
|
default is to check only local mouse/keyboard"
|
|
|
|
);
|
|
|
|
list_item("-exit_when_idle",
|
|
|
|
"Get, process and report work, then exit."
|
|
|
|
);
|
2004-06-12 19:14:40 +00:00
|
|
|
list_item("-allow_remote_gui_rpc",
|
2004-06-11 00:04:51 +00:00
|
|
|
"Allow GUI RPCs from remote hosts"
|
|
|
|
);
|
2004-05-05 17:48:39 +00:00
|
|
|
list_item("-help",
|
|
|
|
"Show client options."
|
|
|
|
);
|
|
|
|
|
|
|
|
list_item("-version",
|
|
|
|
"Show client version."
|
|
|
|
);
|
|
|
|
list_end();
|
|
|
|
echo"
|
2004-07-13 18:35:47 +00:00
|
|
|
The command-line client has the following optional environment variables:
|
|
|
|
";
|
|
|
|
list_start();
|
|
|
|
list_item("HTTP_PROXY", "URL of HTTP proxy");
|
|
|
|
list_item("HTTP_USER_NAME", "User name for proxy authentication");
|
|
|
|
list_item("HTTP_USER_PASSWD", "Password for proxy authentication");
|
|
|
|
list_item("SOCKS4_SERVER", "URL of SOCKS 4 server");
|
|
|
|
list_item("SOCKS5_SERVER", "URL of SOCKS 5 server");
|
|
|
|
list_item("SOCKS5_USER", "User name for SOCKS authentication");
|
|
|
|
list_item("SOCKS5_PASSWD", "Password for SOCKS authentication");
|
|
|
|
list_end();
|
|
|
|
echo "
|
2004-05-05 17:48:39 +00:00
|
|
|
<a name=mac>
|
|
|
|
<h3>Installing BOINC on Mac OS/X</h3>
|
|
|
|
<p>
|
|
|
|
The Mac OS X client will unpack correctly with gunzip on Mac OS X
|
|
|
|
10.2 (jaguar) or 10.3 (panther) as long as you type the command
|
|
|
|
within Terminal. Stuffit 7.x or newer will work under the Finder
|
|
|
|
in either OS X or OS 9, but I'd recommend using 'gunzip' or 'gzip -d'
|
|
|
|
within Terminal instead.
|
|
|
|
|
|
|
|
<p>
|
|
|
|
However, the two main browsers on OS X (IE 5.2.x and Safari 1.x) will
|
|
|
|
automatically unpack downloads by default, so your work may already
|
|
|
|
be done.
|
|
|
|
|
|
|
|
<p>
|
|
|
|
If you use IE, the boinc client will download and automatically unpack
|
|
|
|
leaving two files:
|
|
|
|
<ol>
|
|
|
|
<li>
|
|
|
|
boinc_2.12_powerpc-apple-darwin
|
|
|
|
[this will have the stuffit icon in the finder]
|
|
|
|
|
|
|
|
<li>
|
|
|
|
boinc_2.12_powerpc-apple-darwin7.0.0
|
|
|
|
[this will not have any icon in the finder]
|
|
|
|
|
|
|
|
</ol>
|
|
|
|
<p>
|
|
|
|
#2 is the unpacked program ready-to-run. You can just start Terminal
|
|
|
|
and run boinc.
|
|
|
|
|
|
|
|
<p>
|
|
|
|
If you use Safari, the boinc client will download and automatically
|
|
|
|
unpack, leaving a single file:
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
boinc_2.12_powerpc-apple-darwin7.0.0
|
|
|
|
[this will not have any icon in the finder]
|
|
|
|
</ul>
|
|
|
|
This is the unpacked program, but it's not yet ready-to-run (this is
|
|
|
|
a bug with how Safari handles gzipped downloads; we'll fix this soon).
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Here's what you have to do to fix the Safari download (apologies if
|
|
|
|
you already know how to do this):
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li> Create a folder in your home directory and put the boinc
|
|
|
|
file in it
|
|
|
|
<li> Start Terminal
|
|
|
|
<li> 'cd' to the folder you just created
|
|
|
|
<li> Type 'chmod +x boinc_2.12_powerpc-apple-darwin7.0.0'
|
|
|
|
(without the quotes)
|
|
|
|
</ul>
|
|
|
|
Now you can run BOINC.
|
|
|
|
";
|
|
|
|
page_tail();
|
|
|
|
?>
|