Cara Update FreeBSD

Setelah melakukan instalasi FreeBSD, mengkonfigurasi jaringan, dan terhubung ke internet selanjutnya melakukan update. Update berfungsi untuk menginstalasi patch terbaru dari versi rilis yang terinstall. FreeBSD yang saya update dari versi 11.0-RELEASE-p1 ke patch terbaru yaitu 11.0-RELEASE-p12. Saya belum melakukan instalasi aplikasi setelah instalasi FreeBSD.

Cek versi FreeBSD saat ini

[INPUT]

1 root@server:~ # freebsd-version

Hasilnya

[INPUT]

1 11.0-RELEASE-p1

Cek versi juga bisa menggunakan perintah uname

[INPUT]

1 root@server:~ # uname -mrs

Hasilnya

[INPUT]

1 FreeBSD 11.0-RELEASE-p1 amd64

Fetch/download patch

[INPUT]

1 root@server:~ # freebsd-update fetch

Hasilnya

[INPUT]

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 src component not installed, skipped Looking up update.FreeBSD.org mirrors… 4 mirrors found. Fetching public key from update5.freebsd.org… done. Fetching metadata signature for 11.0-RELEASE from update5.freebsd.org… done. Fetching metadata index… done. Fetching 2 metadata files… done. Inspecting system… done. Preparing to download files… done. Fetching 994 patches…..10….20….30….40….50….60….70….80….90….100….110….120….130….140….150….160….170….180….190….200….210….220….230….240….250….260….270….280….290….300….310….320….330….340….350….360….370….380….390….400….410….420….430….440….450….460….470….480….490….500….510….520….530….540….550….560….570….580….590….600….610….620….630….640….650….660….670….680….690….700….710….720….730….740….750….760….770….780….790….800….810….820….830….840….850….860….870….880….890….900….910….920….930….940….950….960….970….980….990.. done. Applying patches… done. Fetching 6 files… done.   WARNING: FreeBSD 11.0-RELEASE-p1 is approaching its End-of-Life date. It is strongly recommended that you upgrade to a newer release within the next 1 month.

Ada pesan bahwa FreeBSD 11.0 sebentar lagi akan memasuki masa End-of-Life atau tidak akan menerima update lagi. Disarankan untuk melakukan upgrade ke rilis terbaru. Tutorial upgrade dari FreeBSD 11.0 ke 11.1 akan dibahas pada tutorial terpisah (Cara Upgrade FreeBSD).

Setelah download patch selesai, selanjutnya instalasi file patch

[INPUT]

1 root@server:~ # freebsd-update install

Hasilnya

[INPUT]

1 2 src component not installed, skipped Installing updates… done.

Cek versi FreeBSD setelah update

[INPUT]

1 root@server:~ # freebsd-version

Hasilnya

[INPUT]

1 11.0-RELEASE-p12

FreeBSD telah terupdate dari versi 11.0-RELEASE-p1 ke 11.0-RELEASE-p12.

Menjalankan kembali perintah fetch patch

[INPUT]

1 root@server:~ # freebsd-update fetch

Hasilnya

[INPUT]

1 2 3 4 5 6 7 8 src component not installed, skipped Looking up update.FreeBSD.org mirrors… 4 mirrors found. Fetching metadata signature for 11.0-RELEASE from update5.freebsd.org… done. Fetching metadata index… done. Inspecting system… done. Preparing to download files… done.   No updates needed to update system to 11.0-RELEASE-p12.

FreeBSD 11.0-RELEASE-p12 tidak membutuhkan update atau sudah update terbaru.

selamat mencoba 🙂

Sumber: freebsd.org

Leave a Reply

Your email address will not be published.