New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE

Preconditions to be met before installing IDM 4.x on RHEL 6.x / 7.x

Preconditions to be met before installing IDM 4.x on RHEL 6.x / 7.x

If you are planning to install IDM 4.x on RHEL 7.x platforms, this is the right place for you to start.

This article will guide you step by step with screenshots on how to meet the preconditions / prerequisites before installing IDM 4.x on RHEL 7.x platforms.

Note: With the release of NetIQ Identity Manager 4.x, we now claim support for the installation and running of the Engine and Identity Applications on Red Hat Enterprise Linux 7.x

The Requirements are:

RHEL 7.x Server and corresponding RHEL 7.x ISO/DVD, IDM4 5 ISO

EX: The IDM 4.x ISO can be downloaded from the official site: https://dl.netiq.com/Download?buildid=QOk-uIyX-gk~

The RHEL 7.x ISO can be downloaded from the RHEL official site.

Setting a Repository on RHEL 7.x server



  • As the first step login to your Redhat 7.x server.


rhel1

  • Once you login to the server perform the following steps:

    • Copy the RHEL 7.x ISO to the server.

    • Once you copy the RHEL 7.x iso/dvd on the server you need to mount it to a location on the server.

    • Create a new directory and mount the RHEL 7.x iso/dvd to the path you created, run the commands below:

      • [root@labs ~]# mkdir /mnt/Rhel71iso - Creating a directory named "Rhel71iso" under parent directory /mnt

      • [root@labs ~]# mount -t iso9660 -o loop /home/rhel-server-7.1-dvd.iso /mnt/Rhel71iso

        • -t is the option to specify the format of the device, here it is iso9660 format. This is the format how data is written on to the device.

        • -o Options are necessary with a -o argument followed by a separated comma string of options.

        • loop The loop device is a pseudo-device that often used for mounting CD/DVD ISO image and makes those files accessible as a block device.



      • [root@labs ~]# ls -lrtrhel2



    • After you have mounted the ISO/DVD, create a repository file in the /etc/yum.repos.d location as shown below:

      • [root@labs ~]# cd /etc/yum.repos.d Navigate to /etc/yum.repos.d/ directory.

      • Create a new file with the contents below, with extension of “.repo” and save the file.


        •   #vi/etc/yum.repos.d/rhel71.repo
            [redhatenterprise]
            name=RedHatRepo
            baseurl=file:///mnt/Rhel71iso/
            enabled=1
            gpgcheck=0





      • (Optional) If you are using an installation server, enter the following text: TO mount from CD/Hd use   mount /dev/cdrom   /cdrom





        •   #vi/etc/yum.repos.d/rhel71.repo
            [redhatenterprise]
            name=RedHatRepo
            baseurl=file:///cdrom
            enabled=1
            gpgcheck=0






    • After setting the repository, Run:

      • [root@labs ~]# yum clean all

      • [root@labs ~]# yum repolist

      • [root@labs ~]# yum makecacherhelrepo1



    • (Optional) To install the GPG key for RHEL 7.x server, enter one of the following command:

      • [root@labs ~]# rpm --import /mnt/Rhel71iso/RPM-GPG-KEY-redhat-release -Adding the key to the local GPG keyring for the systemrhelgpgkey

      • Optional for customers who plan to build and distribute their own RPMs securely, it is strongly recommended that all custom RPMs are signed using GNU Privacy Guard (GPG). Once the GPG key has been successfully added, the system should be able to validate custom RPMs signed with the corresponding key.



    • (Optional) To test the new repository you install the telnet as shown below:

      • [root@labs ~]# yum install telnet -After running this command you should get a Completed message as shown in the below figuretelnetinstall1telnet2

      • Once the complete message appears on screen, the test confirms that we have successfully configured the Redhat Linux 7’s yum repository using the DVD/ISO image.



    • Now, install the packages which are required for Identity Manager installation on RHEL 7.x,

      • Create an install.sh file and add the following contents to the file, save and run it:

        • [root@labs ~]# vi install.sh
          #!/bin/bash
          PKGS="ksh gettext.i686 gettext.x86_64 libXrender.i686 libXau.i686 libxcb.i686
          libX11.i686 libXext.i686 libXi.i686 libXtst.i686 glibc.i686 libstdc++.i686
          libgcc.i686 compat-libstdc++-33.i686 compat-libstdc++-33.x86_64"
          for PKG in $PKGS ;
          do
          yum -y install "$PKG"
          done



        • [root@labs ~]# sh install.sh

          NOTE: The script cannot locate compat-libstdc++-33.x86_64 library in the 32-bit repository unless you have modified the 64-bit repository and installed the RPM separately.

          install.sh_rhel pre1

          install_completerhel





    • After executing this script all the required rpms will get installed on the RHEL 7 for IDM installation. However some of the rpms particular to the component has to be installed.

    • Before proceeding with the IDM installation on RHEL 7.x platform ,ensure that your RHEL server has all the required and dependent libraries installed




Note that the Red Hat Enterprise Linux 7.1 installation is supported only on 64-bit hardware. Red Hat Enterprise Linux 7.1 is able to run 32-bit operating systems, including previous versions of Red Hat Enterprise Linux, as virtual machines.

Also, ensure that the unzip rpm is installed on the RHEL server before installing Identity Manager.

Finally, download and install libXrender-0.9.7-2.el6.i686.rpm and pdksh-5.2.14-1.i386.rpm which is available on the site http://rpm.pbone.net/index.php3/stat/4/idpl/20428414/dir/scientific_linux_6/com/libXrender-0.9.7-2.el6.i686.rpm.html and http://rpm.pbone.net/index.php3?stat=26&dist=4&size=173189&name=pdksh-5.2.14-1.i386.rpm

Now the RHEL 7.x platform is ready for IDM installation.

  • (Optional) To Display username, hostname, and current working directory on your RHEL system prompt.

    • Initial view of the REHL system promptInitial Prompt1

      • As we can see in the above picture, the present working directory is /fol1/fol2/fol3, but in the prompt we can only see the current working directory, i.e., fol3 which many users may feel somewhat uncomfortable who have got used to SUSE or other Linux platforms which display the complete pwd path.

      • With a slight modification in bashrc file we can get back the prompt with the full path to be displayed.

        • Edit the /etc/bashrc file present in the RHEL system.

        • Add the line PS1='\u\h:\w\$' here.

        • The PS1 here displays the following information in the prompt:

          • \u – Username

          • \h – Hostname

          • \w – Full path of the current working directory



        • Exit the current terminal and open a new terminal, and now the prompt has been modified as shown in the picture below.later promt2








Now, proceed with the IDM installation. First mount the IDM iso you have downloaded from the NetIQ downloads site which looks like (Identity_Manager_4.x_Linux.iso) and start installing the IDM components one by one.

Run a Prerequisite Check on RHEL 7.x before installing IDM through which you can generate a report of the missing prerequisites for each Identity Manager component. Run the II-rhel-Prerequisite.sh script, located by default in the install\utilities directory of the IDM installation kit.

This covers the scope of this article, for detailed information on how to install IDM refer the official site: https://www.netiq.com/documentation/idm45/setup_guide/data/part04b.html

Thank You 🙂

 
Labels (1)

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
4 of 4
Last update:
‎2020-03-10 18:52
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.