You are not logged in.
I have very dodgy internet (will dip in and out). and I was hoping id be able to host my own AUR.
I was wondering the following things:
How (is there a video/blog about it)
How big is the repos and AUR
thanks yall
Offline
First, you will not be able to mirror the whole AUR, just give up on that idea, it's beyond absurd.
Mirroring the main repos is much less obviously absurd, but for your purposes I still don't see how it could provide any benefit. How do you think it will help? If you have trouble downloading the few package you need, how would it be easier to download every single package including ones you don't need?
Now if you have a local network with multiple arch machines it could make a lot of sense to avoid downloading the same package multiple times for each machine; so you could definitely use a shared package cache, or at larger scales of a local network perhaps mirroring the main repos could be practical.
But overall, before we dive into how to do any of this, lets identify what the best approach is. Do you have multiple arch machines on a LAN? If so, how many?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thank you for the really quick reply btw! so fast!
I thought mirroing the AUR would be too hard haha.
I reinstall arch a lot. 3-4 times a month. and redownloading packages is painful.
I am only on 512gb laptop. and a server would be much more, (as this is purely for research for now! but a server is coming soon)
I am the only arch computer on the network. I would have arch VM's though.
Thanks
Offline
In that case, a caching proxy as mentioned by Trilby for the mirror should be more appropriate I think
https://wiki.archlinux.org/title/Pacman … cman_cache
Some other tools to setup up such a cache I found with a quick search:
https://bbs.archlinux.org/viewtopic.php?id=253018
https://github.com/nroi/flexo
For the AUR think about building your packages on the server and keep them in a repository as well (e.g. with aurutils)
Edit: If you are recreating VMs (CI?), maybe build your own base image to reuse or start with a VM image provided by arch-boxes: https://gitlab.archlinux.org/archlinux/arch-boxes https://wiki.archlinux.org/title/Arch_Linux_on_a_VPS
Last edited by progandy (2023-10-19 19:38:02)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Why are you reinstalling Arch? The only time I'd ever consider that is when doing significant hardware changes, but even that is mostly pointless. If you're messing up the system and don't know how to recover, rather than burning the house down, figure out what you need to do to recover the situation. Your connection will thank you and you'll understand much more about the system.
Offline