2004-12-10 00:57:20 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once("docutil.php");
|
|
|
|
page_head("Software prerequisites");
|
2004-12-13 21:23:52 +00:00
|
|
|
?>
|
|
|
|
|
2004-12-10 00:57:20 +00:00
|
|
|
<h2>Unix</h2>
|
|
|
|
We develop on Solaris 2.6-2.9, Red Hat 8 and Enterprise Edition,
|
|
|
|
Mac OS X, and Debian Linux stable and unstable,
|
|
|
|
so those currently work out-of-the-box.
|
|
|
|
Other Unix-like systems should work without too much configuration.
|
|
|
|
<p>
|
|
|
|
|
|
|
|
<table border=1 cellpadding=8>
|
|
|
|
<tr>
|
|
|
|
<th><br></th>
|
|
|
|
<th>Server</th>
|
|
|
|
<th>Core client<br>(non-graphical)</th>
|
|
|
|
<th>Core client<br>(graphical)</th>
|
|
|
|
<th>API<br>(non-graphical)</th>
|
|
|
|
<th>API<br>(graphical)</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>GNU tools:
|
|
|
|
<br>GCC 3.0.4+
|
2005-02-12 01:26:46 +00:00
|
|
|
<br> <a href=http://www.gnu.org/software/autoconf/>
|
|
|
|
autoconf 2.59+</a>
|
|
|
|
<br> <a href=http://www.gnu.org/software/automake/automake.html>
|
|
|
|
automake 1.9.3+</a>
|
2004-12-10 00:57:20 +00:00
|
|
|
</td>
|
|
|
|
<td>X</td>
|
|
|
|
<td>X</td>
|
|
|
|
<td>X</td>
|
|
|
|
<td>X</td>
|
|
|
|
<td>X</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Python 2.2+
|
|
|
|
<br>
|
2004-12-13 21:23:52 +00:00
|
|
|
<a href=http://sourceforge.net/projects/mysql-python>MySQLdb module 0.9.2+</a>
|
|
|
|
(see <a href=install_python_mysqldb.txt>installation instructions</a>)
|
2004-12-10 00:57:20 +00:00
|
|
|
<br>xml module
|
|
|
|
<br>packages: python-mysqldb, python-xml
|
|
|
|
</td>
|
|
|
|
<td>X</td>
|
|
|
|
<td><br></td>
|
|
|
|
<td><br></td>
|
|
|
|
<td><br></td>
|
|
|
|
<td><br></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2005-02-16 01:21:41 +00:00
|
|
|
<td>MySQL 4.0+ or 4.1+
|
2004-12-10 00:57:20 +00:00
|
|
|
<br>MySQL client
|
|
|
|
<br>packages: mysql-server, mysql-client
|
|
|
|
</td>
|
|
|
|
<td>X</td>
|
|
|
|
<td><br></td>
|
|
|
|
<td><br></td>
|
|
|
|
<td><br></td>
|
|
|
|
<td><br></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Apache with mod_ssl and PHP 4.0+
|
|
|
|
<br>packages: apache2, apache, apache-ssl
|
|
|
|
</td>
|
|
|
|
<td>X</td>
|
|
|
|
<td><br></td>
|
|
|
|
<td><br></td>
|
|
|
|
<td><br></td>
|
|
|
|
<td><br></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2005-02-16 01:21:41 +00:00
|
|
|
<td><a href=http://www.wxwidgets.org/>WxWidgets</a> 2.4.2 (Mac: 2.5.3)
|
2004-12-10 00:57:20 +00:00
|
|
|
<br>GTK+ 2.5.6
|
|
|
|
</td>
|
|
|
|
<td><br></td>
|
|
|
|
<td><br></td>
|
|
|
|
<td>X</td>
|
|
|
|
<td><br></td>
|
|
|
|
<td><br></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>GL, GLU, GLUT libraries</td>
|
|
|
|
<td><br></td>
|
|
|
|
<td><br></td>
|
|
|
|
<td><br></td>
|
|
|
|
<td><br></td>
|
|
|
|
<td>X</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>X11 libraries and include files</td>
|
|
|
|
<td><br></td>
|
|
|
|
<td><br></td>
|
|
|
|
<td>X</td>
|
|
|
|
<td><br></td>
|
|
|
|
<td>X</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><code>configure</code> option</td>
|
|
|
|
<td>--enable-server</td>
|
|
|
|
<td>--enable-client</td>
|
|
|
|
<td>--enable-client (if WxWidgets and X11 found)</td>
|
|
|
|
<td>--enable-client</td>
|
|
|
|
<td>--enable-client (if GL/GLU/GLUT found)</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<h3>Server notes</h3>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
The feeder and scheduling server use shared memory.
|
|
|
|
On hosts where these run,
|
|
|
|
the operating system must have shared memory enabled,
|
|
|
|
with a maximum segment size of at least 32 MB.
|
|
|
|
How to do this depends on the operating system;
|
|
|
|
some information is
|
|
|
|
<a href=http://developer.postgresql.org/docs/postgres/kernel-resources.html>here</a>.
|
|
|
|
</ul>
|
|
|
|
<h3>MySQL notes</h3>
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
<li>
|
|
|
|
After installing and running the server,
|
|
|
|
grant permissions for your own account and for
|
|
|
|
the account under which Apache runs
|
2005-02-16 01:21:41 +00:00
|
|
|
('nobody' in the following; may be different on your machine).
|
|
|
|
All mysql accounts should be password protected including root.
|
2004-12-10 00:57:20 +00:00
|
|
|
<pre>
|
|
|
|
mysql -u root
|
2005-02-16 01:21:41 +00:00
|
|
|
grant all on *.* to yourname@localhost identified by 'password';
|
|
|
|
grant all on *.* to yourname identified by 'password';
|
|
|
|
grant all on *.* to nobody@localhost identified by 'password';
|
|
|
|
grant all on *.* to nobody identified by 'password';
|
2004-12-10 00:57:20 +00:00
|
|
|
</pre>
|
|
|
|
<li>
|
|
|
|
Set your PATH variable to include MySQL programs
|
|
|
|
(typically /usr/local/mysql and /usr/local/mysql/bin).
|
2005-02-16 01:21:41 +00:00
|
|
|
|
|
|
|
<li>
|
|
|
|
Transactions are only supported by MySQL 4.0+;
|
|
|
|
to use MySQL 3.23, disable <use_transactions/> in config.xml
|
2004-12-10 00:57:20 +00:00
|
|
|
</ul>
|
|
|
|
|
2005-01-18 23:35:53 +00:00
|
|
|
<h3>PHP notes</h3>
|
|
|
|
<ul>
|
|
|
|
<li> Make sure 'magic quotes' are enabled (this is the default).
|
|
|
|
The file /etc/php.ini should contain
|
|
|
|
<pre>
|
|
|
|
magic_quotes_gpc = On
|
|
|
|
</pre>
|
|
|
|
</ul>
|
2004-12-10 00:57:20 +00:00
|
|
|
<h3>Linux notes</h3>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
Some info on installing BOINC on Linux is
|
|
|
|
<a href=http://torque.oncloud8.com/archives/000124.html>here</a>.
|
|
|
|
|
|
|
|
<li>
|
|
|
|
To get the X11 support,
|
|
|
|
select the relevant options when you're installing Linux,
|
|
|
|
or (Redhat) go to System Settings/Add Software.
|
2005-01-10 20:46:33 +00:00
|
|
|
|
|
|
|
<li>
|
2005-01-18 23:35:53 +00:00
|
|
|
Notes for <a href=debian_linux_install.txt>Debian Linux</a>.
|
2004-12-10 00:57:20 +00:00
|
|
|
</ul>
|
|
|
|
|
2005-02-18 16:52:46 +00:00
|
|
|
<h3>Apache notes</h3>
|
|
|
|
<p>
|
|
|
|
Make sure httpd.conf sets the default MIME type as follows:
|
|
|
|
<pre>
|
|
|
|
DefaultType application/octet-stream
|
|
|
|
</pre>
|
2005-04-01 22:30:08 +00:00
|
|
|
Suppose Apache runs as user 'apache'
|
|
|
|
and BOINC daemons runs as user 'boincadm'.
|
|
|
|
Directories created by apache need to be writeable to boincadm.
|
|
|
|
Add these two lines to the beginning of the apache start script
|
|
|
|
(called apachectl, usually in /usr/sbin on linux):
|
|
|
|
<pre>
|
|
|
|
umask 2
|
|
|
|
export umask
|
|
|
|
</pre>
|
|
|
|
Apache will need to be stopped/restarted for this to take effect.
|
|
|
|
|
|
|
|
<p>
|
|
|
|
You also need to edit /etc/group so that boincadm belongs
|
|
|
|
to group apache, i.e. the line:
|
|
|
|
<pre>
|
|
|
|
apache:x:48:
|
|
|
|
</pre>
|
|
|
|
becomes:
|
|
|
|
<pre>
|
|
|
|
apache:x:48:boincadm
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
Now any file apache creates should have group writeable permissions
|
|
|
|
(thanks to the umask) and user boincadm, who now belongs to group
|
|
|
|
apache, should be able to update/delete these files.
|
2005-02-18 16:52:46 +00:00
|
|
|
|
2004-12-10 00:57:20 +00:00
|
|
|
<hr>
|
|
|
|
|
|
|
|
<h2>Windows</h2>
|
|
|
|
<table border=1 cellpadding=8>
|
|
|
|
<tr>
|
|
|
|
<th><br></th>
|
|
|
|
<th>Core client<br>(non-graphical)</th>
|
|
|
|
<th>Core client<br>(graphical)</th>
|
|
|
|
<th>Core client<br>(installer)</th>
|
|
|
|
<th>API</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Visual Studio .NET (Visual C++ 7.0)</td>
|
|
|
|
<td>X</td>
|
|
|
|
<td>X</td>
|
|
|
|
<td><br></td>
|
|
|
|
<td>X</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>WxWidgets 2.4.2</td>
|
|
|
|
<td><br></td>
|
|
|
|
<td>X</td>
|
|
|
|
<td><br></td>
|
|
|
|
<td><br></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Installshield X</td>
|
|
|
|
<td><br></td>
|
|
|
|
<td><br></td>
|
|
|
|
<td>X</td>
|
|
|
|
<td><br></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<h3>WxWidgets notes</h3>
|
|
|
|
<ul>
|
|
|
|
<li> Download and install the WxWidgets source
|
|
|
|
according to instructions on the web site.
|
|
|
|
<li> In Settings/Control Panel/System,
|
|
|
|
select Advanced; click Environment Variables.
|
|
|
|
Under 'User variables' click New.
|
|
|
|
Create a variable named 'wxwin'
|
|
|
|
with value 'c:\wx' (or wherever you installed it).
|
|
|
|
Then restart Visual Studio.
|
|
|
|
</ul>
|
2004-12-13 21:23:52 +00:00
|
|
|
|
|
|
|
<?
|
2004-12-10 00:57:20 +00:00
|
|
|
page_tail();
|
|
|
|
?>
|