Brand new German Mirror Server ready for testing!

Hello there!

I’ve created a new mirror and would run it for a long time. It would be good if you could test it. So far everything is set up. It is running manjaro. Full setup takes only 100 MB RAM. :smiley:

https://manjaro.atysleaks.org
https://mirror.atysleaks.org/manjaro

I have mirrored from rsync://ftp.halifax.rwth-aachen.de/manjaro/ for now.

A systemd timer synchronizes every 30min.

That is my first Mirror Server. I would by happy to read some feedback or maybe you have some tips for me? Would be glad to hear from you.

Seeya!

7 Likes

Nice :+1:. VPS or Home server?
Bandwidth?

1 Like

It is a VPS

CPU 4 vCore (Epyc 3Ghz)
RAM 4GB
SSD 150GB
Bandwidth: 1GBit/s

normally it doesn’t need that much cpu and ram, but i will compile AUR packages on that server also.

1 Like

Actually a lot of RAM can safe quite some storage i/o. It’s usually always the same files/packages that are requested (with updates stable/testing/unstable). Though with ssd storage not a big deal, if it is performing well…

Tipps (well actually it is personal preferences really):

  • nginx instead of apache2 (at least the icons on your site seem to indicate it is apache​:wink:) Nothing wrong with apache though, i just found nginx easier and faster :man_shrugging:

  • if you want some statistics/metrics and alerts: https://amplify.nginx.com/ / https://www.nginx.com/products/nginx-amplify/ up to 5 servers with a free account. You get metrics like network/mem/cpu usage and webserver specific stuff…

In terms of maintaining a vps in general, not specifically a mirror:

ssh
Use ssh keys instead of pw authentication
Deny root login
Change default port of 22 to something greater than 10000. (You don’t want to know how many attempts there are to break into your sys :joy: )

3 Likes

Gotcha. :white_check_mark:

I don’t know if it is faster, but apache was quite simple to configure for me. With nginx I was running in a lot of traps. :man_shrugging:

Could be useful, but i better do it the old way with ssh, screen and multitail :rofl:

Was the first thing i have done :white_check_mark:

Was by default enabled. :white_check_mark:

Ah yes… that will be the next thing i have to do. :joy:

Thanks for the feedback. It is actually not my first server, but my first mirror server :wink:

1 Like

Whenever you get mail from abuse@your-vps-hoster.falsepositive, let me know. I have some templates for replying to them (like: no my server was not hacked and is not part of a ddos network. I am hosting a mirror server for a linux distro and there was just a big update which a lot of people tried to download at the very same time)… :wink:

1 Like

I will let you know if that happens… but the admin of my local hosting service know that i will run a mirror service, therefore i don’t believe they will write me. Maybe I am wrong…

The mirror is now whitelisted and ready for real long term testing. Just update the the mirror list:

sudo pacman-mirrors -c Germany

Feel free to test and report if something strange happened or i missed something. Thanks!

Update

  1. I configured a live-ticker with https://goaccess.io/ that will show a live analyze of all requests. Available at https://mirror.atysleaks.org
  2. A rsync server is established. Available at rsync://mirror.atysleaks.org/manjaro

To-Do

  1. Adding a ftp-server (maybe not needed, but nice to have one)
  2. Adding the possibility to donate for the server if someone wish to do so.

Note

In general I can cover the costs myself, but for a few Euros I won’t say no, because the server is meant for the community and not for me alone. Costs at the moment: 25€ per month.

1 Like

Update

The server is now running about 3 months. I call it a test period to see what are the actual needs of the server. I see that the needs are much lower.

Due a second testing time, server improvement and changing the hosting provder, the server will go offline until next year.

I apologize for any troubles.