Installing or updating the prerequisite RPM packages
You can obtain the prerequisite RPM packages from the Linux OS media or the distribution website, such as for Red Hat Enterprise Linux.
You can check which RPM packages are missing by running the precheck tool
(analytics_precheck.sh
).
- The package
nss-3.21.0
may not be included in the Linux OS media for certain versions. Obtain this package from the Linux OS media for version 6.8 or later or from the distribution website. If the
libstdc++
package is already installed in the environment in which the Analyzer probe server will run, you might not be able to installlibstdc++.i686
and an error message such as the following might be output:Protected multilib versions: libstdc++-xx.xx.xx-xx.xx.el6.i686 != libstdc++-yy.yy.yy-yy.yy.el6.x86_64
This error occurs because the version of the
x86_64
package (the 64-bit library) differs from that of thei686
package (the 32-bit compatibility library). If this happens, updatex86_64
(the 64-bit library), and then retry the installation oflibstdc++.i686
:yum update libstdc++.x86_64
The following describes how to install or update the RPM packages by using the Linux OS media.
- Mount the Linux OS media and obtain the RPM
packages:
mkdir /media/OSImage mount /dev/cdrom /media/OSImage
- Configure the yum
repository:
touch /etc/yum.repos.d/OSImage.repo echo [dvd]>>/etc/yum.repos.d/OSImage.repo echo name=dvd>>/etc/yum.repos.d/OSImage.repo echo baseurl=file:///media/OSImage/>>/etc/yum.repos.d/OSImage.repo echo gpgcheck=0>>/etc/yum.repos.d/OSImage.repo echo enabled=1>>/etc/yum.repos.d/OSImage.repo
- Run the yum command to install or
update the packages and package group:
- For packages
yum install package-to-install
- For the package group
yum group install package-group-to-install
- For packages
- Unmount the Linux OS
media:
umount /media/OSImage/ rm /etc/yum.repos.d/OSImage.repo
The following describes how to install or update the RPM packages by using the distribution website.
- Specify the repository to which the yum command
is to connect.
- For Red Hat Enterprise Linux, register the system by using Red Hat Subscription Management. For details, see https://access.redhat.com/articles/11258.
- For Oracle Linux, the initial settings are set by default (the file repo is already located in the directory /etc/yum.repos.d). For details, see http://yum.oracle.com/getting-started.html.
- If you are using a proxy, specify the proxy for the yum command:
- Add the following information to the
/etc/yum.conf
file:
proxy=http://host-name:port-number proxy_username=user-name proxy_password=password
- Clear the cache for the yum
command.
yum clean all
- Add the following information to the
/etc/yum.conf
file:
- Run the yum command to install or
update the packages and package group.
- For packages
yum install package-to-install
- For the package group
yum group install package-group-to-install
- For packages