<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <meta name="generator" content= "HTML Tidy for Linux/x86 (vers 1st December 2004), see www.w3.org"> <title>Installation: Son of Service</title> </head> <body> <h2>Requirements</h2> <ul> <li><a href="http://www.php.net">PHP</a> (and appropriate PHP module for your RDBMS)</li> <li>RDBMS supported by AdoDB (such a <a href= "http://www.mysql.org">MySQL</a>)</li> <li>Web server (such as <a href="http://httpd.apache.org">Apache</a>)</li> </ul> <h2>Quick installation procedure</h2> <p><i>The procedure varies depending on your system.</i></p> <p>Change directory to your web tree.</p> <p><code>cd /var/www/html</code> (or <code>/home/httpd/html/</code> or wherever).</p> <p>Unpack <a href="http://sos.sourceforge.net">the latest SOS</a> the appropriate command. Some examples are below.</p> <ul> <li><code>tar zxvf sos-0.1.0.tar.gz</code> (for .tar.gz)</li> <li><code>tar jxvf sos-0.1.0.tar.bz2</code> (for .tar.bz2)</li> <li><code>unzip sos-0.1.0.zip</code> (for .zip using Infozip)</li> </ul> <p>Initialize the database structure and initial data. The example below is for MySQL using the command line. Use your favorite, appropriate database client. Following are commands for the command-line mysql client:</p> <ul> <li><code>mysqladmin -u root -p create sos</code></li> <li><code>cd sql</code></li> <li><code>mysql -u root -p sos < mysql-structure.sql</code></li> <li><code>mysql -u root -p sos < mysql-data.sql</code></li> </ul> <p>Tip: For security reasons use a separate database account for SOS rather than sharing the account for all databases.</p> <p>Configure SOS settings. Edit include/config.php with a text editor.</p> <p>Make the directory data writable by your web server. Following are example Linux commands:</p> <ul> <li><code>chgrp apache data</code></li> <li><code>chmod 0770 data</code></li> </ul> <p>If you use Fedora Core with SELinux, also use this command:</p> <ul> <li><code>chcon -R -t httpd_sys_script_rw_t data</code></li> </ul> <p>Test with web browser. Login with user name admin and password admin. Change the default password.</p> <h2>Support</h2> <p>Visit <a href="http://sos.sourceforge.net">sos.sourceforge.net</a> for support.</p> <hr> <p>Copyright © 2003-2009 by Andrew Ziem. All rights reserved. Provided to you under the GNU Free Documentation License.</p> <p><em>$Id: install.html,v 1.7 2009/02/12 04:11:20 andrewziem Exp $</em></p> </body> </html>