Installation Instructions for Linux SA Bundles
Subscriber Availability (SA) distributions are tested, certified, and commercially supported Azul Zulu Builds of OpenJDK. These bundles are only available for Azul customers.
Zulu Restricted Repos
Because SA distributions are only available to customers, they can only be accessed with authentication.
Manage Access Tokens
Customers can manage their user token using the Azul token management app on access.azul.com. You need to login with the same credentials used for ftp.azul.com
. Once you are logged in, you can create a maximum of 10 restricted repository access token, which expire after one year or earlier as selected when you created the token. These tokens can be used in combination with the ftp username to create the basic authentication header required to download from the restricted repositories.
Note
|
Tokens are not stored and will only be visible when created. Please save them immediately in a safe location. You can revoke a token if it gets compromised or lost. |
In the examples below, the following references are used:
-
<username>
: Your FTP username. -
<token>
: Access token you created generated in the Azul token management app.
Please contact the Azul Support team ([email protected]) if you need assistance with your tokens.
Configure the Repositories
Use the following instructions to add the repositories to your Linux system or container.
RPM
cat <<'EOF' > /etc/yum.repos.d/zulu-openjdk.repo
[zulu-openjdk]
name=zulu-openjdk - Azul Systems Inc., Zulu packages
baseurl=https://sa.repos.azul.com/zulu/rpm/main
gpgkey=https://repos.azul.com/azul-repo.key
enabled=1
gpgcheck=1
protect=1
username=<username>
password=<token>
EOF
DEB
apt update
apt install -y gnupg ca-certificates curl
curl -s https://repos.azul.com/azul-repo.key | gpg --dearmor -o /usr/share/keyrings/azul.gpg
# Add the SA repo and authentication configuration
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/azul.gpg] https://sa.repos.azul.com/zulu/deb stable main" | tee /etc/apt/sources.list.d/zulu-openjdk.list
echo 'machine sa.repos.azul.com login <username> password <token>' > /etc/apt/auth.conf.d/zulu-openjdk.conf
Alpine
cd /etc/apk/keys/
wget https://cdn.azul.com/public_keys/[email protected]
echo 'https://<url_encoded_username>:<url_encoded_token>@sa.repos.azul.com/zulu/apk/main' >> /etc/apk/repositories