Finish upgrading remote server without physically being there?
wblock at wonkity.com
Wed Mar 2 18:18:49 UTC 2011
On Wed, 2 Mar 2011, Damien Fleuriot wrote:
> Dropping to single user is not strictly necessary, in fact I never do.
> mergemaster -p
> mergemaster -F
> rebuild your ports
Some of these steps are best practices. If you're lucky and don't have
a major change in sources, some can be eliminated or simplified.
'mergemaster -p' I never use, nor the boot to single-user and manually
buildkernel and installkernel can be combined with the "kernel" target.
The reboot after an installkernel is optional but needed to test the new
kernel before doing an installworld.
'mergemaster -Ui' is what I use after installworld.
Rebuilding ports is only necessary when you're changing major versions
Summing all that up, it's possible to update in one session, with only
one reboot. Whether that's a good idea at any given time depends on a
bunch of things.
More information about the freebsd-questions