սկսում ենք սերւէրները թարմացնելով՝
# freebsd-update fetch && freebsd-update install Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 13.1-RELEASE from update1.freebsd.org... done. Fetching metadata index... done. Fetching 2 metadata patches.. done. Applying metadata patches... done. Fetching 2 metadata files... done. Inspecting system... done. Preparing to download files... done. Fetching 255 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.. done. Applying patches… done.
ստուգում ենք՝
root@srv0:~ # freebsd-version -kru 13.1-RELEASE-p1 13.1-RELEASE-p1 13.1-RELEASE-p1
ապա թարմացնում են ՕՀ֊ի թողարկումը՝
root@srv0:~ # freebsd-update upgrade -r 13.2-RELEASE Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 13.1-RELEASE from update2.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic kernel/generic-dbg world/base world/lib32 The following components of FreeBSD do not seem to be installed: world/base-dbg world/lib32-dbg Does this look reasonable (y/n)? y Fetching metadata signature for 13.2-RELEASE from update2.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system...
դէ հիմա սպասում ենք։
Fetching files from 13.1-RELEASE for merging... done. Preparing to download files... done. Fetching 5595 patches.....10....20.[…]..5590.. done.
Applying patches… done.
Fetching 576 files... ....10..[…]..570... done. Attempting to automatically merge changes in files... done.
To install the downloaded upgrades, run "/usr/sbin/freebsd-update install".
դէ հիմա էլ տեղակայում ենք
root@srv0:~ # /usr/sbin/freebsd-update install Installing updates... Kernel updates have been installed. Please reboot and run "/usr/sbin/freebsd-update install" again to finish installing updates.
օկ, դէ հեսա reboot անեմ։
shutdown -r now
ապա կարող ենք ստուգել եթէ պատրաստ ա թարմացումները ու տեղադրել՝
root@srv0:~ # /usr/sbin/freebsd-update updatesready There are updates available to install. Run '/usr/sbin/freebsd-update install' to proceed. root@srv0:~ # /usr/sbin/freebsd-update install Installing updates...Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... done. root@srv0:~ # freebsd-version -kru 13.2-RELEASE-p4 13.2-RELEASE-p4 13.2-RELEASE-p5
պատրաստ ենք մնացած քայլերին (։