Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 09:27:47 +0100 (CET)
From:      Micke Josefsson <mj@isy.liu.se>
To:        Brent <bierblb@netins.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   RE: make world and a mirror type backup
Message-ID:  <XFMail.010122092747.mj@isy.liu.se>
In-Reply-To: <CLEBKGOHKNELHPEDDJJIOEIKCHAA.bierblb@netins.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 22-Jan-01 Brent wrote:
> Hey everyone!
> 
> I have a couple different questions, and I thought I would try them in the
> same email.
> 
> First, I have been running FreeBSD for some years now, but never really had
> to update the source, because I usually could just rebuild the machine.  Now
> that I have to, after I cvsup the src, are there any easy steps to take to
> update with the least amount of problems and downtime?  I also am away from
> the machine, so I was wondering if I could do this remotely.  I did read
> about make world, but what does that command actually do?

Easiest is if you are withing the same branch. I.e. going from 4.0 to 4.2. In
that case cvsup the sources, 'cd /usr/src', 'make buildworld' to see if
everything is there, and 'make installworld' to replace your current binaries.
Or use 'make world' to have it done in one go. It will start by rebuilding gcc
to be able to rebuild the rest. Takes a couple of hours but is straightforward.

You should then also rebuild your kernel. Either you are using the GENERIC one
or not. If you are using the GENERIC do this:

cd /usr/src/sys/i386/conf
/usr/sbin/config -r GENERIC
cd ../../compile/GENERIC
make depend
make -j4
make install
reboot

If you are using ANOTHER then replace GENERIC with ANOTHER. There has been a
thread on this list for a week or so about how to actually build the new kernel.
The way described above has always worked for me, but there is another way that
people say one should use nowadays. Check out the mailing list for that
discussion.

All of this you can do remotely. But should the box not reboot correctly then
you may have to manually interact. Has never happened to me though.



> Second, I would like to have a working backup of the server with all of its
> files over to another machine like a mirror.  It doesn't have to be a live
> copy.  Could update overnight.  Has anyone got this to work successively,
> and if so with what program?  Is rdist a good option for this?

(no expert here). Yes I think I have heard about rdist in connexion with this.
It should work. If you do not necessarily need it on another machine then vinum
can do mirroring too.


> Please send any replies cc to bierblb@netins.net since I am not on the list.
> 
> Thanks a lot in advance for your help!
> 
> Brent Bierstedt
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

----------------------------------
Michael Josefsson, MSEE
mj@isy.liu.se

This message was sent by XFMail
running on FreeBSD 3.5-STABLE
----------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010122092747.mj>