mirror of https://github.com/BOINC/boinc.git
82 lines
2.4 KiB
PHP
82 lines
2.4 KiB
PHP
<?php
|
|
require_once("docutil.php");
|
|
page_head("Installing the core client");
|
|
echo "
|
|
This type of installation
|
|
requires that you be familiar with the
|
|
UNIX command-line interface.
|
|
|
|
<p>
|
|
After downloading the file:
|
|
<ul>
|
|
<li> Use gunzip to uncompress the file
|
|
if your browser has not done it for you.
|
|
<li> chmod +x the executable.
|
|
<li> put the executable into a separate directory (say, boinc/).
|
|
<li> run the executable.
|
|
</ul>
|
|
<p>
|
|
Instructions on running the core client
|
|
(command-line options, etc.) are
|
|
<a href=client_unix.php>here</a>.
|
|
<p>
|
|
You'll probably want to arrange
|
|
to run the executable each time your machine boots or you log on.
|
|
Some examples follow.
|
|
|
|
<h2>Automatic startup on Unix</h2>
|
|
A set of instructions for running BOINC on Unix systems is
|
|
<a href=http://noether.vassar.edu/~myers/help/boinc/unix.html>here</a>.
|
|
|
|
<h2>Automatic startup on Mac OS X</h2>
|
|
<p>
|
|
[ The following is from Berki Yenigun, deadsmile at minitel.net ]
|
|
<p>
|
|
Here's a step by step guide to create a command file for Mac OS X
|
|
Panther that will automatically launch Boinc command line client each
|
|
time you log into your account:
|
|
<ol>
|
|
<li> Open TextEdit, paste and adapt the following two lines (adapt the
|
|
path after the cd command to the folder in which you saved Boinc, and
|
|
the name of Boinc file in the second line to the version you downloaded):
|
|
|
|
<pre>
|
|
cd myapplications/boinc
|
|
/boinc_4.19_powerpc-apple-darwin
|
|
</pre>
|
|
|
|
<li> Convert this into plain text format by clicking on Format and then on
|
|
Make Plain Text (rich text doesn't fit our needs), and save it
|
|
with .command extension (replace the .txt) : Let's call our file
|
|
boincscript, the file name & extension should be boincscript.command.
|
|
Once your file is saved, you can quit TextEdit.
|
|
|
|
<li> Now open Terminal, using cd command go to the folder where you saved
|
|
the script file, then type
|
|
chmod +x boincscript.command
|
|
to make it executable. (use help if necessary : type man or man man.)
|
|
After that, you can quit Terminal.
|
|
|
|
</ol>
|
|
|
|
It's almost done : all you need to do now is to add boincscript.command
|
|
|
|
file to the login items in the 'Accounts' pane in 'System Preferences'.
|
|
|
|
<p>
|
|
If you want to start Boinc manually again, you simply have to remove
|
|
boincscript.command from the login items.
|
|
|
|
<p>
|
|
PS: You can use the
|
|
<a href=client_unix.php>core client command-line options</a> in your script.
|
|
An example:
|
|
<pre>
|
|
/boinc_4.19_powerpc-apple-darwin -return_results_immediately
|
|
</pre>
|
|
|
|
|
|
";
|
|
page_tail();
|
|
?>
|