メリークリスマス
![]() |
| courtesy of http://www.noradsanta.org/ |
今年で50回目を迎えたNORAD Tracks Santaも無事終了。長い夜を終えてサンタのおっさんはハワイで床に就いている模様。
![]() |
| courtesy of http://www.noradsanta.org/ |
今年で50回目を迎えたNORAD Tracks Santaも無事終了。長い夜を終えてサンタのおっさんはハワイで床に就いている模様。
「アプリケーション」→「システム設定」→「サーバ設定」→「サービスの設定」を起動。httpdをチェックして自動起動するように設定。ついでに他のサービスも要・不要を見直して保存する。sendmail関連は要らないので
$ sudo rpm -e sendmail fetchmail mutt mdadm redhat-lsbで rpm ごと電子の藻屑に。
OpenSSLはFC3に含まれていたのだが、/usr/local/ssl/が無いのでちょっと困ったちゃん。結果こんな感じで。
# gcc -o sslwrap s_server.c s_socket.c s_cb.c -O2 -DFLAT_INC -DOPENSSL="" -I/usr/include/openssl -lssl -lcrypto
# cp -p sslwrap /usr/local/bin/
夜はM永クン、I脇クンと天神で一席。
ハードディスクを入れ替えてFedora Core 3 の基本導入。DVD-ROMから直接起動しインストールして僅か30分程で終了。ウィンドウマネージャーはGNOMEをチョイスしたが、特に明確な理由は無い。up2date に2時間近くかかり「やられた〜」と思ったもののここまで昨夜のうちに終了。
Firefox が入っているのはいいものの日本語版はどうやって入れればいいんかな? Resize Search Box Extention が入りきれない事もあってちょっとイマイチ。
まずは自分が sudo で成り上がる為 /etc/sudoers にアカウントを追加。暫くはNOPASSWDで。
# User alias specification
yano ALL= NOPASSWD:ALL
# Defaults specification
Defaults syslog=auth, logfile=/var/log/sudo.log
daemontools-0.76.tar.gz を展開し、daemontools-0.76.errno.patch を適用する。
# mkdir -p /package/etc/inittabの最後に
# chmod 1755 /package
# cd /package
# tar xvpfz ~yano/archives/daemontools-0.76.tar.gz
# cd admin/daemontools-0.76/
# patch -p 1 <~yano/archives/daemontools-0.76.errno.patch
# ./package/install
SV:123456:respawn:/command/svscanbootが追加されていれば取り敢えずOK。再起動した後 svscan が稼動していれば完了だ。
/etc/httpd/conf/httpd.confの修正。いつものカスタマイズ点は省略。Apache 2.0 ではAddDefaultCharsetを忘れないように。
#ついでにLanguagePriorityディレクティブも、日本語を優先させる為にjaを先頭に移動。
# Specify a default charset for all pages sent out. This is
# always a good idea and opens the door for future internationalisation
# of your web site, should you ever want it. Specifying it as
# a default does little harm; as the standard dictates that a page
# is in iso-8859-1 (latin1) unless specified otherwise i.e. you
# are merely stating the obvious. There are also some security
# reasons in browsers, related to javascript and URL parsing
# which encourage you to always set a default char set.
#
#AddDefaultCharset ISO-8859-1
AddDefaultCharset off
#
# LanguagePriority allows you to give precedence to some languages
# in case of a tie during content negotiation.
#
# Just list the languages in decreasing order of preference. We have
# more or less alphabetized them here. You probably want to change this.
#
#LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
LanguagePriority ja en ca cs da de el eo es et fr he hr it ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW