More Nexus repositories

IT Feb 13, 2025

For reference and screenshots see post Self-hosted Sonatype Nexus repository OSS.

Apt repositories

For each repository I will list all the settings that need to be entered. Everything else can be left at the default values or settings.

Docker

⌨️
Name: docker-apt-ubuntu
Distribution: jammy or noble (doesn't matter which one you enter)
Remote Storage: https://download.docker.com/linux/ubuntu
User the Nexus Repository truststore: checked
Blob store: apt-cache
Cleanup Policies: 180-days-not-downloaded
⌨️
Name: docker-apt-debian
Distribution: bookworm (doesn't matter which one you enter)
Remote Storage: https://download.docker.com/linux/debian
User the Nexus Repository truststore: checked
Blob store: apt-cache
Cleanup Policies: 180-days-not-downloaded
  • On your machine add Docker repository as described in the official doumentation.
  • Edit /etc/apt/sources.list.d/docker.list.
    • Ubuntu 22.04 (Jammy) example:
#deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu jammy stable
deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://nexus20.joeplaa.com/repository/docker-apt-ubuntu/ jammy stable
    • Debian 12 (bookworm) example:
#deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu noble stable
deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://nexus50.joeplaa.com/repository/docker-apt-debian/ bookworm stable

Launchpad

Some Ubuntu software packages are hosted on the "Launchpad" platform. You don't have to create a new repository for each package you want to download. You can create a single one for Launchpad.

⌨️
Name: launchpad
Distribution: jammy or noble (doesn't matter which one you enter)
Remote Storage: https://ppa.launchpadcontent.net
User the Nexus Repository truststore: checked
Blob store: apt-cache
Cleanup Policies: 90-days-not-downloaded
  • Edit the /etc/apt/sources.list.d/*.list files:
    • For example /etc/apt/sources.list.d/ansible-ubuntu-ansible-jammy.list:
#deb https://ppa.launchpadcontent.net/ansible/ansible/ubuntu/ jammy main
# deb-src https://ppa.launchpadcontent.net/ansible/ansible/ubuntu/ jammy main
deb https://nexus20.joeplaa.com/repository/launchpad/ansible/ansible/ubuntu/ jammy main
    • For example /etc/apt/sources.list.d/kdenlive-ubuntu-kdenlive-stable-jammy.list:
#deb https://ppa.launchpadcontent.net/kdenlive/kdenlive-stable/ubuntu/ jammy main
# deb-src https://ppa.launchpadcontent.net/kdenlive/kdenlive-stable/ubuntu/ jammy main
deb https://nexus20.joeplaa.com/repository/launchpad/kdenlive/kdenlive-stable/ubuntu/ jammy main

Microsoft

Edge browser

⌨️
Name: microsoft-edge-apt-proxy
Distribution: stable
Remote Storage: https://packages.microsoft.com/repos/edge/
User the Nexus Repository truststore: checked
Blob store: apt-cache
Cleanup Policies: 90-days-not-downloaded
  • Download the key and configure apt list:
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c 'echo "deb [arch=amd64] https://nexus20.joeplaa.com/repository/microsoft-edge-apt-proxy/ stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'
sudo rm microsoft.gpg
  • Edit the microsoft-edge*.list files:
    • /etc/apt/sources.list.d/microsoft-edge.list:
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
# deb [arch=amd64] https://packages.microsoft.com/repos/edge/ stable main
    • /etc/apt/sources.list.d/microsoft-edge-dev.list:
deb [arch=amd64] https://nexus20.joeplaa.com/repository/microsoft-edge-apt-proxy/ stable main

Shared packages

⌨️
Name: microsoft-packages-focal
Distribution: focal
Remote Storage: https://packages.microsoft.com/ubuntu/20.04/prod
User the Nexus Repository truststore: checked
Blob store: apt-cache
Cleanup Policies: 90-days-not-downloaded
⌨️
Name: microsoft-packages-jammy
Distribution: jammy
Remote Storage: https://packages.microsoft.com/ubuntu/22.04/prod
User the Nexus Repository truststore: checked
Blob store: apt-cache
Cleanup Policies: 90-days-not-downloaded
  • On your machine add Microsoft repository as described in the official doumentation (step 1 and 2).
  • Edit /etc/apt/sources.list.d/msprod.list.
    • Ubuntu 22.04 (Jammy) example:
deb [arch=amd64] https://nexus30.jodibooks.com/repository/microsoft-packages-jammy/ jammy main

SQL server

⌨️
Name: mssql-server-2019-focal
Distribution: focal
Remote Storage: https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019
User the Nexus Repository truststore: checked
Blob store: apt-cache
Cleanup Policies: 90-days-not-downloaded
⌨️
Name: mssql-server-2022-jammy
Distribution: jammy
Remote Storage: https://packages.microsoft.com/ubuntu/22.04/mssql-server-2022
User the Nexus Repository truststore: checked
Blob store: apt-cache
Cleanup Policies: 90-days-not-downloaded
  • On your machine add Microsoft repository as described in the official doumentation (step 1 and 2).
  • Edit /etc/apt/sources.list.d/mssql-server-2022.list.
    • Ubuntu 22.04 (Jammy) example:
deb [arch=amd64] https://nexus30.jodibooks.com/repository/mssql-server-2022-jammy/ jammy main

Netdata

Stable

⌨️
Name: netdata-apt-debian
Distribution: bookworm (doesn't matter which one you enter)
Remote Storage: http://repo.netdata.cloud/repos/stable/debian/
Blob store: apt-cache
Cleanup Policies: 90-days-not-downloaded
⌨️
Name: netdata-apt-ubuntu
Distribution: focal or jammy (doesn't matter which one you enter)
Remote Storage: http://repo.netdata.cloud/repos/stable/ubuntu/
Blob store: apt-cache
Cleanup Policies: 90-days-not-downloaded

Repoconfig

⌨️
Name: netdata-repoconfig-apt-debian
Distribution: bookworm (doesn't matter which one you enter)
Remote Storage: http://repo.netdata.cloud/repos/repoconfig/debian/
Blob store: apt-cache
Cleanup Policies: 90-days-not-downloaded
⌨️
Name: netdata-repoconfig-apt-ubuntu
Distribution: jammy or noble (doesn't matter which one you enter)
Remote Storage: http://repo.netdata.cloud/repos/repoconfig/ubuntu/
User the Nexus Repository truststore: checked
Blob store: apt-cache
Cleanup Policies: 90-days-not-downloaded
  • Download signing key:
sudo curl -fsSL https://repository.netdata.cloud/netdatabot.gpg.key -o /usr/share/keyrings/netdata-archive-keyring.gpg
  • Create /etc/apt/sources.list.d/netdata.sources.
    • Debian 12 (Bookworm) example:
X-Repolib-Name: Netdata stable repository
Types: deb
URIs: https://nexus10.joeplaa.com/repository/netdata-apt-debian/
#URIs: http://repository.netdata.cloud/repos/stable/debian/
Suites: bookworm/
Signed-By: /usr/share/keyrings/netdata-archive-keyring.gpg
By-Hash: Yes
Enabled: Yes

X-Repolib-Name: Netdata repository configuration repository
Types: deb
URIs: https://nexus10.joeplaa.com/repository/netdata-repoconfig-apt-debian/
#URIs: http://repository.netdata.cloud/repos/repoconfig/debian/
Suites: bookworm/
Signed-By: /usr/share/keyrings/netdata-archive-keyring.gpg
By-Hash: Yes
Enabled: Yes

Proxmox

Proxmox VE

⌨️
Name: pve
Distribution: bookworm
Remote Storage: http://download.proxmox.com/debian/pve
Blob store: apt-cache
Cleanup Policies: 90-days-not-downloaded
  • Edit /etc/apt/sources.list.d/pve-no-subscription.list:
#deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
deb https://nexus10.joeplaa.com/repository/pve/ bookworm pve-no-subscription

Proxmox VE CEPH

⌨️
Name: pve-ceph
Distribution: bookworm
Remote Storage: http://download.proxmox.com/debian/ceph-reef
Blob store: apt-cache
Cleanup Policies: 90-days-not-downloaded
  • Edit /etc/apt/sources.list.d/ceph.list:
#deb http://download.proxmox.com/debian/ceph-reef bookworm no-subscription
deb https://nexus10.joeplaa.com/repository/pve-ceph/ bookworm no-subscription

Proxmox Backup Server

⌨️
Name: pbs
Distribution: bookworm
Remote Storage: http://download.proxmox.com/debian/pbs
Blob store: apt-cache
Cleanup Policies: 90-days-not-downloaded
  • Edit /etc/apt/sources.list.d/pbs-no-subscription.list:
# PBS pbs-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
#deb http://download.proxmox.com/debian/pbs bookworm pbs-no-subscription
deb https://nexus10.joeplaa.com/repository/pbs/ bookworm pbs-no-subscription

Proxmox Backup Server Client

⌨️
Name: pbs-client
Distribution: bookworm
Remote Storage: http://download.proxmox.com/debian/pbs-client
Blob store: apt-cache
Cleanup Policies: 90-days-not-downloaded
  • Edit /etc/apt/sources.list.d/ceph.list:
# deb http://old-releases.ubuntu.com/ubuntu kinetic main
#deb http://download.proxmox.com/debian/pbs-client bookworm main
deb [arch=amd64] https://nexus20.joeplaa.com/repository/pbs-client/ bookworm main

Proxmox Data Center

⌨️
Name: pdm
Distribution: bookworm
Remote Storage: http://download.proxmox.com/debian/pdm
Blob store: apt-cache
Cleanup Policies: 90-days-not-downloaded
  • Edit /etc/apt/sources.list.d/pdm-test.list:
deb https://nexus10.joeplaa.com/repository/pdm/ bookworm pdm-test

Docker repositories

For each repository I will list all the settings that need to be entered. Everything else can be left at the default values or settings.

ghcr.io (Github Container Repository)

⌨️
Name: docker-ghcr.io-proxy
Allow anonymous docker pull: checked
Remote Storage: https://ghcr.io
User the Nexus Repository truststore: checked
Blob store: docker-cache
Cleanup Policies: 180-days-not-downloaded

lscr.io (Linux Server Container Repository)

⌨️
Name: docker-lscr.io-proxy
Allow anonymous docker pull: checked
Remote Storage: https://lscr.io
User the Nexus Repository truststore: checked
Blob store: docker-cache
Cleanup Policies: 180-days-not-downloaded

MCR (Microsoft Container Repository)

⌨️
Name: docker-microsoft
Allow anonymous docker pull: checked
Remote Storage: https://mcr.microsoft.com
User the Nexus Repository truststore: checked
Blob store: docker-cache
Cleanup Policies: 180-days-not-downloaded

quay.io (Red Hat repository)

⌨️
Name: docker-quay.io-proxy
Allow anonymous docker pull: checked
Remote Storage: https://quay.io
User the Nexus Repository truststore: checked
Blob store: docker-cache
Cleanup Policies: 180-days-not-downloaded
  • Add the repositories to the docker group.
  • Update all docker-compose files or regular docker commands to use images from nexus.joeplaa.com. For example: nexus.joeplaa.com/nginx or nexus.joeplaa.com/guacamole/guacamole.

Tags