I want to setup my own package server on my LAN. I want to make sure I do it correctly. Are the following steps correct:
1) Setup an FTP server
Question:
Any special settings that I need to setup to make this work correctly?
2) Download the package repository
Note:
The package repository will be downloaded from the following site since the FreeBSD team has removed the "package-7-stable" repository from all their FTP mirrors:
http://mirror.ancl.hawaii.edu/pub/FreeBSD/ports/i386/packages-7-stable
Obviously, since "package-7-stable" is never going to change, I'll only be downloading this repository once. No synching will ever need to take place in the future.
Question:
What method (AKA: protocol) would you use to download the repository (ex: wget, scp, rcp, rsync)? BTW: How can I tell if the site listed (above) supports "rsync"?
Question:
Do most people only download the "Latest" directory when they setup a package server on their LAN, or do they download everything (All, Latest, Categories, etc)?
3) Setup each client with a "PACKAGESITE" variable to point to the FTP server (on their LAN) that contains the package repository
4) Run pkg_add -r <package> on a client to test that a package will actually install
Am I missing anything?
1) Setup an FTP server
Question:
Any special settings that I need to setup to make this work correctly?
2) Download the package repository
Note:
The package repository will be downloaded from the following site since the FreeBSD team has removed the "package-7-stable" repository from all their FTP mirrors:
http://mirror.ancl.hawaii.edu/pub/FreeBSD/ports/i386/packages-7-stable
Obviously, since "package-7-stable" is never going to change, I'll only be downloading this repository once. No synching will ever need to take place in the future.
Question:
What method (AKA: protocol) would you use to download the repository (ex: wget, scp, rcp, rsync)? BTW: How can I tell if the site listed (above) supports "rsync"?
Question:
Do most people only download the "Latest" directory when they setup a package server on their LAN, or do they download everything (All, Latest, Categories, etc)?
3) Setup each client with a "PACKAGESITE" variable to point to the FTP server (on their LAN) that contains the package repository
4) Run pkg_add -r <package> on a client to test that a package will actually install
Am I missing anything?