Installing with a RedHat, CentOS, or Amazon Container

To install the agent in a RedHat, CentOS, or Amazon container, you create a configuration file, verify the connection, and then install the agent package.

Before you install the agent, run the adcheck utility to make sure that your environment is ready.

In the following code examples, be aware of the following formatting:

  • $ at the beginning of a line indicates a non-privileged user, so some commands will need sudo.

  • # at the beginning of a line indicates a privileged user, such as root, so sudo isn't needed.

  • \ at the end of a line indicates a line break for documentation formatting purposes only; you don't need the line break if you run the command in one line.

Configuring a RedHat, CentOS, or Amazon Repository

To configure a RedHat, Centos, or Amazon repository:

  1. From the Delinea Support Portal, download the RPM-GPG-KEY-centrify key.

  2. Create a /etc/yum.repos.d/centrify-rpm-redhat.repo configuration file.

    You need this configuration file to use the official Delinea package repository. You can either manually create the configuration file or you can use a setup script to generate the file automatically.

    1. To create the configuration file automatically from a script, run the command below:

      Copy
      $ curl -1sLf \
      'https://repo.delinea.com/URLTOKEN/rpm-redhat/setup.rpm.sh' \
      | sudo -E bash

      Enter your repository URL token in place of URLTOKEN.

      You should see output that lists out your repository details, such as the following example:

      # Source: CENTRIFY
      # Repository: CENTRIFY / rpm-redhat
      # Description: YUM repository for RedHat packages (RPMs)
      [centrify-rpm-redhat]
      name=centrify-rpm-redhat
      baseurl=https://repo.delinea.com/URLTOKEN/rpm-redhat/rpm/el/6/$basearch
      repo_gpgcheck=1
      enabled=1
      gpgkey=https://repo.delinea.com/URLTOKEN/rpm-redhat/cfg/gpg/gpg.BDD3FD95B65ECA48.key
      gpgcheck=1
      sslverify=1
      sslcacert=/etc/pki/tls/certs/ca-bundle.crt
      metadata_expire=300
      pkg_gpgcheck=1
      autorefresh=1
      type=rpm-md
      

      The gpgkey listed in the output is a public key.

  3. To create the configuration file manually, create a file with the following:

    Enter your Delinea repository URL token in place of URLTOKEN.

    # Source: CENTRIFY
    # Repository: CENTRIFY / rpm-redhat
    # Description: YUM repository for RedHat packages (RPMs)
    [centrify-rpm-redhat]
    name=centrify-rpm-redhat
    baseurl=https://repo.delinea.com/URLTOKEN/rpm-redhat/rpm/any-distro/any-version/$basearch
    repo_gpgcheck=1
    enabled=1
    gpgkey=https://downloads.centrify.com/products/RPM-GPG-KEY-centrify
    gpgcheck=1
    sslverify=1
    sslcacert=/etc/pki/tls/certs/ca-bundle.crt
    metadata_expire=300
    pkg_gpgcheck=1
    autorefresh=1
    type=rpm-md						
  4. Verify the repository connection by running the yum info command, as follows:

    Copy
     # yum info CentrifyDC

    You should see output similar to the following:

    You're now ready to install the agent.

Installing the Agent

To install the Server Suite Agent for *NIX rpm package:

  • Run the following command:

    Copy
    # yum install CentrifyDC

 

Uninstalling the Agent

To uninstall the Server Suite Agent for *NIX rpm package:

  • Run the following command:

    Copy
    # yum erase CentrifyDC