To install Identity Manager on a server running Red Hat Enterprise Linux 7.3 or later operating systems, ensure that the server meets a specific set of prerequisites.
NetIQ recommends that you review the following prerequisites:
If you have a loopback address alias to the hostname of the system in an /etc/hosts entry, it must be changed to the hostname or IP address. That is, if you have an entry similar to the one below in your /etc/hosts file, it needs to be changed to the correct entry given in second example below.
The following example has problems when any utility tries to resolve to the ndsd server:
<loopback IP address> test-system localhost.localdomain localhost
The following is a correct example entry in /etc/hosts:
<loopback IP address> localhost.localdomain localhost <IP address> test-system
If any third-party tool or utility resolves through localhost, it needs to be changed to resolve through a hostname or IP address and not through the localhost address.
If you configured Security-Enhanced Linux (SELinux), you must disable it to install Identity Manager Engine. Otherwise, the Engine installation fails with ndsconfig error code 127.
Install the appropriate libraries on the server. For more information, see Ensuring that the Server has Dependent Libraries.
On a 64-bit platform, the required libraries for RHEL vary according to your chosen method of installation. Install the dependent libraries or RPMs in the following order.
NOTE:To add a ksh file, you can enter the following command:
yum -y install ksh
glibc-*.i686.rpm
libgcc-*.i686.rpm
compat-libstdc++-33.x86_64.rpm
compat-libstdc++-33-*.i686.rpm
libXtst-*.i686.rpm
libXrender-*.i686.rpm
libXi-*.i686.rpm
unzip
bc
lsof
net-tools
NOTE:For Identity Manager engine, you can edit the prerequisite.sh script and remove the occurrences of compat-libstdc++-33.x86_64.rpm and compat-libstdc++-33-*.i686.rpm. This package is no longer necessary for Identity Manager Engine installation.
If your RHEL 7.x server needs a repository for the installation media, you can manually create one.
NOTE:Your RHEL server must have the appropriate libraries installed. For more information, see Ensuring that the Server has Dependent Libraries.
To set up a repository for the installation:
Create a mount point in your local server.
Example: /mnt/rhel (mkdir –p /mnt/rhel)
If you use an installation media, you can mount using the following command:
# mount -o loop /dev/sr0 /mnt/rhel
OR
Mount the RHEL 7 installation ISO to a directory like /mnt/rhel, using the following command:
# mount -o loop RHEL7.x.iso /mnt/rhel
Download RHEL 7.4 iso and mount the same.
For example: mount -o loop <path_to_downloaded rhel*.iso> /mnt/rhel
Copy the media.repo file from the root of the mounted directory to /etc/yum.repos.d/ and set the required permissions.
For example:
# cp /mnt/rhel/media.repo /etc/yum.repos.d/rhel7dvd.repo # chmod 644 /etc/yum.repos.d/rhel7dvd.repo
Edit the new repo file by changing the gpgcheck=0 setting to 1 and add the following:
enabled=1 baseurl=file:///mnt/rhel/ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
In the end, the new repo file would look like the following (though the mediaid would be different depending on the RHEL version):
[InstallMedia] name=DVD for Red Hat Enterprise Linux 7.1 Server mediaid=1359576196.686790 metadata_expire=-1 gpgcheck=1 cost=500 enabled=1 baseurl=file:///mnt/rhel gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
To install the 32-bit packages, change “exactarch=1” to “exactarch=0” in the /etc/yum.conf file.
To install the required packages for Identity Manager on RHEL7.x, create an install.sh file and add the following contents to the file:
#!/bin/bash yum clean all yum repolist yum makecache PKGS="ksh gettext.x86_64 libXrender.i686 libXau.i686 libxcb.i686 libX11.i686 libXext.i686 libXi.i686 libXtst.i686 glibc-*.i686.rpm libstdc++.x86_64 libgcc-*.i686.rpm unzip bc lsof net-tools" for PKG in $PKGS; do yum -y install "$PKG" done
NOTE:As the installation media does not contain the compat-libstdc++-33-*.i686.rpm, you need to manually install the RPM from the Red Hat portal.
If your server is registered, you can directly install this RPM using the yum command. For example, run the following command:
yum -y install compat-libstdc++-33-*.i686.rpm
Run the install.sh file created in Step 6 depending on the RHEL version.
To confirm if the prerequisites are met, run the script as mentioned in Running a Prerequisite Check.
Install Identity Manager 4.7.
You can generate a report of the missing prerequisites for each Identity Manager component. Run the ./RHEL-Prerequisite.sh script located in the mount directory of the installation kit.