Bagaimanakah caranya saya nak update sistem FreeBSD yang lama ke FreeBSD-4.8 STABLE?
 
Nota: Sila Rujuk http://staff.mybsd.org.my/nazri/update.html

Tutorial di bawah adalah proses / cara untuk meng'update' system anda dari FreeBSD 4.6/4.7/4.8-RELEASE ke 4.8-STABLE. Sebelum itu, anda digalakkan untuk membaca / merujuk / mentela'ah / mena'kul apa apa BAHAN/HOWTO/README kat mana mana sumber NET ke, /usr/src/UPDATING ke.

!!! AMARAN !!!

SILA BACKUP FAIL FAIL PENTING ANDA SEBELUM MELAKUKAN PROSES INI. SAYA TIDAK AKAN BERTANGGUNGJAWAB DI ATAS KERUGIAN/BALA/BENCANA YANG AKAN TIMBUL SEKIRANYA PROSES INI GAGAL !!! SILA AMBIL PERHATIAN !!!
RUJUKAN :

1. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
2. http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html
3. http://mostgraveconcern.com/freebsd/

CVSUP SRC anda.

root@hostname /root # cp /usr/src/share/examples/cvsup/stable-supfile /root/

Edit fail stable-supfile
root@hostname /root # vi stable-supfile
*default host=CHANGE_THIS.FreeBSD.org <-- tukarkan host ni kepada mana mana mirror yg dekat, contoh :
*default host=cvsup5.jp.FreeBSD.org
Simpan fail yang telah diedit/sunting tadi.

Edit file /etc/make.conf anda
root@hostname /root # vi /etc/make.conf

CFLAGS= -O -pipe
COPTFLAGS= -O -pipe
NOPROFILE= true

Simpan fail yang telah diedit/sunting tadi.

HINTS : /etc/default/make.conf

Mulakan proses meng'update' src ;
root@hostname /root # /usr/local/bin/cvsup -g -L 2 stable-supfile

Setelah selesai, mari kita mulakan proses buildworld.
root@hostname /root # cd /usr/src
root@hostname /src # make -j4 buildworld

Compile KERNEL anda ;
root@hostname /root # cd /usr/src/sys/i386/conf
root@hostname /conf # cp GENERIC KERNEL-SAYA

Edit/sunting KERNEL-SAYA mengikut keperluan / selera anda.
Rujuk disini untuk makluman lanjut.
Simpan fail yang telah diedit/sunting tadi dan compile KERNEL-ANDA.

root@hostname /conf # /usr/sbin/config KERNEL-SAYA
root@hostname /KERNEL-SAYA # cd ../../compile/KERNEl-SAYA
root@hostname /KERNEL-SAYA # make depend
root@hostname /KERNEL-SAYA # make
root@hostname /KERNEL-SAYA # make install

Backup fail /etc/ ;
root@hostname /KERNEL-SAYA # cp -Rp /etc/ /old.etc

Reboot PC anda dan masuk ke dalam 'single mode'
root@hostname /KERNEL-SAYA # shutdown now

Install world !!!
root@hostname /root # cd /usr/src
root@hostname /src # make installworld

Ini PART yang perlu berhati hati, silap gaya / langkah, mmg MASUK GAUNG ! merge !
root@hostname /src # cd /usr/src/usr.sbin/mergemaster
root@hostname /src # ./mergemaster.sh -p
root@hostname /src # /usr/sbin/mergemaster -v -w 132

Update segala bala di /dev/ ;
root@hostname /src # # cd /dev
root@hostname /dev #./MAKEDEV all

Update /stand!!

root@hostname /dev # cd /usr/src/release/sysinstall
root@hostname /sysinstall # make clean
root@hostname /sysinstall # make all install

Reboot ke 'multiuser mode' ;
root@hostname /sysinstall # reboot

DONE !!!

    Source: geocities.com/hackermuda/exploits

               ( geocities.com/hackermuda)