New in RHEL5 is yum support for install and update of the RPM packages known as CARMUTIL. The use of a yum simplifies the installation and reduces the risk for incomplete installations. There are two steps in this procedure. First access to the repository needs to be configured. When that is done, the desired CARMUTILs can be installed. These steps are detailed below.
The repository for carmutil must be accessible from all machines that should have carmutil installed. This could be achieved by a firewall configuration that permits ftp or http downloads directly from the server at Jeppesen Systems AB, or by installing a local copy of the repository inside the firewall.
See the separate section later in the document for how to install a local repository in case the firewall does not permit access to external servers.
All machines that should install carmutil must subscribe to the base channel and to the supplementary channel in RHN. Check the subscription settings for your hosts on Red Hat Network or on your local satellite.
The package carmutil-release-5 is available from Customer Production Services, but can also be downloaded directly from the server:
Install the package carmutil-release by running the following command on each host that should have carmutil installed:
# rpm -i carmutil-release-5-3.noarch.rpm
If you can't use the official repository server, e.g. because of firewall restrictions, the work around is to install local copy of the repository that all your hosts can access.
A local repository is created by downloading and installing a tar file to a shared file system (NFS), a local ftp server or a local http server. Please ask your service manager to help you obtain the tar-archive containing the complete repository.
Example on installation of a local repository:
# mkdir -p /opt/Carmen/carmutil/repo # tar -C /opt/Carmen/carmutil/repo -xjf carmutil-rhel5-2008-03-27.tar.bz2You can use the provided script to install the carmutil-release package and edit the baseurl in one command. The script replaces the two steps described in the install procedure above. You must run the scripts on all hosts that should have carmutil installed:
# cd /opt/Carmen/carmutil/repo/carmutil/rhel5/ # ./install-carmutil-release.sh /opt/Carmen/carmutil/repo/carmutil
The default configuration is to use the repository at ftp.jeppesensystems.com using the protocol http without any proxy. If you need to adjust that, edit the setting of baseurl to match the protocol and server you decided to use and define proxy settings if required. See 'man yum.conf' for additional configuration options:
# gedit /etc/yum.repos.d/carmutil.repo(Any editor can of course be used instead of gedit.)
When the package carmutil-release-5 is installed and a working baseurl is configured, you can use yum to install the carmutil package and all dependent packages using a single command:
# yum install carmutil16Replace
16with the number matching your Jeppesen release. It is possible to install more than one carmutil in parallel.
In case you use a local repository you should first download the tar file and install it in the same location as the original file. Then update all hosts with the carmutil installed by the following command:
# yum update