Installing with a Debian or Ubuntu Repository
These instructions explain how to set up a repository on systems running either Debian or Ubuntu so that you can manage automatic updates for the Server Suite agent. First you configure the repository and then you can install the Server Suite packages.
You can create the repository automatically with a script or set it up manually.
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
, sosudo
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.
Creating the Debian or Ubuntu Repository Automatically with a Script
To create a Debian or Ubuntu repository automatically, run the command below:
Enter your repository URL token in place of URLTOKEN
.
$ curl -1sLf \
'https://repo.delinea.com/URLTOKEN/deb/setup.deb.sh' \
| sudo -E bash
The configuration details are in a separate file in
the /etc/apt/sources.list.d
directory, such as centrify-deb.list.
Creating the Debian or Ubuntu Repository Manually
To create the Debian or Ubuntu repository manually:
-
Update the
/etc/apt/sources.list
file to include the official Delinea package repository.Copy# deb https://repo.delinea.com/URLTOKEN/deb/deb/debian any-version main
-
Import your GPG key and update the repository:
Copy# bash -c 'wget -O - https://downloads.centrify.com/products/RPM-GPG-KEY-centrify | apt-key add -'
-
Comment out the
no-debsig
line in/etc/dpkg/dpkg.cfg
to enable GPG signature validation:Copy# grep no-debsig /etc/dpkg/dpkg.cfg
#no-debsig -
Clean and update the local archives:
Copy# apt-get clean
# apt-get updateThe configuration details are in the
/etc/apt/sources.list
file.Now you're ready to install the agent.
Installing the Agent
To install the agent on Debian or Ubuntu:
-
Execute the
apt list
command to verify the repository connection.Copy# apt list --all-versions | grep centrify
Here's an example of the output of the command above:
centrifyda/buster 3.7.0-172 amd64 centrifyda/buster 3.6.1-324 amd64 centrifydc-adbindproxy/buster 5.7.0-217 amd64 centrifydc-adbindproxy/buster 5.6.1-334 amd64 centrifydc-cifsidmap/buster 5.7.0-207 amd64 centrifydc-cifsidmap/buster 5.6.1-330 amd64 centrifydc-curl/buster 5.7.0-207 amd64 centrifydc-curl/buster 5.6.1-330 amd64 centrifydc-ldapproxy/buster 5.7.0-207 amd64 centrifydc-ldapproxy/buster 5.6.1-330 amd64 centrifydc-nis/buster 5.7.0-207 amd64 centrifydc-nis/buster 5.6.1-330 amd64 centrifydc-openldap/buster 5.7.0-207 amd64 centrifydc-openldap/buster 5.6.1-330 amd64 centrifydc-openssh/buster 8.2p1-5.7.0.207 amd64 centrifydc-openssh/buster 7.9p1-5.6.1.329 amd64 centrifydc-openssl/buster 5.7.0-207 amd64 centrifydc-openssl/buster 5.6.1-330 amd64 centrifydc/buster 5.7.0-207 amd64 centrifydc/buster 5.6.1-330 amd64
-
Run the
apt install
orapt-get install
commands to install Server Suite packages.For example:
Copy# apt install centrifydc centrifydc-nis
# apt-get install centrifydc-5.7.0-207
Uninstalling the Agent
To uninstall the Server Suite Agent for *NIX rpm, you can use either
-
The
remove
command to delete the Server Suite Agent for *NIX packageor
-
The
purge
command to also delete any configuration files.
For example:
# apt purge centrifydc=5.7.0-207