Location: PHPKode > projects > Son of Service > sos-0.1.6/doc/install.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<meta name="generator" content=
"HTML Tidy for Linux/x86 (vers 1st December 2004), see www.w3.org">
<title>Installation: Son of Service</title>
<li><a href="http://www.php.net">PHP</a> (and appropriate PHP module for your
<li>RDBMS supported by AdoDB (such a <a href=
<li>Web server (such as <a href="http://httpd.apache.org">Apache</a>)</li>
<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
<p>Unpack <a href="http://sos.sourceforge.net">the latest SOS</a> the
appropriate command. Some examples are below.</p>
<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>
<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>
<li><code>mysqladmin -u root -p create sos</code></li>
<li><code>cd sql</code></li>
<li><code>mysql -u root -p sos &lt; mysql-structure.sql</code></li>
<li><code>mysql -u root -p sos &lt; mysql-data.sql</code></li>
<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>
<li><code>chgrp apache data</code></li>
<li><code>chmod 0770 data</code></li>
<p>If you use Fedora Core with SELinux, also use this command:</p>
 <li><code>chcon -R -t httpd_sys_script_rw_t data</code></li>
<p>Test with web browser. Login with user name admin and password admin. Change
the default password.</p>
<p>Visit <a href="http://sos.sourceforge.net">sos.sourceforge.net</a> for
<p>Copyright &copy; 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>
Return current item: Son of Service