Author: buildbot
Date: Fri Aug 3 17:27:43 2012
New Revision: 827856
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 17:27:43 2012
@@ -1 +1 @@
-1369091
+1369104
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
17:27:43 2012
@@ -89,48 +89,81 @@
<h1 id="database">Install & Configure the Database</h1>
<p>VCL currently supports the use of mysql database.</p>
<ol>
-<li>
-<p>Download and Extract the Apache VCL Source</p>
-<ul>
+<li>Download and Extract the Apache VCL Source</li>
<li>If you have not already done so, download and the Apache VCL source to the
database server:
- <pre><code>wget
http://www.apache.org/dist/vcl/apache-VCL-2.3.tar.bz2</code></pre></li>
-<li>Extract the files:
- <pre><code>tar -jxvf apache-VCL-2.3.tar.bz2</code></pre></li>
-</ul>
+ <pre><code>wget
http://www.apache.org/dist/vcl/apache-VCL-2.3.tar.bz2</code></pre></li>
+<li>
+<p>Extract the files:
+ <pre><code>tar -jxvf apache-VCL-2.3.tar.bz2</code></pre></p>
</li>
<li>
<p>Install MySQL Server</p>
-<ul>
-<li>Install MySQL Server 5.x
- <pre><code>yum install mysql-server -y</code></pre></li>
-<li>Configure the MySQL daemon (mysqld) to start automatically:
- <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 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> <br />
</li>
-</ul>
+<li>
+<p>Install MySQL Server 5.x
+ :::BashLexer
+ yum install mysql-server -y</p>
+</li>
+<li>
+<p>Configure the MySQL daemon (mysqld) to start automatically:</p>
+<div class="codehilite"><pre><span class="sr">/sbin/c</span><span
class="n">hkconfig</span> <span class="o">--</span><span class="n">level</span>
<span class="mi">345</span> <span class="n">mysqld</span> <span
class="n">on</span>
+</pre></div>
+
+
+</li>
+<li>
+<p>Start the MySQL daemon:</p>
+<div class="codehilite"><pre><span class="sr">/sbin/s</span><span
class="n">ervice</span> <span class="n">mysqld</span> <span
class="n">start</span>
+</pre></div>
+
+
+</li>
+<li>
+<p>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
+ :::BashLexervi
+ /etc/sysconfig/iptables</p>
+<div class="codehilite"><pre>-A RH-Firewall-1-INPUT -m state --state NEW -s
<span class="nt"><web</span> <span class="err">server</span> <span
class="err">IP</span><span class="nt">></span> -p tcp --dport 3306 -j ACCEPT
+-A RH-Firewall-1-INPUT -m state --state NEW -s <span
class="nt"><management</span> <span class="err">node</span> <span
class="err">IP</span><span class="nt">></span> -p tcp --dport 3306 -j ACCEPT
+service iptables restart<span class="nt"></code></pre></span>
+</pre></div>
+
+
</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>
+<li>
+<p>Run the MySQL command-line client:</p>
+<div class="codehilite"><pre><span class="n">mysql</span>
+</pre></div>
+
+
+</li>
+<li>
+<p>Create a database:</p>
+<div class="codehilite"><pre><span class="n">CREATE</span> <span
class="n">DATABASE</span> <span class="n">vcl</span><span class="p">;</span>
+</pre></div>
+
+
+</li>
+<li>
+<p>Create a user with SELECT, INSERT, UPDATE, DELETE, and CREATE TEMPORARY
TABLES privileges on the database you just created:
+ :::BashLexer
+ GRANT SELECT,INSERT,UPDATE,DELETE,CREATE TEMPORARY TABLES ON vcl.* TO
'<strong>vcluser</strong>'@'localhost' IDENTIFIED BY
'<strong>vcluserpassword</strong>';</p>
+</li>
+<li>
+<p>Exit the MySQL command-line client</p>
+<div class="codehilite"><pre><span class="nb">exit</span>
+</pre></div>
+
+
+</li>
+<li>
+<p>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></p>
+</li>
</ol>
+<hr />
<h1 id="web">Install and Configure the Web Components</h1>
<p><strong>Prerequisites</strong></p>
<ul>
@@ -149,7 +182,7 @@ service iptables restart</code></pre>
<li>php - The PHP HTML-embedded scripting language</li>
<li>libmcrypt - Encryption algorithms library (this requirement can be removed
with a patch)</li>
</ul>
-<p>**Required PHP Modules:</p>
+<p><strong>Required PHP Modules:</strong></p>
<ul>
<li>php-gd</li>
<li>php-json (required if your PHP version is 5.2 or later)</li>
@@ -161,6 +194,11 @@ service iptables restart</code></pre>
<li>php-ldap (if you will be using LDAP authentication)</li>
<li>php-process (for RHEL/CentOS 6)</li>
</ul>
+<hr />
+<ol>
+<li>Install the Required Linux Packages & PHP Modules</li>
+<li>If your web server is running a Red Hat-based OS, the required components
can be installed with:</li>
+</ol>
</div>
<div id="footer">