トップ «前の日(06-21) 最新 次の日(06-23)» 追記

おいぬま日報(不定期)

カテゴリ | 技術情報まとめWiki | 検索エンジンから来た人向け | RSS

2003年
6月
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30



2004-06-22

@ 腕立て

やりはじめたのですが、たった20回で筋肉痛。おいおい。


2008-06-22

@ 自宅サーバのOS入れ替え

ちょっと時間がかかってしまいましたが、この日記のサーバのOSをDebian etchからUbuntu 8.04にしました。このtDiaryを動かしているApacheもmod_fastcgiからmod_fcgid(static link)に変更してみましたので、覚書としてやり方を書いておきます。

apachemod_fcgidをダウンロードして解凍します。

$ tar xvzf httpd-2.2.9.tar.gz
$ tar xvzf mod_fcgid.2.2.tar.gz
$ cp mod_fcgid.2.2 httpd-2.2.9/modules/mod_fcgid/
$ cd httpd-2.2.9
$ sh buildconf
$ ./configure --prefix=/usr/local/mod_fcgid \
 --with-program-name=mod_fcgid \
 --with-mpm=prefork \
 --enable-shared \
 --enable-so \
 --enable-fcgid \
 --disable-asis \
 --disable-cgid \
 --disable-proxy \
 --disable-proxy-connect \
 --disable-proxy-http \
 --disable-proxy-balancer \
 --disable-proxy-ftp \
 --disable-proxy-ajp \
 --disable-userdir \
 --enable-modules='cgi' \
 --enable-mods-shared='rewrite include host-alias'
$ make
$ sudo make install

これで /usr/local/mod_fcgid にmod_fcgidがstatic linkされたApacheがインストールされます。あとは下記のようにfcgiの設定をすると、tdiaryをFastCGIで動かすことができます

<IfModule mod_fcgid.c>
    AddHandler fcgid-script .fcgi
    SocketPath /dev/shm/mod_fcgid
    IPCConnectTimeout 5
    IPCCommTimeout 60
</IfModule>

Bookmark: あんてな | ぶっくまーく | 覚え書き | Project Amateras | ExcelPettyCashBook | FreeStyle Wiki

2002|10|11|
2003|01|02|03|04|05|06|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|11|12|
2008|01|02|03|04|05|06|07|08|10|11|12|
人気ブログランキング - おいぬま日報(不定期)