6 1 Installation Steps

Install LANSA on Linux

6.1 Installation Steps

1.  Run a shell as root.

2.  Copy the installation package for the target platform from the LANSA CD to a temporary directory, e.g. /tmp.

     The installation package is for these supported platforms:

  • Red Hat EL6 (x86_64): wpi13200_lnx64.tgz

     This file will be referred as wpi13200 in the following steps.

3.  Enter the following commands in the shell:

       cd /tmp

       gunzip -c wpi13200_lnx64 | tar xvf -

     A directory named wpi13200 will be created with all the installation  material extracted.

4.  Change current directory to wpi13200 with the following command:

       cd wpi13100_lnx64

5.  Execute the installer with the following command to get an idea of the parameters required and options that are available:

       ./wpiinstall.py --help

6.  Notice that installation will NOT be commenced until option --commit is given, so it is perfectly safe to try various combinations of parameters and options and then check the report from the installer. The installer will report any error found or list the parameters to be used if there is no error. Once all the parameters are verified and fit the system's requirement, installation can be commenced by re-running the installer with the required parameters and option --commit added.

     Some examples:

a.  Red Hat Linux EL6 with default Apache setup:

     Enter the following command to view installation settings for installing the Apache module to the directory /opt/lansaweb:

          ./wpiinstall.py -I /opt/lansaweb

     To install, enter this command:

          ./wpiinstall.py -I /opt/lansaweb --commit

 

b.  Red Hat Linux EL6 with custom Apache installation in the directory /opt/httpd-2.2:

          ./wpiinstall.py -I /opt/lansaweb -a /opt/httpd-2.2 --commit

 

c.  Using a custom Apache configuration file:

          ./wpiinstall.py -I /opt/lansaweb -a /usr/local/apache2 \

              -C /usr/local/etc/myhttpd.conf --commit

7.  Read the installation log (on screen) for further information about the installation. The log can be saved for later perusal by running the installer with a command like this:

       ./wpiinstall.py {options} 2>&1 | tee wpiinstall.log

 

8.  For Red Hat Enterprise Linux Server, for the additional manual setup required, if SELinux is installed and enabled, read the file:

        {install_root}/webserver/apache/selinux/selinux.notes