Re: debmirror from a debian



On 10/30/2010 07:20 PM, Jordon Bedwell wrote:
Here is an example (including structure) from our live mirrors for our
clusters around the US and UK, from start to finish for you sir:

mkdir -p /srv/apt/mirror/ubuntu
mkdir /srv/apt/keys
gpg --no-default-keyring \
--keyring /srv/apt/keys/trustedkeys.gpg \
--import /usr/share/keyrings/ubuntu-archive-keyring.gpg
chown root:root /srv/apt/keys/trustedkeys.gpg
chmod og-wx,og+r /srv/apt/keys/trustedkeys.gpg

*Set your HTTP root to /srv/apt/mirror*

GNUPGHOME=/srv/apt/keys debmirror -a i386 \
--no-source \
-s main \
-h ubuntu.media.mit.edu \
-d lenny,lenny-security,lenny-updates \
-r /ubuntu \
--progress \
-e http \
/srv/apt/mirror/ubuntu

Sorry correction, change lenny to maverick. I don't know why I was
thinking of Lenny when I was writing that. It must have been because I
was working on one of my Debian servers, should be:

GNUPGHOME=/srv/apt/keys debmirror -a i386 \
--no-source \
-s main \
-h ubuntu.media.mit.edu \
-d maverick,maverick-security,maverick-updates \
-r /ubuntu \
--progress \
-e http \
/srv/apt/mirror/ubuntu

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users