2011年3月4日金曜日

寒い夜はパソコンを炊く

3月になったけど、少し寒い。
というわけで、暖房がわりに、パソコンに火を入れる。
・・・買ったけど、ほとんど使ってないHP ProLiant ML115 G5[E:coldsweats01]
あ、ML110 G5もほとんど使ってません。実家に置いてあります。[E:coldsweats01]
そういえば、どちらもFreeBSDをインストールしてあるのですが、ML110 G5はWoLで電源を入れられるけど、ML115 G5はWoLで電源が入らないんだよなぁ・・・





さて、約2ヶ月ぶりに電源を入れたわけでして、FreeBSD 8.2-RELEASEも出たことなので、まずはfreebsd-updateを実行。
あっけないくらいに簡単ですね。csupしてmake buildworldしたほうが、暖まっていいかもしれませんが。



# freebsd-update -r 8.2-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 8.2-RC1 from update2.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.



The following components of FreeBSD seem to be installed:
kernel/generic src/base src/bin src/cddl src/contrib src/crypto src/etc
src/games src/gnu src/include src/krb5 src/lib src/libexec src/release
src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin
src/usbin world/base world/dict world/doc world/games world/info
world/lib32 world/manpages



The following components of FreeBSD do not seem to be installed:
world/catpages world/proflibs



Does this look reasonable (y/n)? y



Fetching metadata signature for 8.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... done.
Preparing to download files... done.
Fetching 537 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... done.
Applying patches... done.
Fetching 15 files... done.



The following files will be removed as part of updating to 8.2-RELEASE-p0:
/usr/src/release/doc/de_DE.ISO8859-1
/usr/src/release/doc/de_DE.ISO8859-1/Makefile
/usr/src/release/doc/de_DE.ISO8859-1/early-adopter
~省略~
The following files will be updated as part of updating to 8.2-RELEASE-p0:
/COPYRIGHT
/boot/kernel/aio.ko
/boot/kernel/aio.ko.symbols
/boot/kernel/dummynet.ko
~省略~



# 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



指示された通り、再起動後、もう1回実行。
# freebsd-update install
Installing updates... done.



2回目の再起動デス。
# reboot



はい、これで8.2-RELEASEへのアップデートは完了。
% uname -a
FreeBSD ホスト名 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64



8.2がリリースされたあと、portsもたくさん更新されていたので、portupgradeします。
これで暖まるなぁ。



ところで、portmasterの使い方を覚えたいなぁ。
今ひとつよくわかってない。portupgradeとオプションが似てるようで、けっこう違うし。



20110303



写真は本文とまったく関係ありません。



0 件のコメント:

コメントを投稿