元住吉のブレーメン通りに「おてもやん」というラーメン屋があります。その隣にある、奥まっていてちょっと入りづらい雰囲気の「韓国村」で昼食。今日は石焼ビビンバセットを注文しました。小皿3つとわかめスープが付いて780円なり。値段の割りにとてもおいしいです
。狭い店内ですが、それほどお客さんも入っていないので(失礼)、ゆっくり食べられます。以前食べたユッケジャンセットも辛すぎず、激うまでした。プルコギ丼セットはあんまりだったかな。今度は、参鶏湯セット(1,280円)を食べてみよう。
なかなかうまく写真が撮れなくて、何回も撮っていたら、お店を出るときに店員さんに、「自分のブログにでも載せるんですか
」と言われてしまいました。バレバレですね
。「おいしかったって書きますよ」って言っておきました。
http://walk.eznavi.jp/map/?datum=0&unit=0&lat=+35.33.55.70&lon=+139.38.59.89&fm=0
Stone Pot Bibimbap
Sunday, July 29th, 2007 at 1:55 pm · · No Comments · TrackBack URI
→ No CommentsTags: food · moblog
Upper House Election
Sunday, July 29th, 2007 at 9:00 am ·
· No Comments · TrackBack URI
忘れるといけないので、朝起きてすぐに参議院議員選挙に行ってきました。与野党逆転したとしても、政権交代に直接結びつかないのは物足りないところです。与党の国会運営が難しくなって、衆議院議員選挙という流れにすぐにはならない気が。選挙戦は相変わらず揚げ足取りばかりで、年金「制度」や税制など、重要な問題についてはあまり話題になりませんでした。これからどういう指針に基づいて施策が行われていくのか分からないのは不安になりますね。とくに、大きな政府と小さな政府、どちらを目指していくのかくらいは示してほしいです。
http://walk.eznavi.jp/map/?datum=0&unit=1&lat=+35.56495&lon=+139.64550&fm=0
→ No CommentsTags: life · moblog
AWStats 6.7
Sunday, July 29th, 2007 at 2:00 am ·
· No Comments · TrackBack URI
このサイトではアクセス解析のため、Google Analyticsを使っていますが、いまいちよく分からないところがあるので探してみると、AWStatsがよさそうだったので導入してみることに。Debian etchにあるものは6.5で、日本語に未対応のところもありそうだったので、AWStats日本語化バージョンからAWStats_ja version 6.7をダウンロード。ここを見ながら、まずは
$ unzip awstats_ja-6.7.zip $ sudo mkdir /usr/lib/cgi-bin/awstats $ sudo cp -r awstats_ja-6.7/wwwroot/cgi-bin/* /usr/lib/cgi-bin/awstats/ $ mkdir /xxx/www/awstats-icon $ sudo cp -r awstats_ja-6.7/wwwroot/icon/* /xxx/www/awstats-icon/ $ sudo chmod 755 /usr/lib/cgi-bin/awstats/awstats.pl $ sudo touch awstats.conf.local
として、awstats.confのいちばん後ろに
Include "./awstats.conf.local" # Added by MKT
を追加します。awstats.conf.localには
LogFile="/var/log/apache2/access.log.enc" DirData="/var/lib/awstats" DirIcons="/awstats-icon" DirCgi="/cgi-bin/awstats" SiteDomain="mktlab.info" Lang="jp" DNSLookup=1 SkipHosts="127.0.0.1 localhost mktlab.info REGEX[^192.168.] 218.45.247.2018243
と書きました。このあたりは、aptからAWStatsを試しにインストールしたときにできた、/etc/awstatsの設定を真似してます。ここで、AWStatsを実行してみます。
$ su # cd /var/lib/cgi-bin/awstats # perl conv_weblog_to_utf8.pl < /var/log/apache2/access.log > /var/log/apache2/access.log.enc # perl awstats.pl -config=local -update # perl awstats.pl -config=local -output -staticlink > /xxx/www/awstats.html
http://xxx/awstats.htmlで結果が見られればOK。アーカイブされている過去のログについても見てみたいので、ここやここを参考に
# rm /var/lib/awstats/* # mkdir temp # cd temp # cp -p /var/log/apache2/access.log.1 ./ # cp -p /var/log/apache2/access*gz ./ # gzip -d * # cat `ls -tr access.log*` > access.log # perl /usr/lib/cgi-bin/awstats/conv_weblog_to_utf8.pl < access.log > /var/log/apache2/access.log.enc # perl /usr/lib/cgi-bin/awstats/awstats.pl -config=local -update # perl /usr/lib/cgi-bin/awstats/awstats.pl -config=local -output -staticlink > /xxx/www/awstats.html
としました。conv_weblog_to_utf8.plにはおさかなラボさんのconv_weblog_to_utf8.patchをパッチ。
patch < conv_weblog_to_utf8.patch
定期的に実行させるために、awstats.cronを
#!/bin/sh /usr/bin/perl /usr/lib/cgi-bin/awstats/conv_weblog_to_utf8.pl < /var/log/apache2/access.log > /var/log/apache2/access.log.enc /usr/bin/perl /usr/lib/cgi-bin/awstats/awstats.pl -config=local -update > /dev/null /usr/bin/perl /usr/lib/cgi-bin/awstats/awstats.pl -config=local -output -staticlink > /home/igarashi/www/awstats.html chown www-data:www-data /xxx/www/awstats.html
と修正して
# cp awstats.cron /etc/cron.hourly # chmod 755 /etc/cron.hourly/awstats.cron
を実行。最後に、/etc/apache2/sites-enabled/000-defaultに
# Added by MKT for AWStats SetEnvIf Request_URI "default.ida" wormlog SetEnvIf Request_URI "cmd.exe" wormlog SetEnvIf Request_URI "root.exe" wormlog SetEnvIf Request_URI "Admin.dll" wormlog SetEnvIf Request_URI "NULL.IDA" wormlog SetEnvIf Request_URI "NULL.printer" wormlog SetEnvIf Request_URI "mem_bin" wormlog SetEnvIf Request_URI "vti_bin" wormlog SetEnvIf Request_URI "MSADC" wormlog CustomLog /var/log/apache2/access.log combined env=!wormlog CustomLog /var/log/apache2/worm.log combined env=wormlog LogFormat "%h %l %u %t "%!414r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
を追加して終了です。
→ No CommentsTags: debian
PrimoPDF V3.1 Japanese Edition
Thursday, July 26th, 2007 at 7:14 pm ·
· No Comments · TrackBack URI
「フリーのPDF変換ソフト「PrimoPDF 3.1」の日本語版が27日にリリース | パソコン | マイコミジャーナル」にもあるように、PrimoPDFの日本語版がリリースされています。これまで使っていたV3.0の英語版をアンインストールしてさっそく使ってみたところ、一つ問題が。WordでA4横のPDFを作りたかったので、「ファイル/ページ設定」の用紙サイズでA4横に設定。そして、印刷画面のプロパティで、印刷の向きを横に設定してPDFを作成すると、向きが縦になってしまいました
。
いろいろ検索して、「世事不可强求: PrimoPDF 3.1 登場」で答えを発見
。日本語版で言うと、印刷実行後に表示されるPrimoPDFの画面で、「カスタム」ボタンをクリックします。表示される画面の「一般」で「ページの自動回転」チェックボックスをOFFにして、OKボタンをクリック。INIファイルを適当な名前で保存します。これで横向きのPDFを作成することができました。
→ No CommentsTags: business · windows
Minced Raw Horse Mackerel Lunch
Monday, July 23rd, 2007 at 2:45 pm ·
· No Comments · TrackBack URI
ビッグハウス前の菜々で父と昼食。おすすめのアジの開き定食を注文しましたが、15分くらいかかるということだったので、アジのたたき定食に変更。父はマグロ丼を注文。となりが魚屋さんだけにとても新鮮で、おいしくいただきました
。定食は全て770円でお手ごろです。
http://walk.eznavi.jp/map/?datum=0&unit=0&lat=+35.57.41.72&lon=+140.38.07.65&fm=0
→ No CommentsTags: food · moblog

