this post was submitted on 25 Sep 2023
31 points (97.0% liked)

Selfhosted

40180 readers
529 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I just installed apt cacher ng for catching my apt upgrade packages and saw a huge time improvement even though I have a good internet connection. It act as a proxy and caches the response packages.

Do you run something similar? Or maybe even run a local repo mirror? Warning, they are really big so I don't think it is recommended unless you really need almost everything.

you are viewing a single comment's thread
view the rest of the comments
[–] TCB13@lemmy.world 2 points 1 year ago

Do you know you can use the ISO files as repositories? Easier in some situations.

  1. Create the folders (mountpoint) to mount the ISO files
sudo mkdir -p /media/repo_1
sudo mkdir -p /media/repo_2
sudo mkdir -p /media/repo_3
  1. Mount the ISO files
	sudo mount -o loop ~/Downloads/debian-8.0.0-amd64-DVD-1.iso /media/repo_1/
	sudo mount -o loop ~/Downloads/debian-8.0.0-amd64-DVD-2.iso /media/repo_2/
	sudo mount -o loop ~/Downloads/debian-8.0.0-amd64-DVD-3.iso /media/repo_3/
  1. Edit the /etc/apt/sources.list file to add the repository
vim /etc/apt/sources.list

	deb file:///media/repo_1/  jessie main contrib
	deb file:///media/repo_2/  jessie main contrib
	deb file:///media/repo_3/  jessie main contrib
  1. Run sudo apt-get update