You are not logged in.

#1 2024-09-17 07:05:25

iamthecoolestguyonearth
Member
Registered: 2022-07-08
Posts: 7

Host custom in-house repo for school

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

#2 2024-09-17 07:08:35

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,272
Website

Re: Host custom in-house repo for school

https://wiki.archlinux.org/title/Pacman … repository?

Might be simpler to use the openSUSE Build Service instead:

https://build.opensuse.org/

It's free.


Para todos todo, para nosotros nada

Offline

#3 2024-09-17 07:16:09

iamthecoolestguyonearth
Member
Registered: 2022-07-08
Posts: 7

Re: Host custom in-house repo for school

any guide on how to set the repo and server up itself?

Maybe I am blind?

Offline

#4 2024-09-17 07:17:15

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,272
Website

Re: Host custom in-house repo for school

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.


Para todos todo, para nosotros nada

Offline

#5 2024-09-17 09:05:13

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 662
Website

Re: Host custom in-house repo for school

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 smile

Last edited by gromit (2024-09-17 09:05:35)

Offline

#6 2024-09-17 11:53:26

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,272
Website

Re: Host custom in-house repo for school

gromit wrote:

Is there an echo in here? tongue


Para todos todo, para nosotros nada

Offline

#7 2024-09-17 12:16:22

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 662
Website

Re: Host custom in-house repo for school

@Head_on_a_Stick whoops big_smile

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 smile

Last edited by gromit (2024-09-17 12:17:11)

Offline

Board footer

Powered by FluxBB