Re: make world question on remote dedicated server

2004-03-02 Thread Kevin D. Kinsey, DaleCo, S.P.
Mark Sams wrote:

Hi,

I am thinking of getting a FreeBSD dedicated server
that I will only have ssh access to.  What is the
normal procedure of keeping up to date with kernel
changes when you do not have console access? 

Is it possible to drop into single user mode remotely?
 

No.  At least, not from very far away, not
with only one box.
Or is single user mode not necessary for make
installkernel and the like? Does:
buildworld / buildkernel / installkernel
reboot then 
installworld / mergemaster 

work while connected through ssh?

 

Yes.  Quid pro quo ... this is more dangerous
if the server is relatively highly trafficked.  Also,
if the kernel won't boot, you're up a creek.
Hasn't happened to me ever, though.  Now, there
was that time when I forgot to tell BIOS to ignore
the fact that no keyboard was attached . :-)
Thank you in advance.

Mark
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world question on remote dedicated server

2004-03-02 Thread Matthew Seaman
On Wed, Mar 03, 2004 at 05:46:54PM +1100, Mark Sams wrote:

 I am thinking of getting a FreeBSD dedicated server
 that I will only have ssh access to.  What is the
 normal procedure of keeping up to date with kernel
 changes when you do not have console access? 

The usual procedure is to get console access.  The cheapest and
easiest way of doing that is to use a null-modem cable to connect the
serial port to a neighbouring machine and run tip(1) or some other
terminal emulator there.  If you haven't got another machine handy,
you might be able to use a modem to provide yourself with a remote
console -- shades of the days of big-iron mainframe type systems.
 
 Is it possible to drop into single user mode remotely?
 Or is single user mode not necessary for make
 installkernel and the like? Does:

Getting into single user mode remotely is easy.  It's the getting out
that's hard.
 
 buildworld / buildkernel / installkernel
 reboot then 
 installworld / mergemaster 

If you're going to do this at all, it's probably better to save the
reboot until after all of the installworld/installkernel/mergemaster
steps.
 
 work while connected through ssh?

You certainly can do this, and the vast majority of the time it will
work OK.  However, if things don't go smoothly you're going to be left
up a gum tree with a non-working server and no way to recover or
back-out changes.  Whether that's an acceptable risk is a judgement
call you'll have to make.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Make world question

2003-08-18 Thread Matthew Seaman
On Mon, Aug 18, 2003 at 01:53:55PM -0500, Charles Howse wrote:
 Hi,
 I haven't done this before, and even though I have FreeBSD Unleashed,
 and have read several articles from bsdvault.net and the relevant
 section of the handbook, I still have a simple question.
 
 I want to stay at a 'production' version of FreeBSD.  I'm currently
 running 4.8-RELEASE, which I installed via ftp over the Internet perhaps
 2 weeks ago.
 
 All I want to do is have the latest ports, bugfixes and source code.
 I'm not interested in being on the 'bleeding edge'.
 
 I have used cvsupit to update my ports and base cources.  Here is my
 /etc/cvsupfile:
 
 *default  host=cvsup11.FreeBSD.org
 *default  base=/usr
 *default  prefix=/usr
 *default  release=cvs
 *default  tag=RELENG_4

RELENG_4 gets you 4.8-STABLE.  From what you say above, you probably
want RELENG_4_8 which gets you 4.8-RELEASE-p3 at the moment.

 *default  delete use-rel-suffix
 
 src-base
 *default tag=.
 ports-all
 doc-all
 
 The question is: How can I determine if it is necessary to do a 'make
 world'?

If you're tracking 4.8-STABLE, then the sources are updated
continuously, so you just do a cvsup and make world cycle at
appropriate intervals in order to pick up any changes.

If you're tracking 4.8-RELEASE-px, then subscribe to
[EMAIL PROTECTED] where any new patches to that branch will be
announced, usually in the form of a security advisory.  Or you can
just run cvsup at intervals, and do a make world if there are any
source changes or if /usr/src/UPDATING gains any new entries.

Ports and doc are continually updated, and the only good ways to track
updates to any ports you have installed are either to keep running
cvsup at intervals, and look for modifications to the ports you've
installed, or to subscribe at http://www.freshports.org/.

If you cvsup your ports regularly, you can get everything up to date
fairly automatically just by running:

# cd /usr/ports
# make index   ( -or- portsdb -uU)
# portupgrade -Nia

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


RE: Make world question

2003-08-18 Thread Charles Howse
  *default  host=cvsup11.FreeBSD.org
  *default  base=/usr
  *default  prefix=/usr
  *default  release=cvs
  *default  tag=RELENG_4
 
 RELENG_4 gets you 4.8-STABLE.  From what you say above, you probably
 want RELENG_4_8 which gets you 4.8-RELEASE-p3 at the moment.

Thanks for a very informative reply!

For clarity, would it be fair to say:
4.8-RELEASE-p3 is to 4.8-RELEASE as
Windows 2000 Service Pack 3 is to Windows 2000?

If so, then I would edit /etc/cvsupfile *before* running cvsup, and
after that I would *definitly* 'make world'...?


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make world question

2003-08-18 Thread Matthew Seaman
On Mon, Aug 18, 2003 at 04:10:58PM -0500, Charles Howse wrote:
   *default  host=cvsup11.FreeBSD.org
   *default  base=/usr
   *default  prefix=/usr
   *default  release=cvs
   *default  tag=RELENG_4
  
  RELENG_4 gets you 4.8-STABLE.  From what you say above, you probably
  want RELENG_4_8 which gets you 4.8-RELEASE-p3 at the moment.
 
 Thanks for a very informative reply!
 
 For clarity, would it be fair to say:
 4.8-RELEASE-p3 is to 4.8-RELEASE as
 Windows 2000 Service Pack 3 is to Windows 2000?

Something like that, yes.
 
 If so, then I would edit /etc/cvsupfile *before* running cvsup, and
 after that I would *definitly* 'make world'...?

Yes.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature