Install Rudder root server on Amazon Linux 2

To install a Rudder Server on Amazon Linux 2, you need a subscription and access to the private repositories.

Then make sure amazon-linux-extras is installed:

which amazon-linux-extras

If it is not installed, install it:

sudo yum install -y amazon-linux-extras

Finally, you need to install postgresql 11 and openjdk 11 (more recent versions should work too):

amazon-linux-extras install postgresql11 java-openjdk11-headless

Depending on your exact version of Amazon Linux 2 and corresponding repositories, java-openjdk11-headless may not be available. In that case, you may need to install java-11-amazon-corretto-headless (version of OpenJDK11 built and maintained by Amazon) or java-openjdk11 (non headless version of OpenJDK with some frontend related dependencies).

Finally, just follow the standard Rudder installation for RHEL/CentOS documentation.

As Amazon Linux 2 is based on RHEL 7, the Amazon Linux repository is still named RHEL_7 even if RHEL/CentOS 7 are not supported as Rudder servers anymore.

← on RHEL/CentOS/AL2023 on SLES →