Update Versi Release ke Stable

Sebelum kita mengapdate dari versi Release ke Versi Stable. Beikut sedikit penjelasan tentang FreeBSD-Release dan FreeBSD-Stable :

What is FreeBSD-STABLE?
FreeBSD-STABLE is a development brach where the major release will be made. As the time goes by, FreeBSD-STABLE will be changed with the merged technology from FreeBSD-CURRENT, therefore it may not be suitable for the end-user’s necessity. If you want to follow the latest technology in FreeBSD with an adequate stability (but there is no guarantee that this branch will have no problems), you may use this branch.

What is FreeBSD-RELEASE?
FreeBSD-RELEASE is a snapshot from FreeBSD-STABLE where its stability has properly been tested, and it will not have a major change or addition with the latest technology. The only changes is on the security patch. You are recommended to install FreeBSD-RELEASE on production server.

Untuk mengupdate versi dari Release ke Stable adalah sebagai berikut :

heru# cd /usr/ports/net/cvsup-without-gui/
heru# make install clean

Setelah proses install kita perlu menginstall portsnap dan cvsup-without-gui selesai, kita baru melakukan update port :

heru# portsnap fetch "download daftar port yang terbaru"
heru# portsnap extract " extract prot yang didownload"
heru# portsnap update "update port"

Itu adalah proses pertama kali setelah kita install cvsup-without-gui, namun selanjutnya setelah update port tersebut, kita tinggal melakukan perintah fetch dan update tanpa extract.

sekarang adalah langkah inti, yaitu membuat versi Release menjadi Stable :

heru# cp /usr/share/examples/cvsup/stable-supfile /etc/
heru#ee /etc/stable-supfile

*default host=CHANGE_THIS.FreeBSD.org
Diubah menjadi: (misalnya)
*default host=cvsup.jp.FreeBSD.org

Kemudian jalankan perintah :

heru# /usr/local/bin/cvsup -g -L 2 /etc/stable-supfile
heru# mv /usr/obj /usr/oldobj
heru# cd /usr/src
heru# cp /sys/i386/conf/GENERIC /sys/i386/conf/kernelbaru
heru# make buildworld
heru# make buildkernel KERNCONF=kernelbaru
heru# make installkernel KERNCONF= kernelbaru
heru# make installworld

setelah selesai baru kita restart.

No comments:

Post a Comment