Author: buildbot
Date: Fri Aug 3 16:25:59 2012
New Revision: 827850
Log:
Staging update by buildbot for vcl
Modified:
websites/staging/vcl/trunk/content/ (props changed)
websites/staging/vcl/trunk/content/docs/VCL23Installation.html
Propchange: websites/staging/vcl/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Aug 3 16:25:59 2012
@@ -1 +1 @@
-1369072
+1369089
Modified: websites/staging/vcl/trunk/content/docs/VCL23Installation.html
==============================================================================
--- websites/staging/vcl/trunk/content/docs/VCL23Installation.html (original)
+++ websites/staging/vcl/trunk/content/docs/VCL23Installation.html Fri Aug 3
16:25:59 2012
@@ -107,13 +107,29 @@
<pre><code>/sbin/chkconfig --level 345 mysqld on</code></pre></li>
<li>Start the MySQL daemon:
<pre><code>/sbin/service mysqld start</code></pre></li>
-<li>If the iptables firewall is being used and the web server and management
nodes will be on different machines, port 3306 should be opend up
+<li>If the iptables firewall is being used and the web server and management
nodes will be on different machines, port 3306 should be opened up
<pre><code>vi /etc/sysconfig/iptables</code></pre>
<pre><code>-A RH-Firewall-1-INPUT -m state --state NEW -s <web server IP>
-p tcp --dport 3306 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -s <management node IP> -p tcp
--dport 3306 -j ACCEPT
-service iptables restart</code></pre></li>
+service iptables restart</code></pre> <br />
+</li>
+</ul>
+</li>
+<li>
+<p>Create the VCL Database</p>
+<ul>
+<li>Run the MySQL command-line client:
+ <pre><code>mysql</code></pre></li>
</ul>
</li>
+<li>Create a database:
+ <pre><code>CREATE DATABASE vcl;</code></pre></li>
+<li>Create a user with SELECT, INSERT, UPDATE, DELETE, and CREATE TEMPORARY
TABLES privileges on the database you just created:
+ <pre><code>GRANT SELECT,INSERT,UPDATE,DELETE,CREATE TEMPORARY TABLES
ON vcl.* TO '<strong>vcluser</strong>'@'localhost' IDENTIFIED BY
'<strong>vcluserpassword</strong>';</li>
+<li>Exit the MySQL command-line client:
+ <pre><code>exit</code></pre></li>
+<li>Import the vcl.sql file into the database. The <strong>vcl.sql</strong>
file is included in the <strong>mysql</strong> directory within the Apache VCL
source code
+ <pre><code>mysql vcl <
apache-VCL-2.3/mysql/vcl.sql</code></pre></li>
</ol>
<h1 id="web">Install and Configure the Web Components</h1>
<p><strong>Prerequisites</strong></p>