Installing with an Alpine Linux Repository

These instructions explain how to set up a repository in Alpine Linux 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.

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 the Alpine Linux Repository

You can configure the repository automatically or manually.

To configure an Alpine Linux repository automatically, run the following command:

Copy
$ sudo apk add --no-cache bash
$ curl -u "token:<URLTOKEN>" -1sLf 'https://repo.delinea.com/basic/apk/setup.alpine.sh' | sudo -E bash

Enter your Delinea repository URL token in place of URLTOKEN.

To configure an Alpine Linux repository manually, run the following commands:

Copy
# curl -1sLf 'https://repo.delinea.com/URLTOKEN/apk/rsa.5DD8742729E6E4B2.key' > /etc/apk/keys/apk@centrify-5DD8742729E6E4B2.rsa.pub
# curl -1sLf 'https://repo.delinea.com/URLTOKEN/apk/config.alpine.txt?distro=alpine&codename=v3.13' >> /etc/apk/repositories 
# apk update

When configuring the repository manually, you have to reference the Delinea public RSA key: apk@centrify-5DD8742729E6E4B2.rsa.pub.

Installing the Agent

To install the Server Suite packages, run the apk add command.

For example:

# apk add centrifydc centrifydc-nis

Uninstalling the Agent from an Alpine Linux Repository

To uninstall the Server Suite Agent for *NIX rpm, you can use the del command to delete the Server Suite Agent for *NIX package.

For example:

# apk del centrifydc=5.8.0-xxx