Connecting to the Cluster Client DEB Repository
Prepare your Debian/Ubuntu based client with the Lightbits repository, using the steps below.
The Linux Repo File Customer TOKEN section in your Lightbits Installation Customer Addendum has the TOKEN that is required to install the Lightbits NVME-Client-DEBs.
lsb_release -a
- Install the required packages:
apt-get install -y debian-keyring # debian only
apt-get install -y debian-archive-keyring # debian only
apt-get install -y apt-transport-https
- Set the keyring location variable, depending on the OS version:
x
# For Debian Stretch, Ubuntu 16.04 and later
keyring_location=/usr/share/keyrings/lightbits-lightos-3-(Minor Ver)-(Rev)-rhl-(8/9)-archive-keyring.gpg
# Example:
/usr/share/keyrings/lightbits-lightos-3-10-1-rhl-9-archive-keyring.gpg
# For Debian Jessie, Ubuntu 15.10 and earlier
keyring_location=/etc/apt/trusted.gpg.d/lightbits-lightos-3-(Minor Ver)-(Rev)-rhl-(8/9).gpg
- Download the GPG key:
curl -1sLf 'https://dl.lightbitslabs.com/<TOKEN>/lightos-3-(Minor Ver)-(Rev)-rhl-(8/9)/cfg/gpg/gpg.<KEY>.key' | gpg --dearmor > ${keyring_location}
# Example:
curl -1sLf 'https://dl.lightbitslabs.com/abc123/lightos-3-10-1-rhl-9/cfg/gpg/gpg.def321.key' | gpg --dearmor > ${keyring_location}
Connecting to Debian repositories will produce different GPG keys. For example, if you upgrade Lightbits, a newer Debian repository should be used, which will have a new GPG key. This information is provided in the Lightbits Customer Addendum, or by Lightbits Customer Support.
- Download the Lightbits Debian/Ubuntu repo file:
curl -1sLf 'https://dl.lightbitslabs.com/<TOKEN>/lightos-3-(Minor Ver)-(Rev)-rhl-(8/9)/cfg/setup/config.deb.txt?distro=ubuntu&codename=xenial' | sudo tee /etc/apt/sources.list.d/lightos.list
# Example:
curl -1sLf 'https://dl.lightbitslabs.com/abc123/lightos-3-10-1-rhl-9/cfg/setup/config.deb.txt?distro=ubuntu&codename=jammy' | sudo tee /etc/apt/sources.list.d/lightos.list
If required, replace the distribution and codename with your actual operating system and codename (based on the output of lsb_release -a
in the first step). For example, for Ubuntu 22, replace xenial
with jammy
.
- Update the repository:
apt-get update
Was this page helpful?