[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-questions
Subject: Re: how to update a Kernel to the latest version
From: Axel Scheepers <axel () axel ! truedestiny ! net>
Date: 2002-05-26 10:59:18
[Download RAW message or body]
On Sun, May 26, 2002 at 08:26:07PM +1000, Ivan Carey wrote:
> I am using FreeBSD 4.3.
> How d I update a Kernel to the latest version of 4.5 without doing a complete installation.
>
> I wish to maintain all the configurations and files, directories etc.
The best and preffered way is to do a make world in your /usr/src,
this will rebuild your base completely, afterwards you have to run
mergemaster and make/install the new kernel.
Whenever you just build a new kernel you risk that your userland binaries
are out of sync with the kernel, like a non working ps etc.
Those programs rely on kernel structures which might have been changed
in the meantime, so just upgrading the kernel is generally a bad idea.
>
> Also how do I update other applications without over writing any configurations etc such a \
> Apache or PHP or Samba?
You can keep your ports up to date with CVS or cvsup, then a
make && make deinstall && make reinstall
in the port's dir will upgrade it the safest way; it will try to
build the port first, and only if that went fine it deinstalls the previous
version and installs a new one.
>
> Thanks,
>
> Ivan
>
Gr,
--
Axel Scheepers
UNIX System Administrator
email: axel@axel.truedestiny.net
a.scheepers@iae.nl
http://axel.truedestiny.net/~axel
------------------------------------------
"Houston, Tranquillity Base here. The Eagle has landed."
-- Neil Armstrong
------------------------------------------
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic