Solaris10でSquidをソースからインストールする手順(まとめ)
※ 64ビット版
※ 64ビット版
# smpatch updateと行ったのだが、139556-08カーネルパッチで見事にハマリ。
とやってみたところ、無事に起動した。# cd /a/var/sadm/spool
# patchadd -n -R /a 139556-08.jar
# bootadm update-archive -R /a
# zfs snapshot [プール名]@before
escape ^Tt工夫というか、hardstatusで常に最下行にScreenのウインドウ一覧と日時が表示されるようになっています。キーバインドはCtrl+T。デフォルトのCtrl+Aは使いにくいし、Ctrl+XはEmacsと被るし、Ctrl+Zはシェルと被るので、、、不都合の少ないであろうキーを割り当てました。(昔はCtrl+Xだったんですが・・・)
startup_message off
hardstatus on
hardstatus alwayslastline "screen %{= wk} %`%-w%{=b bw}%n %t%{-}%+w %u %= %{= KG} %02m/%02d %{= KM}[%02c] "
autodetach on
defscrollback 20000
vbell on
bell ^G
idle 180 blanker
blankerprg fortune meigen
bind -c REGION 2 split
bind -c REGION 1 only
bind -c REGION 0 remove
bind -c REGION o focus
bind -c REGION ^ resize
bind x command -c REGION
bind w windowlist -b
bindkey "\033[5D" prev
bindkey "\033[5C" next
alias bond0 bonding
options bond0 mode=1 arp_interval=1000 arp_ip_target=192.168.10.254 primary=eth0
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
auto bond0
iface bond0 inet static
address 192.168.10.1
netmask 255.255.255.0
network 192.168.10.0
gateway 192.168.10.254
post-up /sbin/ifenslave bond0 eth0 eth1
pre-down /sbin/ifenslave -d bond0 eth0 eth1
ifconfig bond0 down
rmmod bond0
modprobe bond0
ifconfig bond0 up
/etc/init.d/networking restart
最近のコメント