CONTENTS
Lastmodified 2015-09-20 (日) 13:56:45
USB Boot FreeBSD-11.0-CURRENTをインストール
NICとssh関連の設定だけしてから、あとはリモートから操作。
インストール時、ホストキーが新たに生成されるが、rsync などでアクセスしてくる先のキーも全部更新しないと繋がらなくなるので、これまでのキーを継承。
待避しておいた /etc/ssh をインストール後のマシンに上書き。
# mv /etc/ssh /etc/ssh_orig # cp /back/ssh /etc/ssh
起動時にブートメニューが10秒間表示される。これを3秒に変更
echo autoboot_delay=\"3\" >> /boot/loader.conf
16 8:31 portsnap extract 17 8:34 portsnap fetch update
18 8:35 pkg info 19 8:35 pkg2ng 20 8:35 pkg info 21 8:36 pkg upgrade 22 8:36 pkg audit -F
# /etc/periodic/weekly/310.locate
23 8:37 portupgrade 24 8:37 cd /usr/ports/ports-mgmt/portupgrade 25 8:37 make install clean
help2man でエラー。
# pkg install help2man
して再度
# make install clean
make中にあれこれエラーで止まるので・・・
40 9:04 pkg install portupgrade
してしまった。
62 9:26 portinstall www/apache24 63 9:27 pkg install autoconf 64 9:28 portinstall www/apache24 65 9:38 /etc/periodic/weekly/310.locate 66 9:40 locate munin 67 9:41 portinstall sysutils/munin-master 68 9:43 pkg install pkgconf 69 9:43 portinstall sysutils/munin-master 70 10:24 apachectl start 71 10:25 locate www_php 72 10:25 locate libphp5 73 10:27 apachectl start 74 10:27 top 75 11:03 top 76 11:10 portinstall sysutils/munin-master 77 11:14 pkg install munin-master 78 11:25 pkg install munin-node 79 11:26 locate rsync 80 11:26 portinstall net/rsync 81 11:28 newaliases 82 11:31 reboot 83 11:33 screen 84 11:33 portinstall screen 85 11:34 screen 86 11:34 exit 87 11:37 top 88 11:37 pkg info 89 11:37 top 90 11:39 cd /usr/local/etc/ll 91 11:39 cd /usr/local/etc/ 96 11:43 tar xvfzp munin.tar.gz 97 11:44 /usr/local/etc/rc.d/munin-node restart 98 11:48 df -h
何も対策していないと、また、em0が高負荷でおちた。
/boot/loader.conf
hw.pci.enable_msi=0 hw.pci.enable_msix=0
を書いてみる。
転送スピードは300MBから600MBにUPしたが、すぐに落ちる。
/boot/loader.conf
hw.pci.enable_msi=0
Total access 1671:本日 1:昨日 0