3 ms·
It’s very easy. I host official mirrors for a bunch of open source projects at https://mirrors.sorengard.com https://mirrors.sorengard.com. You set up Apache o
by dsacco 9y ago
It’s very easy. I host official mirrors for a bunch of open source projects at https://mirrors.sorengard.com https://mirrors.sorengard.com.
You set up Apache on a web server you control, configure virtual host settings in the Apache config files, then put your files to be hosted in something like /var/www/ and point Apache to it. Then set up Rsync by running the rsync daemon and setting an /etc/rsyncd.conf file that configures where the files are located and who can access them.
For example, let’s say you wanted to set up a mirror for the Ubuntu Package Archive. You could do that step by step with the following resources:
1. https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-16-04 https://www.digitalocean.com/community/tutorials/how-to-inst...
2. https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04 https://www.digitalocean.com/community/tutorials/how-to-set-...
3. https://help.ubuntu.com/community/Rsyncmirror https://help.ubuntu.com/community/Rsyncmirror
Maybe I’ll write up a short guide and throw it up somewhere. It’s really pretty straightforward. FTP is unfortunately trickier than HTTP and Rsync, but vsftpd removes a lot of the warts.
- BlackFingolfin 9y agoYou mirror sage, but your site still links to sage.org, which seems to be defunct AFAICT, current is http://www.sagemath.org http://www.sagemath.org