|
How to install and configure the frontend VCL web code. It also describes how to add local accounts to the VCL database, configure LDAP authentication, and set the timezone correctly. |
The following instructions assume these tasks have previously been completed:
The VCL web frontend may run under other web server platforms capable of running PHP code, but has only been tested to work with Apache HTTP Server. |
|
yum install httpd mod_ssl php php-gd php-mysql php-xml php-xmlrpc php-ldap -y |
|
yum install httpd mod_ssl php php-gd php-mysql php-xml php-xmlrpc php-ldap php-process -y |
|
You may need the optional server rpm repository for the php-process package to add this run the following command: |
|
/sbin/chkconfig --level 345 httpd on |
|
/sbin/service httpd start |
|
/usr/sbin/setsebool -P httpd_can_network_connect=1 |
vi /etc/sysconfig/iptables |
-A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 80 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 443 -j ACCEPT |
|
service iptables restart |
|
wget --trust-server-names '' |
|
cp -r apache-VCL-2.3/web/ /var/www/html/vcl |
|
cp secrets-default.php secrets.php |
|
vi secrets.php |
|
./genkeys.sh |
|
cp conf-default.php conf.php |
vi conf.php |
Modify every entry under "Things in this section must be modified". Descriptions and pointers for each value are included within conf.php. |
chown apache maintenance |
Take note of the value you enter for Hostname. In a later step performed during the management node installation, the value enter for Hostname must match the value you enter for FQDN in the /etc/vcl/vcld.conf file on the management node. |
Further steps if using only VMWare
Previous Step: VCL 2.3 Database Installation
Next Step: VCL 2.3 Management Node Installation