Redhat
To Set Up and Configure a Redhat, Centos, or Amazon Repository
-
Create a /etc/yum.repos.d/centrify-rpm-redhat.repo configuration file to use the official Delinea package repository, and download a
RPM-GPG-KEY-centrify
key from the Delinea Support Portal.You can manually create the configuration file or you can use a setup script to generate the file automatically.
Note: For the baseurl parameter, enter your Delinea repo URL token in place of <URLtoken>.
-
To create the repository configuration file manually
Create a file with the following:
# Source: CENTRIFY
# Repository: CENTRIFY / rpm-redhat
# Description: YUM repository for RedHat packages (RPMs)
[centrify-rpm-redhat]
name=centrify-rpm-redhat
baseurl=https://cloudrepo.centrify.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
-
-
To create the repository configuration file automatically from a script
curl -1sLf ' https://cloudrepo.centrify.com/URLTOKEN/rpm-redhat/cfg/setup/bash.rpm.sh' | sudo -E bash
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://cloudrepo.centrify.com/URLTOKEN/rpm-redhat/rpm/el/6/$basearch
repo_gpgcheck=1
enabled=1
gpgkey=https://cloudrepo.centrify.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
Note: The gpgkey listed in the output is a public key.
-
Execute the
yum info
command to verify the repository connection. You should see output similar to the following.#yum info CentrifyDC
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
2020-11-24 10:20:22,669 [INFO] yum:17896:MainThread @connection.py:905 - Connection built: host=subscription.rhsm.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
2020-11-24 10:20:22,671 [INFO] yum:17896:MainThread @repolib.py:464 - repos updated: Repo updates
Total repo updates: 0
Updated
<NONE>
Added (new)
<NONE>
Deleted
<NONE>
This system is not registered with an entitlement server. You can use subscription-manager to register.
Available Packages
Name : CentrifyDC
Arch : x86_64
Version : 5.7.0
Release : 207
Size : 23 M
Repo : centrify-rpm-redhat/x86_64
Summary : Centrify DirectControl Agent
URL : http://www.centrify.com/
License : BSD with portions copyright (c) Centrify Corporation 2006-2020 and licensed under Centrify End User License Agreement
Description : RPM to install Centrify DirectControl on Linux platforms.
```
-
Install the Server Suite Agent for *NIX rpm package.
# yum install CentrifyDC
Note: To uninstall the Server Suite Agent rpm file, you can use the erase command. For example:
# yum erase CentrifyDC