Hi everyone,
I spent a lot of time searching about local repos for updating via
I'm long time Linux user, new to FreeBSD. I have local mirror of Debian repo (with private IP on my LAN). The reason is that I have some servers with no internet access and also I have unreliable internet connection. The Debian repo is rsynced over night. The server with rsync cron job has configured NGINX and all my Debian clients have something like this in
I rsynced amd64 of FreeBSD repo and now same as Debian it's locally accessible over HTTP (I can install FTP server if FTP protocol is required). For example I can now browse the repo in Firefox and when I go to http://swmirror1/freebsd.org/update_mirror/freebsd/releases/amd64/amd64/12.0-RELEASE/ I see these files:
Could you please help me to point my first FreeBSD server to this local mirror?
The only thing I found (just by poking around in /etc) is
Thank you very much for any tips and thank you for the great work. So far my FreeBSD journey is fantastic I have a lot of fun with it ;-).
Kind regards,
Bedrich Perina
I spent a lot of time searching about local repos for updating via
freebsd-update
but I'm finding only articles and guides how to install/update software vial pkg
. That's not what I'm trying to do.I'm long time Linux user, new to FreeBSD. I have local mirror of Debian repo (with private IP on my LAN). The reason is that I have some servers with no internet access and also I have unreliable internet connection. The Debian repo is rsynced over night. The server with rsync cron job has configured NGINX and all my Debian clients have something like this in
/etc/apt/sources.list
:
Code:
deb http://swmirror1/debian.org/update_mirror/debian/ buster main contrib
I rsynced amd64 of FreeBSD repo and now same as Debian it's locally accessible over HTTP (I can install FTP server if FTP protocol is required). For example I can now browse the repo in Firefox and when I go to http://swmirror1/freebsd.org/update_mirror/freebsd/releases/amd64/amd64/12.0-RELEASE/ I see these files:
Code:
MANIFEST 07-Dec-2018 05:04 1045
base-dbg.txz 07-Dec-2018 05:04 143874908
base.txz 07-Dec-2018 05:04 154325028
doc.txz.empty_archive 07-Dec-2018 05:04 180
kernel-dbg.txz 07-Dec-2018 05:04 80406936
kernel.txz 07-Dec-2018 05:04 41358500
lib32-dbg.txz 07-Dec-2018 05:04 15642480
lib32.txz 07-Dec-2018 05:04 61684984
ports.txz 07-Dec-2018 05:04 40711528
src.txz 07-Dec-2018 05:04 159564768
tests.txz 07-Dec-2018 05:04 7839360
Could you please help me to point my first FreeBSD server to this local mirror?
The only thing I found (just by poking around in /etc) is
ServerName update.FreeBSD.org
in /etc/freebsd-update.conf
. I can replace it by ServerName swmirror1
and add private IP of swmirror1
into /etc/hosts
but that's pretty much all I found so far.Thank you very much for any tips and thank you for the great work. So far my FreeBSD journey is fantastic I have a lot of fun with it ;-).
Kind regards,
Bedrich Perina