yum and RPM Repository Proxy
Put openSUSE's or Rocky Linux's package repository behind your CloudRepo organization. zypper and dnf install through it with a repository token, and there is no mirror for you to run.
Every feature on every plan, from $99/month billed annually.
14 days free. No credit card required.
Serving developers since 2016 Founder-run, no venture capital
[your-repo]
name=your-repo (CloudRepo)
baseurl=https://your-org.mycloudrepo.io/repositories/your-repo
username=you@example.com
password=YOUR_REPOSITORY_TOKEN
enabled=1
gpgcheck=1 Included on every plan
Plans differ only in storage and transfer allowance.
What you get
A distribution's repository, behind your CloudRepo organization.
- zypper and dnf zypper on openSUSE and dnf on Rocky Linux install packages through your proxy.
- openSUSE and Rocky Linux Point a proxy at download.opensuse.org or dl.rockylinux.org, and at the folder that holds repodata/. One proxy reads one repository.
- A repository token Each server signs in with a repository token. The username is the email address of the account that made it.
- Proxy for now A yum repository is a proxy for now.
- Early access yum proxy repositories are in early access.
Set up dnf
First create the proxy in the admin portal: yum as the Format, Proxy as the Kind, then the host and the folder that holds repodata/. Make a repository token that covers it.
Save the repository file
Save this file as root. If the distribution has a gpgkey= line in its own .repo file, copy it here too.
[your-repo]
name=your-repo (CloudRepo)
baseurl=https://your-org.mycloudrepo.io/repositories/your-repo
username=you@example.com
password=YOUR_REPOSITORY_TOKEN
enabled=1
gpgcheck=1 Let only root read it
The file holds your token, so make it readable by root alone.
sudo chmod 600 /etc/yum.repos.d/your-repo.repo Install a package
This line installs jq through your proxy. The -y flag answers the prompt, so it also runs in a script.
sudo dnf install -y jq Or use zypper
Save the credentials as root, in a file named for the repository.
username=you@example.com
password=YOUR_REPOSITORY_TOKEN Then make the file readable by root alone, add the repository and install.
sudo chmod 600 /etc/zypp/credentials.d/cloudrepo-your-repo
sudo zypper addrepo --refresh 'https://your-org.mycloudrepo.io/repositories/your-repo?credentials=cloudrepo-your-repo' your-repo
sudo zypper refresh
sudo zypper -n install jq Every step, in the docs
Each page has the full setup.
- yum proxy repositories Create the proxy, then set up zypper or dnf
- Repository tokens Make a token that covers the proxy
Ready to set up your yum proxy?
14 days free. No credit card required.
Starting at $99/month billed annually.
Founder-run since 2016, with no venture capital. A real person answers within one business day. Usually it's me.
Chris, founder of CloudRepo