Ensim Corporation



Ensim® Pro and Ensim Basic 4.0 for Linux® (LS) Installation Guide

September 13, 2004

Introduction

This guide provides instructions on installing Ensim® Pro and Ensim Basic 4.0 for Linux® on a Linux server running the Fedora™ Core 1.0 or the Red Hat® Enterprise Linux ES Release 3 operating systems.


Note icon

For simplicity, we refer to Ensim Pro and Ensim Basic 4.0 for Linux as “Ensim Control Panel,” Fedora Core 1.0 as “Fedora 1.0,” and Red Hat Enterprise Linux ES Release 3 as “RHEL 3,” throughout the document.


Topics include:

Before you install

The following sections describe the minimum system requirements and provides a checklist to help you prepare for the Ensim Control Panel installation. Your system must comply with the stipulated system requirements and the list of packages.

System requirements

Your system must meet the following minimum requirements for installing Ensim Control Panel. The requirements are common to both Fedora 1.0 and RHEL 3 servers except where indicated otherwise.

Table 1. Requirements for installing Ensim Control Panel 
Requirement
Description
Processor
Intel Pentium® II or III processor, class 500 MHz or above or any Intel-compatible CPU of 500 MHz speed or above
RAM
256 MB
Disk space
At least 20 GB. You may want to customize your disk partitions to manage the available disk resources on the target server. For information on customizing disk partitions, refer to the document Ensim Pro 4.0 for Linux Technical Reference Guide at http://www.ensim.com/support/pro/linux/index.html.
Disk partitions
/boot: At least 75 MB
/: All of the remaining disk space as Ensim Control Panel uses the
/home partition to store the site information.
You may want to customize your disk partitions to manage the available disk resources on the target server. For information on customizing disk partitions, refer to the document Ensim Pro 4.0 for Linux Technical Reference Guide at http://www.ensim.com/support/pro/linux/index.html.
Connectivity
Network connectivity with access to Internet
Ensim Control Panel
CD-ROM (if you want the Installer to obtain the installation files from the
CD-ROM)
One Ensim Control Panel CD-ROM
Other requirements
  • DNS server on network
  • “root” user access
  • The system files /etc/hosts, /etc/resolv.conf, /etc/sysconfig/network, and /etc/sysconfig/network-scripts/ifcfg-eth0 on the target server must include the entries as specified below. If the entries are not present, use an editor to modify the files.
    • /etc/hosts file
    • ---/etc/hosts begin file--

      127.0.0.1 localhost.localdomain localhost

      1.2.3.4 myhost.mydomain.com myhost
      ---/etc/hosts end file--

    • /etc/resolv.conf file
    • ---/etc/resolv.conf begin file--

      primary_name_server ip_address

      secondary_name_server ip_address
      ---/etc/resolv.conf end file--

    • /etc/sysconfig/network file
    • ---/etc/sysconfig/network begin file--

      NETWORKING=yes

      DOMAIN=mydomain.com

      HOSTNAME=myhost.mydomain.com

      GATEWAY=ip_address_gateway

      ---/etc/sysconfig/network end file--

    • /etc/sysconfig/network-scripts/ifcfg-eth0 file
    • ---/etc/sysconfig/network-scripts/ifcfg-eth0 begin file--

      DEVICE=eth0

      ONBOOT=yes

      BOOTPROTO=static

      IPADDR=IP_address_host_server

      NETMASK=netmask_value (please check with your service provider)
      GATEWAY=ip_address_gateway

      ---/etc/sysconfig/network-scripts/ifcfg-eth0 end file--

Required list of packages

The following section lists the packages and additional RPMs essential to a successful installation. The list of packages and RPMs required for the installation vary for Fedora 1.0 and RHEL 3 servers.

List of packages required for Fedora 1.0 servers

You must select the following package groups.


Note icon

You can opt for any of the following installation types—Server, Workstation, Full (select the Custom option and install ALL packages), Custom, Personal Desktop.


List of packages and additional RPMs required for RHEL 3 servers

You must install certain packages and additional RPMs on your RHEL 3 server before you install Ensim Control Panel. Please refer to the section Appendix A: Installing the required packages and RPMs on RHEL 3 servers for detailed instructions.

Installation checklist

Use the following checklist to verify that you have adequately prepared your system for a successful installation.

Table 2. Installation checklist
Requirement
Description
Status
1. Verify that the swap partition size of the target server is adequate
Target server’s swap partition size
The target server must have a minimum of 256 MB swap partition size. For information on customizing disk partitions, refer to the document, Ensim Pro 4.0 for Linux Technical Reference Guide at http://www.ensim.com/support/pro/linux/index.html.
¨
2. If installing on a RHEL 3 server, verify the list of RPMs installed on your server
Required list of RPMs on your server
The RHEL server on which you install Ensim Control Panel must comply with the installation instructions in the section Appendix A: Installing the required packages and RPMs on RHEL 3 servers.
¨
3. Verify that you have access to the software repository that you want to use for installing Ensim Control Panel
Ensim FTP server
The Installer obtains the installation files from Ensim’s FTP server. The Installer knows the address of the FTP server.
None required
Ensim Control Panel CD-ROM (purchased from the storefront https://buy.ensim.com).
One Ensim Control Panel CD-ROM. The Installer obtains the installation files from the CD-ROM.
¨
Local FTP server
The Installer obtains the installation files from your local FTP server.
You will need to configure the local FTP server. For instructions, see Setting up a local FTP server to install Ensim Pro and Ensim Basic 4.0 for Linux (LS) at
http://www.ensim.com/support/pro/linux/index.html.
¨

Installing Ensim Control Panel

The following section provides instructions for installing Ensim Control Panel on a Fedora 1.0 or RHEL 3 server. The Installer installs Ensim Control Panel in the text mode; curses-based installation is no longer supported.


Important icon

Please ensure that your system meets the requirements for a successful installation. Please review the sections System requirements and Required list of packages before you install.



Procedure icon

To install Ensim Control Panel:

  1. Log on to the server on which you want to install Ensim Control Panel.
  2. Obtain access to the Installer script ensim-installer.sh from one of the following repositories.
  3. Option 1: Ensim Control Panel CD-ROM

    You must purchase the Ensim Control Panel CD-ROM from the storefront
    https://buy.ensim.com.

    Mount the CD-ROM to access the Installer script.

    1. Insert the Ensim Control Panel CD-ROM into the CD-ROM drive of the server.
    2. To access the contents of the CD-ROM, mount the CD-ROM by typing the following command.
    3. #mount /mnt/cdrom


Note icon

You do not have to mount the CD-ROM if you have enabled AutoMount on your server.


  1. Browse to the Installer script ensim-installer.sh (located at /mnt/cdrom).
  2. Option 2: FTP server

    Download the Installer script ensim-installer.sh from the Ensim support page
    http://www.ensim.com/support/downloads.html.

  1. Run the script by typing the following command at the prompt. Use the --help option with the script to learn more about the various command line options you can use with the script.

Note icon

The actions and events that qualify an installation are temporarily logged in the file /tmp/install.log.<pid_no> where <pid_no> is the process ID of the installation process. The contents of the temporary log file are later appended to the file /var/log/ensim/installer.log, which can be viewed after the completion of the installation process. To examine the log messages during the installation, you must refer to the temporary log file /tmp/install.log.<pid_no>. The name of the log file can be obtained from the message Logging to file /tmp/install.log.<pidno> displayed at the start of the installation. Please note the file name in the message for future reference.


#sh ensim-installer.sh --email=<email_address>

where --email is the email address to which success or error messages are sent

You must use the --email option with the script to receive email messages on the status of the installation.

Example

In the following example, the command installs Ensim Control Panel by obtaining the necessary files from Ensim’s FTP server.

#sh ensim-installer.sh --email=admin@example.com

If you want the Installer to obtain the installation files from a local FTP server, you must use the --ftp-server option and specify the host name of the FTP server, otherwise the Installer defaults to Ensim’s FTP server.

The Installer begins installation of Ensim Control Panel. Before installing Ensim Control Panel, the Installer automatically runs the System Checker to ensure that your system is compatible for a successful installation. See Appendix B: Overview of the Ensim Control Panel System Checker for more information about the System Checker.

All the services and add-ons provided by Ensim Control Panel are installed.

If you encounter problems during the installation, please use the information in the section Appendix C: Troubleshooting installation issues to resolve them.

  1. After installation, you need to set up Ensim Control Panel before you can access or perform administrative tasks. To set up Ensim Control Panel, open a Web browser, enter the URL http://<server host name (or IP address)>, and fill in the required setup information.


Appendix A: Installing the required packages and RPMs on RHEL 3 servers

The following section explains how to install the required list of packages and additional RPMs essential for the successful installation of Ensim Control Panel.


Important icon

If you are installing RHEL 3 on your own, please ensure that you select only the packages listed in Step 2. Once you confirm that the required packages are installed, install the additional RPMs as mentioned in the section Installing additional RPMs.

However, if you are working with a pre-configured RHEL 3 server, the package selection is already done. It may, or may not, reflect the required set in Step 2. If the packages are different from this list, you must review the section Installing the complete set of RPMs and install all the RPMs listed in Table 3.


Selecting packages

Select the listed package groups as specified in the procedure.


Procedure icon

To select the packages during the installation process:

  1. Select the Customize Software Selection tab to access the list of package groups.
  2. On the Package Group Selection screen, select only the following packages.
    • Editors
    • Text-Based Internet
    • Web Server
    • Mail Server
    • Windows File Server
    • DNS Name Server
    • FTP Server
    • SQL Databases
    • MySQL Database
    • Network Servers
    • Legacy Network Server
    • Development Tools
    • Kernel Development
    • Legacy Software Development
    • System Tools
    • Printing Support

Installing additional RPMs


Note icon

This section assumes that you have the required package groups installed—as specified in Step 2.


This section lists the base set of RPMs that must be installed on the server before you install Ensim Control Panel. The RPM versions specified indicate the minimum requirement. You may install a later version of the RPM from the same distribution.


Procedure icon

To install the additional RPMs:

  1. Log on to the server on which you want to install Ensim Control Panel.
  2. Create a directory extra_rpms to store the additional RPMs.
  3. Copy the following RPMs from the RHEL CD-ROMs.
    • compat-db-4.0.14-5.i386.rpm
    • compat-slang-1.4.5-5.i386.rpm
    • freetype-devel-2.1.4-4.0.i386.rpm
    • httpd-devel-2.0.46-25.ent.i386.rpm
    • ImageMagick-5.5.6-4.i386.rpm
    • libjpeg-devel-6b-30.i386.rpm
    • libpng-devel-1.2.2-16.i386.rpm
    • libtiff-devel-3.5.7-13.i386.rpm
    • libxml2-python-2.5.10-5
    • php-odbc-4.3.2-8.ent.i386.rpm
    • php-mysql-4.3.2-8.ent
    • php-pgsql-4.3.2-8.ent.i386.rpm
    • rh-postgresql-7.3.4-8.i386.rpm
    • telnet-server-0.17-26
  4. Next, log on to the Red Hat Network site http://rhn.redhat.com with your user name and password to download the following RPMs from the Red Hat Network site.
    • mysql-server-3.23.58-1.i386.rpm
    • rh-postgresql-server-7.3.4-8.i386.rpm
  5. Click the Channels tab at the top of the page.
  6. In the ChannelName column, click the link Red Hat Enterprise Linux ES (v. 3 for x86) Extras.
  7. At the top of the Details page, click the Packages link. The list of packages display.
  8. Select the packages listed in Step 4, and click Download Packages.
  9. Verify that all RPM dependencies are satisfied.
  10. #rpm -Uvh *.rpm --test

    If a dependency error is evidenced, install the required RPM before proceeding to install the additional RPMs.

  11. Install the additional RPMs using the following command.
  12. #rpm -Uvh *.rpm

Installing the complete set of RPMs


Note icon

This section assumes that you do not have the required packages installed—as specified in Step 2.


Table 3 lists the complete set of RPMs that are required for the successful installation of Ensim Control Panel. If you do not have the necessary RPMs installed, you must install them before you install Ensim Control Panel. The RPM versions specified indicate the minimum requirement. You may install a later version of the RPM from the same distribution.

The RPMs in boldface indicate the RPMs that are not available on the RHEL CD-ROMs. These RPMs must be downloaded from the Red Hat Network site http://rhn.redhat.com.

Table 3. List of all RPMs 
List of all RPMs
bind-9.2.2-21.i386.rpm
perl-DateManip-5.40-30.noarch.rpm
bzip2-devel-1.0.2-11.i386.rpm
perl-DBD-MySQL-2.1021-3.i386.rpm
caching-nameserver-7.2-7.noarch.rpm
perl-DBD-Pg-1.21-2.i386.rpm
compat-libstdc++-7.3-2.96.122.i386.rpm
perl-DB_File-1.804-88.4.i386.rpm
cpp-3.2.3-20.i386.rpm
perl-DBI-1.32-5.i386.rpm
curl-7.10.6-4.1.i386.rpm
perl-Digest-HMAC-1.01-11.1.noarch.rpm
compat-db-4.0.14-5.i386.rpm
perl-Digest-SHA1-2.01-15.1.i386.rpm
compat-slang-1.4.5-5.i386.rpm
perl-HTML-Parser-3.26-17.i386.rpm
freetype-devel-2.1.4-4.0.i386.rpm
perl-HTML-Tagset-3.03-28.noarch.rpm
gcc-3.2.3-20.i386.rpm
perl-libwww-perl-5.65-6.noarch.rpm
gcc-c++-3.2.3-20.i386.rpm
perl-libxml-enno-1.02-29.noarch.rpm
gd-1.8.4-12.i386.rpm
perl-libxml-perl-0.07-28.noarch.rpm
glibc-devel-2.3.2-95.3.i386.rpm
perl-Net-DNS-0.31-3.1.noarch.rpm
glibc-headers-2.3.2-95.3.i386.rpm
perl-Parse-Yapp-1.05-30.noarch.rpm
glibc-kernheaders-2.4-8.34.i386.rpm
perl-Time-HiRes-1.38-3.i386.rpm
httpd-devel-2.0.46-25.ent.i386.rpm
perl-URI-1.21-7.noarch.rpm
httpd-2.0.46-25.ent.i386.rpm
perl-XML-Dumper-0.4-25.noarch.rpm
ImageMagick-5.5.6-4.i386.rpm
perl-XML-Encoding-1.01-23.noarch.rpm
imap-2002d-2.i386.rpm
perl-XML-Grove-0.46alpha-25.noarch.rpm
krb5-devel-1.2.7-19.i386.rpm
perl-XML-Parser-2.31-15.i386.rpm
libjpeg-devel-6b-30.i386.rpm
perl-XML-Twig-3.09-3.noarch.rpm
libpng-devel-1.2.2-16.i386.rpm
php-4.3.2-8.ent.i386.rpm
libmng-1.0.4-3.i386.rpm
php-imap-4.3.2-8.ent.i386.rpm
libtiff-devel-3.5.7-13.i386.rpm
php-ldap-4.3.2-8.ent.i386.rpm
libstdc++-devel-3.2.3-20.i386.rpm
php-mysql-4.3.2-8.ent.i386.rpm
libungif-4.1.0-15.i386.rpm
php-odbc-4.3.2-8.ent.i386.rpm
libxml2-2.5.10-5.i386.rpm
php-pgsql-4.3.2-8.ent.i386.rpm
libxml2-devel-2.5.10-5.i386.rpm
pspell-devel-0.12.2-16.1.i386.rpm
libxml2-python-2.5.10-5.i386.rpm
qt-3.1.2-13.i386.rpm
libxslt-1.0.33-1.i386.rpm
rh-postgresql-libs-7.3.4-8.i386.rpm
mod_perl-1.99_09-10.ent.i386.rpm
rh-postgresql-python-7.3.4-8.i386.rpm
mod_ssl-2.0.46-25.ent.i386.rpm
rh-postgresql-7.3.4-8.i386.rpm
mx-2.0.3-8.i386.rpm
rh-postgresql-server-7.3.4-8.i386.rpm
mysql-3.23.58-1.i386.rpm
rpm-build-4.2.1-4.2.i386.rpm
MySQL-python-0.9.1-6.i386.rpm
sendmail-cf-8.12.10-1.i386.rpm
mysql-server-3.23.58-1.i386.rpm
spamassassin-2.55-3.1.i386.rpm
net-snmp-5.0.8-11.i386.rpm
tcl-8.3.5-92.i386.rpm
openssl-devel-0.9.7a-22.1.i386.rpm
telnet-server-0.17-26.i386.rpm
perl-CGI-2.81-88.4.i386.rpm
unixODBC-2.2.3-6.i386.rpm
zlib-devel-1.1.4-8.1.i386.rpm
webalizer-2.01_10-15.ent.i386.rpm
XFree86-Mesa-libGLU-4.3.0-35.EL.i386.rpm

Appendix B: Overview of the Ensim Control Panel System Checker

Before installing Ensim Control Panel, the Installer performs a system check to ensure that your system provides a compatible platform for successful installation. The System Checker reports potential conflicts and ways to resolve them. At the end of the check it displays the number of errors or warnings encountered. The results of the system check (list of checks, status of each check, and details about errors or warnings) are logged in the file /var/log/ensim/installer.log and can be viewed after the completion of the installation process. If you want to view the log details after the system check, please refer to the temporary log file.

Interpreting the results of the system check

As the System Checker performs each check, it displays the name and brief description of the check and the outcome of the check.

The outcome can be any of the following:

When the outcome of the check is a warning or an error, details about the exception are provided.

The System Checker report provides the following information:


Note icon

The actions recommended provide broad solutions for resolving the observed exceptions. If the actions for resolving the exceptions are appropriate for your server, you must execute them as mentioned. After performing the recommended actions, you must restart the installation by running the ensim-installer.sh script. To restart the installation, please follow the instructions from step 3 specified in the section Installing Ensim Control Panel.


At the end of the check, a summary of the results is displayed, in the following format:

SUMMARY for <hostname>: <n> error(s), <m> warning(s), with issues

Where:

Appendix C: Troubleshooting installation issues

The following section describes issues that you may encounter during the installation.

If you encounter problems that you cannot troubleshoot or resolve using the information in Table 4 contact Ensim for online support at https://onlinesupport.ensim.com. You may also refer to the log file installer.log to review the list of successful and unsuccessful events recorded during the installation. The log file is located at /var/log/ensim and is emailed to the specified email address.

Table 4. Troubleshooting installation issues (Installer)  
Symptom
Description
Solution
When you run the command,
hostname” the value "myhost" is returned by the command instead of “myhost.mydomain.com”.
The host name of the server is incorrect.
Check the file /etc/sysconfig/network. The host name must be a fully qualified domain name. See the following example.
Incorrect: myhost
Correct: myhost.mydomain.com
During installation, the following message is displayed: check_hostname <FAILED>.
The host file is incorrect.
The file /etc/hosts should contain the host name and IP address of your server (see the following example). If it does not, use an editor to modify the file.
Example
---/etc/hosts begin file--
127.0.0.1 localhost.localdo- main localhost
1.2.3.4 myhost.mydomain.com myhost
---/etc/hosts end file--
where 1.2.3.4 is the IP address of myhost.mydomain.com
Unable to connect to Ensim’s FTP server.
Failed to download the metadata from Ensim’s FTP server.
Error initializing setup.
Ensure that you are connected to the Internet.
Cannot download or install updates.
Error downloading/installing updates.
The error log contains a list of all the updates that could not be downloaded. Download these updates and install them on the server, before re-starting the server to install Ensim Control Panel.
Cannot download Ensim Control Panel.
Error downloading Ensim Control Panel.
Ensure that you are connected to the Internet.

Feedback and support

To take advantage of Ensim's support services or to find additional product documentation, visit the Ensim support site, http://support.ensim.com.

To log in to Ensim online support, go to https://onlinesupport.ensim.com.

To provide feedback about Ensim products or documentation, please use the feedback form at http://www.ensim.com/about/feedback.asp.

Legal and copyright notice

This document contains information proprietary to Ensim Corporation and its receipt or possession does not convey any rights to reproduce, disclose, manufacture, or sell anything it might describe. Reproduction, disclosure, or use without Ensim’s specific written authorization is strictly forbidden.

Ensim Corporation makes no representations or warranties with respect to the content or use of this document. It also reserves the right to revise this document at any time without the obligation to notify any person of such revision.

Ensim, the Ensim logo, and ServerXchange are registered trademarks of Ensim Corporation.

All other trademarks and copyrights are the property of their respective owners.

© 2004 Ensim Corporation. All rights reserved.


Ensim Corporation
www.ensim.com

Contact Ensim
www.ensim.com/about/contact.html