おのたく日記 YouTubeも始めました→
2009-03-21(Sat) qwikWebをupgrade [長年日記]
■ [Debian]qwikWebをupgrade
qwikWebについては、2006年8月6日の日記に書いたように、CVSからcheckuoutした物を利用していたのだけど、Debian etch以降は、debパッケージになっているのでこれを利用するように変更した。
0. /var/lib/qwik/dataのバックアップを取ってから古いqwikを消去 rm -fr /etc/init.d/qwik /var/log/qwik/ /var/cache/qwik/ /var/run/qwik/ /var/lib/qwik/ /etc/qwik/ /usr/local/qwik
1. /etc/qwik/config.txtのpublic_url:とml_domain:を変更。
2. /etc/quik/google-maip-api-key.txtを更新。
3. typekey-sitetokenは知らないので更新せず。
4. debパッケージの/var/lib/qwik/data/wwwは何も無いので消して/var/lib/qwik/data以下をバックアップから戻す。
これで使えるようなった。
既に昔から利用しているので、apache2のVirtual hostの設定や 2005年12月9日の日記「sendmailとQuickMLの共存」などは出来ているので、そのまま使った。
以下のアグリーメントを変えるパッチなどは手で当てた。
Dec 5, 2005 From: takuya@p...
アグリーメントのURLが、http://qwik.jp/のまま
lib/qwik/catalog-ml-ja.rb lib/qwik/group-sendmail.rb
の中で、ダイレクトに書かれているようなので書き換えた。
group-sendmail.rbでコメントアウトされていた
body += "http://#{@cnfig.domain}/"+_(AgreementE.html)+"\n"
にするのが答えかも。
+ ----------------------- オリジナルメッセージ --------------------------
件名: [first] Confirmation: first@q...
差出人: confirm+*+first@q...
日付: 2005年 12月月 5日 (月) 21:25
宛先: takuya@p...
At the first, please read the agreement of this service.
http://qwik.jp/qwikjpAgreementE.html
You have to agree this agreement to use this service.
If you agree, then,
Please simply reply this mail to create ML> first@q...<.
EEEEEEE
|