freebsd-update, cara instant update di freebsd

Mungkin setelah kita menginstall freebsd kita merasa sudah waktunya mengupdate atau kita dapat peringatan sudah saatnya mengupdate/patch system. Perintah yang akan kita gunakan adalah freebsd-update fetch, namun alangkah baiknya jika kita mengetahui system yang berjalan secara jelas sebelum mengupdate/patch nya.

Serv_1# uname -a

FreeBSD Serv_1.kocok.in 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386

Serv_1# freebsd-update fetch

Looking up update.FreeBSD.org mirrors… 1 mirrors found.

Fetching public key from update1.FreeBSD.org… done.

Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org… done.

Fetching metadata index… done.

Fetching 2 metadata files… done.

Inspecting system… done.

Preparing to download files… done.

Fetching 25 patches…..10….20.. done.

Applying patches… done.

The following files will be updated as part of updating to 7.0-RELEASE-p3:

/boot/kernel/kernel

/boot/kernel/kernel.symbols

/usr/bin/dig

/usr/bin/host

/usr/bin/nslookup

/usr/bin/nsupdate

/usr/include/netinet/tcp.h

/usr/lib/libssh.a

/usr/lib/libssh.so.4

/usr/lib/libssh_p.a

/usr/sbin/dnssec-signzone

/usr/sbin/lwresd

/usr/sbin/named

/usr/sbin/named-checkconf

/usr/sbin/named-checkzone

/usr/sbin/named-compilezone

/usr/sbin/sshd

/usr/src/contrib/bind9/bin/named/client.c

/usr/src/contrib/bind9/bin/named/server.c

/usr/src/contrib/bind9/lib/dns/api

/usr/src/contrib/bind9/lib/dns/dispatch.c

/usr/src/contrib/bind9/lib/dns/include/dns/dispatch.h

/usr/src/contrib/bind9/lib/dns/resolver.c

/usr/src/crypto/openssh/channels.c

/usr/src/sys/conf/newvers.sh

/usr/src/sys/netinet/tcp.h

/usr/src/sys/netinet/tcp_output.c

Serv_1# freebsd-update install

Serv_1# freebsd-update install

Installing updates… done.

Serv_1# reboot

FreeBSD Serv_1.kocok.in 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 07:33:20 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

Serv_1#

Done, semua patch terbaru sudah terinstall