sysinstall: download via pure http

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Mar 13 17:35:36 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 13/03/2010 14:22:58, Eitan Adler wrote:
>>
>> You can just access ftp.freebsd.org by HTTP
> 
> but sysinstall doesn't give me that option - or at least I can't find it

For the initial install? Yes -- you're right: there's no obvious
'install via HTTP' option.   Trying to install via HTTP proxy and saying
ftp.freebsd.org:80 when prompted seems like it should work to me, but I
haven't verified that.

Otherwise, your options are to download the disk1 or DVD .iso images,
and install from those -- they have everything you need to install the
base system -- or else to download the install sets out-of-band to a
local filesystem and install that way.

One handy hint when installing is *don't feel you have to do everything
from within sysinstall*.  Your priority should be to get the OS up and
running: everything else you can do from within the OS, which is a far
more flexible and powerful platform than sysinstall.  That power comes
at the cost of maybe not being particularly obvious exactly how to do
what you want, but that is why the Handbook exists.

If you're trying to install packages via HTTP rather than FTP, then try
setting PACKAGEROOT in your environment.  Like this:

   PACKAGEROOT=http://ftp.freebsd.org ; export PACKAGEROOT (Borne-shell)

or

   setenv PACKAGEROOT http://ftp.freebsd.org   (Csh-alikes)

then use 'pkg_add -r pkgname' in the usual way.  See login.conf(5) and
cap_mkdb(1) for one way of setting such variables in the environment
automatically when you login.

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkubzNwACgkQ8Mjk52CukIyG6QCcDQxl5QdnQp1Ne206sCNTHZwZ
y+YAn3dU9g1XUBKRwhXaeva8/FP7E7zn
=H9jT
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list