FreeBSD binary(ikili) guncelleme

FreeBSD sisteminizi 6.1’den 6.2’ye(ya da daha eski surumleri) guncelleme isini Colin Percival tarafindan hazirlanmis freebsd-update scripti ile kolayca yapabilirsiniz.

deamon.jpg
Adim adim guncelleme;



lifeoverip # mkdir /usr/upgrade
lifeoverip # cd /usr/upgrade
lifeoverip # fetch http://www.daemonology.net/freebsd-update/upgrade-to-6.2.tgz
lifeoverip # tar -xzf upgrade-to-6.2.tgz
lifeoverip # cd upgrade-to-6.2
lifeoverip # sh freebsd-update.sh -f freebsd-update.conf -d /usr/upgrade -r 6.2-RELEASE upgrade
....
Does this look reasonable (y/n)? y
...

lifeoverip # sh freebsd-update.sh -f freebsd-update.conf -d /usr/upgrade install

..
Installing updates...
Kernel updates have been installed. Please
reboot and run "freebsd-update.sh install" again to
finish installing updates.
...reboot...

lifeoverip # reboot

sistem yeniden acilsiktan sonra

lifeoverip #cd /usr/upgrade/upgrade-to-6.2
lifeoverip # sh freebsd-update.sh -f freebsd-update.conf -d /usr/upgrade install


Sisteme tekrar baktigimizda son

[email protected] /usr/upgrade/upgrade-to-6.2# uname -a
FreeBSD mail.lifeoverip.net 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:55:55 UTC 2007 [email protected]:/usr/obj/usr/src/sys/SMP i386

not: custom kerneliniz varsa guncelleme sonrasi tekrar derlemek zorunda kalacaksiniz.
Kaynak: http://www.daemonology.net/blog/2006-11-26-freebsd-6.1-to-6.2-binary-upgrade.html

This entry was posted in FreeBSD. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

5 × 5 =