FreeBSD Tips and Tricks

Next: Housekeeping of Log Files UP: TOC

Upgrading FreeBSD 10.2 to 10.3 takes approx 30 minutes. During this time all web applications where available except for 2 reboots which took 1 minute each. Make a backup or a snapshot before upgrading.

$ su -
Password:

# uname -a
FreeBSD 10.2-RELEASE-p9 FreeBSD 10.2-RELEASE-p9 #0: Thu Jan 14 01:32:46 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 #date Sat Apr 9 11:03:43 CEST 2016 #freebsd-update upgrade -r 10.3-RELEASE Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching metadata signature for 10.2-RELEASE from update6.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic world/base world/lib32 The following components of FreeBSD do not seem to be installed: world/doc world/games Does this look reasonable (y/n)? y Fetching metadata signature for 10.3-RELEASE from update6.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. Fetching files from 10.2-RELEASE for merging... done. Preparing to download files... done. Fetching 11025 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140.... 150....160....170....11025 /var/db/freebsd-update/merge/new//etc/ssh/ssh_config: 58 lines, 1901 characters. The following changes, which occurred between FreeBSD 10.2-RELEASE and FreeBSD 10.3-RELEASE have been merged into /etc/ssh/ssh_config: --- current version +++ new version @@ -1,7 +1,7 @@ -# $OpenBSD: ssh_config,v 1.28 2013/09/16 11:35:43 sthen Exp $ -# $FreeBSD: releng/10.2/crypto/openssh/ssh_config 264692 2014-04-20 12:46:18Z des $ +# $OpenBSD: ssh_config,v 1.30 2016/02/20 23:06:23 sobrado Exp $ +# $FreeBSD: releng/10.3/crypto/openssh/ssh_config 296853 2016-03-14 13:05:13Z des $ # This is the ssh client system-wide configuration file. See # ssh_config(5) for more information. This file provides defaults for # users, and the values can be changed in per-user configuration files # or on the command line. @@ -33,12 +33,14 @@ # ConnectTimeout 0 # StrictHostKeyChecking ask # IdentityFile ~/.ssh/identity # IdentityFile ~/.ssh/id_rsa # IdentityFile ~/.ssh/id_dsa +# IdentityFile ~/.ssh/id_ecdsa +# IdentityFile ~/.ssh/id_ed25519 # Port 22 -# Protocol 2,1 +# Protocol 2 # Cipher 3des # Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc # MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160 # EscapeChar ~ # Tunnel no @@ -46,7 +48,11 @@ # PermitLocalCommand no # VisualHostKey no # ProxyCommand ssh -q -W %h:%p gateway.example.com # RekeyLimit 1G 1h # VerifyHostKeyDNS yes +<<<<<<< current version # VersionAddendum FreeBSD-20140420 #ClientAliveInterval 60 +======= +# VersionAddendum FreeBSD-20160310 +>>>>>>> 10.3-RELEASE wq! /usr/bin/makeinfo /usr/bin/makewhatis /usr/bin/man /usr/bin/mandoc /usr/bin/manpath /usr/bin/merge /usr/bin/mesg /usr/bin/minigzip /usr/bin/ministat /usr/bin/mkcsmapper To install the downloaded upgrades, run "/usr/sbin/freebsd-update install". #/usr/sbin/freebsd-update install Installing updates... Kernel updates have been installed. Please reboot and run "/usr/sbin/freebsd-update install" again to finish installing updates. #reboot now #/usr/sbin/freebsd-update install Installing updates... done. #date Sat Apr 9 11:32:57 CEST 2016 Next: Housekeeping of Log Files UP: TOC