Change default APT mirrors

Shake Chen shake.chen at gmail.com
Tue Jun 5 01:21:32 UTC 2012


Hi

I have other question about preseed.

I try to let all the server use local NTP server .so add the line to
preseed.


d-i     clock-setup/ntp-server  string 10.1.247.51

after install, how to check the config have been working?








On Mon, Jun 4, 2012 at 10:57 PM, Scott Moser <smoser at ubuntu.com> wrote:

> On Mon, 4 Jun 2012, Alan Hoffmeister wrote:
>
> > Hello there!
> >
> > The default installation of Ubuntu Server get packages from the main
> > repository, is there a simple way for changing this? I mean, it would
> > be much faster to download packages from a mirror in Brazil, where the
> > server is, than the USA default one.
> >
> > Nanoing sources.list and changing one by one is so creepy :P
>
> This is pre-seedable.  The specific section you need is:
>  d-i     mirror/country string manual
>  d-i     mirror/http/hostname string archive.ubuntu.com
>  d-i     mirror/http/directory string /ubuntu
>  d-i     mirror/http/proxy string http://@@server@@:8000/
>
> If you're doing more than one install, and have a spare system with some
> disk space, I highly recommend a squid proxy and using the above to point
> the installer at the proxy.  Its a very easy way to get psuedo-lan speeds.
>
> You can specify a pre-seed at the prompt if you're doing a manual install,
> by adding 'url=<some-url>'.  If you're doing install to real hardware,
> then that might be the easiest way.  Just set up a bit.ly url for some
> server you have a http running on, and use:
>  url=http://bit.ly/your-nickname-here
>
> Further reading
>
> http://blog.dustinkirkland.com/2012/01/ubuntu-quick-installation-preseed-link.html
>
> --
> ubuntu-server mailing list
> ubuntu-server at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
> More info: https://wiki.ubuntu.com/ServerTeam
>



-- 
Shake Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20120605/6d38349b/attachment.html>


More information about the ubuntu-server mailing list