From bb32a499b8f4b33388cdfe35538f2a2773914e7c Mon Sep 17 00:00:00 2001 From: fukachan Date: Tue, 23 Apr 2002 12:55:53 +0000 Subject: upgrade example: --- fml/doc/ja/recipes/book.sgml | 3 +- fml/doc/ja/recipes/include/chapters.ent | 5 +- fml/doc/ja/recipes/upgrade.sgml | 124 ++++++++++++++++++++++++++++++++ 3 files changed, 129 insertions(+), 3 deletions(-) create mode 100644 fml/doc/ja/recipes/upgrade.sgml diff --git a/fml/doc/ja/recipes/book.sgml b/fml/doc/ja/recipes/book.sgml index 10ca05bf..d5e1becf 100644 --- a/fml/doc/ja/recipes/book.sgml +++ b/fml/doc/ja/recipes/book.sgml @@ -2,7 +2,7 @@ This is an sgml using DocBook dtd. Use sgmltools version 2.0.x or above to generate various output formats. -$FML: book.sgml,v 1.1 2001/05/19 06:03:02 fukachan Exp $ +$FML: book.sgml,v 1.1.1.1 2002/04/01 13:06:18 fukachan Exp $ --> + &chapter.upgrade; &chapter.member; diff --git a/fml/doc/ja/recipes/include/chapters.ent b/fml/doc/ja/recipes/include/chapters.ent index a0538fae..96e25192 100644 --- a/fml/doc/ja/recipes/include/chapters.ent +++ b/fml/doc/ja/recipes/include/chapters.ent @@ -1,9 +1,10 @@ + @@ -23,4 +24,4 @@ - + diff --git a/fml/doc/ja/recipes/upgrade.sgml b/fml/doc/ja/recipes/upgrade.sgml new file mode 100644 index 00000000..cb788443 --- /dev/null +++ b/fml/doc/ja/recipes/upgrade.sgml @@ -0,0 +1,124 @@ + + + + + アップグレード + + + + + + + + ケーススタディ: fml 4.0 ベースのMLを fml-devel に移行する + + + + + + +ここでは old ホストの fml 4.0 から new ホストの fml-devel へ移行するこ +とを考えます。新旧共に elena@fml.org ML としましょう。 + + + + + + + + new ホストに fml-devel をインストールする。 + + + + + + new ホストで + + makefml newml elena + + 作成後、 + + fmlconf -n elena + + でデフォルト値と異なる値が何かを見ておきます。 + + + + + + + MTA (ここでは postfix) の設定 + + postmap /var/spool/ml/etc/mail/aliases + + を実行して下さい。そして + /etc/postfix/main.cf の $alias_maps に + + hash:/var/spool/ml/etc/mail/aliases + + を追加して下さい。 + + + + + + + スプールのコピー + はつまるところ + 『old ホストから new ホストへスプールをコピーする』ことです。 + + % id + uid=100(fml) gid=1000(fml) groups=1000(fml) + % mkdir /var/spool/ml.old + % rsync -av fml@old:/var/spool/ml/ /var/spool/ml.old/ + + + ケース 1: (subdir なしの)スプールを作る場合 + + + % cp -pr /var/spool/ml.old/elena/spool /var/spool/ml/elena + % cp /var/spool/ml.old/elena/seq /var/spool/ml/elena + + でよいです。一方 + + ケース 2: (subdir ありの)スプールを作る場合 + + @fml.org 全体で subdir をデフォルトにするなら + /etc/fml/site_default_config.cf に + + spool_type = subdir + + を追加する。その後 + + % fmlspool --convert --srcdir=/var/spool/ml.old/elena/spool elena + + + + + + + + HTML 形式の記事を作る + + % makefml htmlify elena + + + + + + + + CGI のために .htaccess を編集して下さい。 + + + + + + + + + + + -- cgit v1.2.1