Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  1. Install the Required Linux Packages & PHP Modules

    1. If your web server is running a Red Hat-based OS, the required components can be installed with:
      For RHEL / CentOS 5
      Tip

      yum install httpd mod_ssl php php-gd php-mysql php-xml php-xmlrpc php-ldap -y

      For RHEL / CentOS 6
      Tip

      yum install httpd mod_ssl php php-gd php-mysql php-xml php-xmlrpc php-ldap php-process -y

      Info

      You may need the optional server rpm repository for the php-process package to add this run the following command:
      rhn-channel --add --channel=rhel-x86_64-server-optional-6

    2. Configure the web server daemon (httpd) to start automatically:
      Tip

      /sbin/chkconfig --level 345 httpd on

    3. Start the web server daemon:
      Tip

      /sbin/service httpd start

    4. If SELinux is enabled, run the following command to allow the web server to connect to the database:
      Tip

      /usr/sbin/setsebool -P httpd_can_network_connect=1

    5. If the iptables firewall is being used, port 80 and 443 should be opened up:
      Tip

      vi /etc/sysconfig/iptables

      No Format
      -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
      
      Tip

      service iptables restart


  2. Install the VCL Frontend Web Code

    1. If you have not already done so, download and extract the source files on the web server:
      Tip

      wget --trust-server-names ''
      tar -jxvf apache-VCL-2.3.tar.bz2

    2. Copy the web directory to a location under the web root of your web server and navigate to the destination .ht-inc subdirectory:
      Tip

      cp -r apache-VCL-2.3/web/ /var/www/html/vcl
      cd /var/www/html/vcl/.ht-inc

    3. Copy secrets-default.php to secrets.php:
      Tip

      cp secrets-default.php secrets.php

    4. Edit the secrets.php file:
      Tip

      vi secrets.php

      • Set the following variables to match your database configuration:
        • $vclhost
        • $vcldb
        • $vclusername
        • $vclpassword
      • Create random passwords for the following variables:
        • $cryptkey
        • $pemkey
      • Save the secrets.php file
    5. Run the genkeys.sh
      Tip

      ./genkeys.sh

    6. Copy conf-default.php to conf.php:
      Tip

      cp conf-default.php conf.php

    7. Modify conf.php to match your site
      Tip

      vi conf.php

      Info

      Modify every entry under "Things in this section must be modified". Descriptions and pointers for each value are included within conf.php.

      • COOKIEDOMAIN - set this to the domain name your web server is using or leave it blank if you are only accessing the web server by its IP address
    8. Set the owner of the .ht-inc/maintenance directory to the web server user (normally 'apache'):
      Tip

      chown apache maintenance

    9. Open the testsetup.php page in a web browser:
  3. Log In to the VCL Website

    1. Open the index.php page in your browser (https://my.server.org/vcl/index.php)
      • Select Local Account
      • Username: admin
      • Password: adminVc1passw0rd
    2. Set the admin user password (optional):
      1. Click User Preferences
      2. Enter the current password: adminVc1passw0rd
      3. Enter a new password
      4. Click Submit Changes
  4. Add a Management Node to the Database

    1. Click the Management Nodes link
      1. Click Add
      2. Fill in these required fields:
        • Hostname - The name of the management node server. This value doesn't necessarily need to be a name registered in DNS nor does it need to be the value displayed by the Linux hostname command. For example, if you are installing all of the VCL components on the same machine you can set this value to localhost.
          Info

          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.

        • IP address - the public IP address of the management node
        • SysAdmin Email Address - error emails will be sent to this address
        • Install Path - this is parent directory under which image files will be stored - only required if doing bare metal installs or using VMWare with local disks
        • End Node SSH Identity Key Files - enter /etc/vcl/vcl.key unless you know you are using a different SSH identity key file
      3. Optionally, fill in these fields:
        • Address for Shadow Emails - End users are sent various emails about the status of their reservations. If this field is configured, copies of all of those emails will be sent to this address.
        • Public NIC configuration method - this defaults to Dynamic DHCP - if DHCP is not available for the public interface of your nodes, you can set this to Static. Then, the IP configuration on the nodes will be manually set using Public Netmask, Public Gateway, Public DNS Server, and the IP address set for the computer under Manage Computers
    2. Click Confirm Management Node
    3. Click Submit
    4. Click the Management Nodes link
      1. Select Edit Management Node Grouping
      2. Click Submit
      3. Select the checkbox for your management node
      4. Click Submit Changes
  5. Install & Configure phpMyAdmin (Optional):

    Excerpt Include
    VCL 2.3 phpMyAdmin Installation & Configuration
    nopaneltrue
    VCL 2.3 phpMyAdmin Installation & Configuration
    nopaneltrue
    To install phpMyAdmin, follow the instructions on: VCL 2.3 phpMyAdmin Installation & Configuration

...