wget --trust-server-names ''
tar -jxvf apache-VCL-2.3.tar.bz2
yum install mysql-server -y
/sbin/chkconfig --level 345 mysqld on
/sbin/service mysqld start
vi /etc/sysconfig/iptables
-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
mysql
CREATE DATABASE vcl;
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE TEMPORARY TABLES ON vcl.* TO 'vcluser'@'localhost' IDENTIFIED BY 'vcluserpassword';
Replace vcluser and vcluserpassword with that of the user you want to use to connect to the database
The GRANT command will automatically create the user if it doesn't already exist
exit
mysql vcl < apache-VCL-2.3/mysql/vcl.sql
The vcl.sql file is included in the mysql directory within the Apache VCL source code
Next step: VCL 2.3 Web Code Installation