Package Repository
We have a local Ubuntu repository. Our pfSense box does some DNS hackery that makes http://us.archive.ubuntu.com/ resolve to our local repository.
The repo is on the same box as the PXE server. It's physically located in the laptop build room, it's the white desktop case that has wheels.
Directories
- HTTP root: /var/www/
- APT mirror: /var/spool/apt-mirror/mirror/archive.ubuntu.com/
- apt-mirror log files: /var/spool/apt-mirror/var/
To add a package to be mirrored, edit /etc/apt/mirror.list, and then run apt-mirror.
URLs
Our local repo can be seen at http://192.168.1.192/ or http://us.archive.ubuntu.com/. If a package is missing, you can compare archive.ubuntu.com to the same directory on our local server.
Cron
A cron job is set up to update the mirror at Thursday at 2am. Its log can be found at /var/spool/apt-mirror/var/cron.log
Comments