boinc/doc/bare_core.php

97 lines
4.3 KiB
PHP

<?php
require_once("docutil.php");
page_head("Installing the command-line 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.
The first time you run it you'll need to attach it to a project, e.g.:
<pre>
boinc_client -attach_project http://setiathome.berkeley.edu df0d93e384a2700f70e0bc45a1b2c96c
</pre>
<li> (substitute the actual name of the core client for <b>boinc_client</b> in the above example.)
</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>
<p>
Users have contributed scripts for automatic
startup of BOINC on various versions of Unix:
<ul>
<li>
<a href=http://www.spy-hill.net/~myers/help/boinc/unix.html>Red Hat Linux</a>.
(includes general instructions for installing on Unix systems).
<li>
<a href=autostart_unix.txt>Linux with KDE</a>.
<li>
<a href=autostart_dennett.txt>Red Hat 9, should also work on Solaris</a>
<li>
<a href=gentoo.txt>Gentoo Linux</a> (from Gabor Nagy)
<li>
<a href=hpux.html>HPUX</a> (mostly relevant to UNIX in general)
<li> <a href=http://rigo.altervista.org/tools/>An init script for running BOINC under SuSE Linux (9.2 and 9.3)</a>
</ul>
<h2> Automatic startup on Mac OS X</h2>
<p>
<ul>
<li>
Instructions from Paul Buck's
<a href=http://boinc-doc.net/site-boinc/oman-app/inst-mac.php>BOINC Owner's Manual</a>.
<li>
<a href=mac_yenigun.php>Instructions from Berki Yenigun</a>,
deadsmile at minitel.net
<li>
<a href=http://stegic.net/archives/2005/05/boinc_as_a_syst.html>Running
BOINC as a system service on Mac OS X</a> by Ivan Stegic.
</ul>
<h2> Special cautions for Mac OS X</h2>
<p>
Normally, you should not install the separate command client if you are running the BOINC Manager.
The BOINCManager.app bundle contains an embedded copy of the core client. The installer adds the
BOINC Manager to the installing user's list of <b>Login Items</b> so it launches automatically whenever that user logs in.
To have BOINC Manager run automatically when other users log in, you can manually add the BOINC Manager to each user's <b>Login Items</b>.
For details, see <a href=mac_advanced.php>here</a>.
<p>
On Mac OS X, the core client executable is named <b>boinc</b>.
<p>
If you wish to run the embedded core client without launching the Manager, a typical command is:
<pre>
/Applications/BOINCManager.app/Contents/resources/boinc -redirectio -dir /Library/Application\\ Support/BOINC\\ Data/
</pre>
Normally, quitting the BOINC Manager also quits the embedded core client. But if you launch the core client (as in the above example)
before launching the BOINC Manager, then it will continue to run even after the user quits the Manager.
<p>
On Mac OS X, the BOINC screen saver will also launch the Manager's embedded core client, and will kill it when the screen saver is dismissed,
but only if the core client was not already running.
<p>
If you must mix the stand-alone core client and the BOINC Manager on the same Mac OS X system, be careful of the following:
<ul>
<li>The BOINC Manager installer sets the set_user_id permission bit (S_ISUID) for the BOINC Manager and its embedded core client executable files.
This causes BOINC to always run with the effective user ID set to the installing user. This may cause permission problems if the
stand-alone core client tries to access the same data as a different user.
<li>By default, the stand-alone core client expects the data to be in the same directory containing the executable. But the BOINC Manager
sets the current directory to \"/Library/Application Support/BOINC Data/\" before launching the embedded core client.
</ul>
If you want BOINC to operate on a separate set of data for each user on a Mac OS X system, then the stand-alone core client may be appropriate.
But to avoid permission problems, make sure that users who have their own core client don't run the BOINC Manager.
";
page_tail();
?>