You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by fa...@apache.org on 2012/08/03 19:53:13 UTC

svn commit: r1369119 - /vcl/site/trunk/content/docs/VCL23Installation.mdtext

Author: fapeeler
Date: Fri Aug  3 17:53:13 2012
New Revision: 1369119

URL: http://svn.apache.org/viewvc?rev=1369119&view=rev
Log:
CMS commit to vcl by fapeeler

Modified:
    vcl/site/trunk/content/docs/VCL23Installation.mdtext

Modified: vcl/site/trunk/content/docs/VCL23Installation.mdtext
URL: http://svn.apache.org/viewvc/vcl/site/trunk/content/docs/VCL23Installation.mdtext?rev=1369119&r1=1369118&r2=1369119&view=diff
==============================================================================
--- vcl/site/trunk/content/docs/VCL23Installation.mdtext (original)
+++ vcl/site/trunk/content/docs/VCL23Installation.mdtext Fri Aug  3 17:53:13 2012
@@ -8,70 +8,70 @@ This guide will provide the necessary st
 
 VCL currently supports the use of mysql database.
 
- 1. Download and Extract the Apache VCL Source
-    * If you have not already done so, download and the Apache VCL source to the database server:
+    1. Download and Extract the Apache VCL Source
+        * If you have not already done so, download and the Apache VCL source to the database server:
 
-        :::BashLexer
-        wget http://www.apache.org/dist/vcl/apache-VCL-2.3.tar.bz2
+            :::BashLexer
+            wget http://www.apache.org/dist/vcl/apache-VCL-2.3.tar.bz2
 
-     * Extract the files:
+         * Extract the files:
 
-        :::BashLexer
-        tar -jxvf apache-VCL-2.3.tar.bz2
+            :::BashLexer
+            tar -jxvf apache-VCL-2.3.tar.bz2
 
- 2. Install MySQL Server
+    2. Install MySQL Server
 
-    * Install MySQL Server 5.x
+        * Install MySQL Server 5.x
         
-        :::BashLexer
-        yum install mysql-server -y
+            :::BashLexer
+            yum install mysql-server -y
 
-    * Configure the MySQL daemon (mysqld) to start automatically:
+        * Configure the MySQL daemon (mysqld) to start automatically:
 
-        :::BashLexer
-        /sbin/chkconfig --level 345 mysqld on
+            :::BashLexer
+            /sbin/chkconfig --level 345 mysqld on
 
-    *  Start the MySQL daemon:
+        *  Start the MySQL daemon:
         
-        :::BashLexer
-        /sbin/service mysqld start
+            :::BashLexer
+            /sbin/service mysqld start
 
-    *  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
+        *  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
 
-        :::BashLexer 
-        vi /etc/sysconfig/iptables
+            :::BashLexer 
+            vi /etc/sysconfig/iptables
 
-        :::BashLexer
-        -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>      
+            :::BashLexer
+            -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>      
 
- 3. Create the VCL Database
+    3. Create the VCL Database
    
-    * Run the MySQL command-line client:
+        * Run the MySQL command-line client:
          
-        :::BashLexer
-        mysql
+            :::BashLexer
+            mysql
 
-    *  Create a database:
+        * Create a database:
          
-        :::BashLexer
-        CREATE DATABASE vcl;
+            :::BashLexer
+            CREATE DATABASE vcl;
 
-    * Create a user with SELECT, INSERT, UPDATE, DELETE, and CREATE TEMPORARY TABLES privileges on the database you just created:
+        * 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 '**vcluser**'@'localhost' IDENTIFIED BY '**vcluserpassword**';
+            :::BashLexer
+            GRANT SELECT,INSERT,UPDATE,DELETE,CREATE TEMPORARY TABLES ON vcl.* TO '**vcluser**'@'localhost' IDENTIFIED BY '**vcluserpassword**';
 
-    * Exit the MySQL command-line client
+        * Exit the MySQL command-line client
 
-        :::BashLexer
-        exit
+            :::BashLexer
+            exit
 
-    * Import the vcl.sql file into the database. The **vcl.sql** file is included in the **mysql** directory within the Apache VCL source code
+        * Import the vcl.sql file into the database. The **vcl.sql** file is included in the **mysql** directory within the Apache VCL source code
 
-        :::BashLexer
-        mysql vcl < apache-VCL-2.3/mysql/vcl.sql
+            :::BashLexer
+            mysql vcl < apache-VCL-2.3/mysql/vcl.sql
 
 ----------
 
@@ -108,6 +108,15 @@ VCL currently supports the use of mysql 
 
  - - -
 
-  1. Install the Required Linux Packages & PHP Modules
-   * If your web server is running a Red Hat-based OS, the required components can be installed with:
-   
\ No newline at end of file
+    1. Install the Required Linux Packages & PHP Modules
+        * If your web server is running a Red Hat-based OS, the required components can be installed with:
+        For RHEL / CentOS 5       
+            :::BashLexer
+            yum install httpd mod_ssl php php-gd php-mysql php-xml php-xmlrpc php-ldap -y
+
+        For RHEL / CentOS 6
+            :::BashLexer
+            	yum install httpd mod_ssl php php-gd php-mysql php-xml php-xmlrpc php-ldap php-process -y
+
+        * Configure the web server daemon (httpd) to start automatically:      
+  
\ No newline at end of file