You are not logged in.
Hi,
Is there a official wiki guide to how to make a repo and host a mirror for custom packages.
How makepkg works is known. I just wonder how to host the mirror and create a repo. like so with gentoo:
https://wiki.gentoo.org/wiki/Creating_a … repository
https://wiki.gentoo.org/wiki/Local_Mirror
Offline
https://wiki.archlinux.org/title/Pacman … repository?
Might be simpler to use the openSUSE Build Service instead:
It's free.
"It's impossible for a white person to believe in capitalism and not believe in racism. You can't have capitalism without racism."
— Malcolm X
Offline
any guide on how to set the repo and server up itself?
Maybe I am blind?
Offline
No, sorry, that's me. I haven't tried that myself and I presumed the link covered it, apologies for that.
Hopefully somebody with more experience will be able to offer better assistance.
"It's impossible for a white person to believe in capitalism and not believe in racism. You can't have capitalism without racism."
— Malcolm X
Offline
This wiki article should help: https://wiki.archlinux.org/title/Pacman … repository
Also what packages do you want to host in this repo? If you plan to host self-built packages it is maybe advisable to also look into devtools' pkgctl to do clean chroot building etc.
If you just want to rehost official packages maybe a cache server would be better than a private mirror
Last edited by gromit (2024-09-17 09:05:35)
Offline
This wiki article should help: https://wiki.archlinux.org/title/Pacman … repository
Is there an echo in here?
"It's impossible for a white person to believe in capitalism and not believe in racism. You can't have capitalism without racism."
— Malcolm X
Offline
@Head_on_a_Stick whoops
The server config is not that difficult, see i.e. this nginx config I use for my own repo:
$ cat /etc/nginx/sites-enabled/repo.conf
server {
listen 80;
listen [::]:80;
server_name repo.vpn.heusel.eu;
server_name repo.fritz.box;
location / {
autoindex on;
alias /tank/packages/;
}
}
This of course gets a bit more complicated once HTTPS etc. come into play, but there should be plenty tutorials on that .. If there are issues I'm happy to help though
Last edited by gromit (2024-09-17 12:17:11)
Offline