Package repo up

Published August 22, 2019

So, I have figured out a way to host the my package repo on this site.

I have mounted the drive from my server on the GCP VM using sshfs. This is to reduce the size and load of the VM.

I initially tried to forward port 80 from my server to the VM, in order to work around the port 80 block from Optus. After experimenting, I could not get the port to successfully forward, so resulted to host the webiste on the VM while mounting a remote filesystem such that it can be accessed.

This results in repo speeds near upload from my local server (thanks Optus), while actually decent speed for the rest of the site, i.e. the content stored on the VM.

For the moment this works, albeit slowly. I guess that the situation will stay like this until I can either find a better hosting solution for multiple files or get sufficient upload speed for my server to host it all locally.

Anyway, if you want to use the server, add the following to your /etc/pacman.conf, and run pacman -Syu

[Chizi123]
SigLevel = Optional TrustAll
Server = https://repo.joelg.cf/x86_64

EDIT – 25/8/19: I have decided not to mount the directory from my server on the GCP VM. Instead I have copied the files through to the VM, as the final files are all compressed and take up a small amount of space. This reduces the download speed for the files and the upload happens in the background on my server. Using rsync, I can also remove the old packages from the VM, in order to save space.

EDIT – 6/4/20: I have moved the repo to its own subdomain and updated the link accordingly. The repo is now hosted from my home server, hence the need for a different subdomain.