LanCache

Estimated read time 2 min read

What is LanCache? It is a caching server. What is a caching server? It essentially keeps a copy of the games you downloaded in reserve. You download a game from a game store once. There is a copy of it on your server. If you delete the game, or have friends/family come over. Instead of downloading the same game multiple times at the same time from the same web store. It would reduce your internet speed to a crawl for bigger size titles. It potentially can be a pain and set you back time wise. By the time you are ready to game its time to go home. If one person downloaded the game prior to everyone showing up. The guests can hook up to your network and download the game. Behind the scenes the download request is being fulfilled by the cache server without touching your internet.

Also great idea of you have multiple computers that you constantly delete and install games. Which would eliminate the need to have big hard drives on your computers for games.

The idea was stirred by watching this Linus Tech Tips video and had it on my list of projects.

Prices came down and purchased a 12TB hard drive and added to my Proxmox setup. The steps I took are as follows: Here my instructions on adding a drive to Proxmox https://serverdecode.com/add-drive-proxmox/ Just a note to make sure to setup/configure templates (Ubuntu 22.04) on the new storage hard drive for it to work. I had to cobble a few videos and tutorials together for it to work.

Install Container with Ubuntu Server 22.04

  1. update everything withing the container
  2. install docker  https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-22-04
  3. install docker compose using this command sudo apt install docker-compose https://shaonmajumder.medium.com/how-to-install-docker-and-docker-compose-on-ubuntu-lts-22-04-6cdae142b9b5
  4. install iftop to monitor download traffic within the console window https://installati.one/install-iftop-ubuntu-22-04/ 
  5. Then Copy the commands from https://lancache.net/docs/
  6. On my Windows Server DNS Forward to LanCache and LanCache to Pi Hole -> Out to Internet
  7. Run the iftop command and control Z to stop in console and start downloading games

You May Also Like

More From Author