Skip to content

Latest commit

 

History

History
250 lines (194 loc) · 8.13 KB

client-config.md

File metadata and controls

250 lines (194 loc) · 8.13 KB

Repository Client Configurations

Table of Contents

Debian 11 (Bullseye)

Backup Current Configuration

# Create backup directory if it doesn't exist
sudo mkdir -p /etc/apt/sources.list.backup

# Backup current sources.list with timestamp
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup/sources.list.$(date +%Y%m%d_%H%M%S)

sources.list Configuration

# Edit the sources.list file
sudo nano /etc/apt/sources.list

# Add the following content:

# Main
deb https://nexus.arzinja.dev/repository/debian-bullseye-main/ bullseye main
deb-src https://nexus.arzinja.dev/repository/debian-bullseye-main/ bullseye main

# Security
deb https://nexus.arzinja.dev/repository/debian-bullseye-security/ bullseye-security main
deb-src https://nexus.arzinja.dev/repository/debian-bullseye-security/ bullseye-security main

# Updates
deb https://nexus.arzinja.dev/repository/debian-bullseye-updates/ bullseye-updates main
deb-src https://nexus.arzinja.dev/repository/debian-bullseye-updates/ bullseye-updates main

# Backports
deb https://nexus.arzinja.dev/repository/debian-bullseye-backports/ bullseye-backports main
deb-src https://nexus.arzinja.dev/repository/debian-bullseye-backports/ bullseye-backports main

Debian 12 (Bookworm)

Backup Current Configuration

# Create backup directory if it doesn't exist
sudo mkdir -p /etc/apt/sources.list.d/backup

# Backup current debian.sources with timestamp
sudo cp /etc/apt/sources.list.d/debian.sources /etc/apt/sources.list.d/backup/debian.sources.$(date +%Y%m%d_%H%M%S)

Repository Configuration

# Edit the debian.sources file
sudo nano /etc/apt/sources.list.d/debian.sources

# Add the following content:

Types: deb deb-src
URIs: https://nexus.arzinja.dev/repository/debian-bookworm-main/
Suites: bookworm
Components: main

Types: deb deb-src
URIs: https://nexus.arzinja.dev/repository/debian-bookworm-security/
Suites: bookworm-security
Components: main

Types: deb deb-src
URIs: https://nexus.arzinja.dev/repository/debian-bookworm-updates/
Suites: bookworm-updates
Components: main

Types: deb deb-src
URIs: https://nexus.arzinja.dev/repository/debian-bookworm-backports/
Suites: bookworm-backports
Components: main

Note

Debian 12 uses the new deb822 format in /etc/apt/sources.list.d/debian.sources instead of the traditional sources.list format.

Ubuntu 20.04 (Focal)

Backup Current Configuration

# Create backup directory if it doesn't exist
sudo mkdir -p /etc/apt/sources.list.backup

# Backup current sources.list with timestamp
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup/sources.list.$(date +%Y%m%d_%H%M%S)

sources.list Configuration

# Edit the sources.list file
sudo nano /etc/apt/sources.list

# Add the following content:

# Main
deb https://nexus.arzinja.dev/repository/ubuntu-focal-main/ focal main restricted universe multiverse
deb-src https://nexus.arzinja.dev/repository/ubuntu-focal-main/ focal main restricted universe multiverse

# Security
deb https://nexus.arzinja.dev/repository/ubuntu-focal-security/ focal-security main restricted universe multiverse
deb-src https://nexus.arzinja.dev/repository/ubuntu-focal-security/ focal-security main restricted universe multiverse

# Updates
deb https://nexus.arzinja.dev/repository/ubuntu-focal-updates/ focal-updates main restricted universe multiverse
deb-src https://nexus.arzinja.dev/repository/ubuntu-focal-updates/ focal-updates main restricted universe multiverse

# Backports
deb https://nexus.arzinja.dev/repository/ubuntu-focal-backports/ focal-backports main restricted universe multiverse
deb-src https://nexus.arzinja.dev/repository/ubuntu-focal-backports/ focal-backports main restricted universe multiverse

Ubuntu 22.04 (Jammy)

Backup Current Configuration

# Create backup directory if it doesn't exist
sudo mkdir -p /etc/apt/sources.list.backup

# Backup current sources.list with timestamp
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup/sources.list.$(date +%Y%m%d_%H%M%S)

sources.list Configuration

# Edit the sources.list file
sudo nano /etc/apt/sources.list

# Add the following content:

# Main
deb https://nexus.arzinja.dev/repository/ubuntu-jammy-main/ jammy main restricted universe multiverse
deb-src https://nexus.arzinja.dev/repository/ubuntu-jammy-main/ jammy main restricted universe multiverse

# Security
deb https://nexus.arzinja.dev/repository/ubuntu-jammy-security/ jammy-security main restricted universe multiverse
deb-src https://nexus.arzinja.dev/repository/ubuntu-jammy-security/ jammy-security main restricted universe multiverse

# Updates
deb https://nexus.arzinja.dev/repository/ubuntu-jammy-updates/ jammy-updates main restricted universe multiverse
deb-src https://nexus.arzinja.dev/repository/ubuntu-jammy-updates/ jammy-updates main restricted universe multiverse

# Backports
deb https://nexus.arzinja.dev/repository/ubuntu-jammy-backports/ jammy-backports main restricted universe multiverse
deb-src https://nexus.arzinja.dev/repository/ubuntu-jammy-backports/ jammy-backports main restricted universe multiverse

Ubuntu 24.04 (Noble)

Backup Current Configuration

# Create backup directory if it doesn't exist
sudo mkdir -p /etc/apt/sources.list.backup

# Backup current sources.list with timestamp
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup/sources.list.$(date +%Y%m%d_%H%M%S)

sources.list Configuration

# Edit the sources.list file
sudo nano /etc/apt/sources.list

# Add the following content:

# Main
deb https://nexus.arzinja.dev/repository/ubuntu-noble-main/ noble main restricted universe multiverse
deb-src https://nexus.arzinja.dev/repository/ubuntu-noble-main/ noble main restricted universe multiverse

# Security
deb https://nexus.arzinja.dev/repository/ubuntu-noble-security/ noble-security main restricted universe multiverse
deb-src https://nexus.arzinja.dev/repository/ubuntu-noble-security/ noble-security main restricted universe multiverse

# Updates
deb https://nexus.arzinja.dev/repository/ubuntu-noble-updates/ noble-updates main restricted universe multiverse
deb-src https://nexus.arzinja.dev/repository/ubuntu-noble-updates/ noble-updates main restricted universe multiverse

# Backports
deb https://nexus.arzinja.dev/repository/ubuntu-noble-backports/ noble-backports main restricted universe multiverse
deb-src https://nexus.arzinja.dev/repository/ubuntu-noble-backports/ noble-backports main restricted universe multiverse

Rocky Linux 8

Backup Current Configuration

# Create backup directory if it doesn't exist
sudo mkdir -p /etc/yum.repos.d/backup

# Backup all repo files with timestamp
sudo tar czf /etc/yum.repos.d/backup/repos_backup_$(date +%Y%m%d_%H%M%S).tar.gz /etc/yum.repos.d/*.repo

Repository Configuration

# Create and edit the rocky-nexus.repo file
sudo nano /etc/yum.repos.d/rocky-nexus.repo

# Add the following content:

[rocky-baseos]
name=Rocky Linux $releasever - BaseOS
baseurl=https://nexus.arzinja.dev/repository/rocky-8-baseos/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

[rocky-appstream]
name=Rocky Linux $releasever - AppStream
baseurl=https://nexus.arzinja.dev/repository/rocky-8-appstream/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

[rocky-extras]
name=Rocky Linux $releasever - Extras
baseurl=https://nexus.arzinja.dev/repository/rocky-8-extras/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

[rocky-powertools]
name=Rocky Linux $releasever - PowerTools
baseurl=https://nexus.arzinja.dev/repository/rocky-8-powertools/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial