Is there any online service that I could use in order to have a private Debian repository?
Is there any online service that I could use in order to have a private Debian repository?
Or maybe a way to use existing cloud services like Google Drive or OneDrive or Dropbox for this purpose?
I just have a bunch of .deb files and I think this could be really useful. Plus I will be offloading some of my storage 😁
You're viewing a single thread.
Use a standard Webserver like nginx and enable access protection with username + password. For that you can use your favorite web hoster.
You can specify the credentials like this in sources.list format:
deb https://user:password@your-server.tld
4 0 Reply@petrescatraian@libranet.de to add on to this, you can also use
apt_auth.conf
(man doc) to define the passwords for accessing your stuff. The repo has to be behind HTTP basic auth.So, the steps are:
- Follow @vimium@programming.dev's post to setup a repo
- Put the repo behind HTTP basic auth (NGINX has a guide on how to set that up)
- Setup HTTPS for the server (https://letsencrypt.org/docs/)
- Create
apt_auth.conf
with the username and password
3 1 ReplyThanks. I was looking into self hosting as well. Do I need to also own a domain for this or can I point my system to the IP address only?
1 0 ReplyAs long as it's the only (or primary) site in the IP, IP address will work just fine.
2 0 Reply@Emma_Gold_Man Thanks!
1 0 Reply