diff options
| author | fukachan <fukachan> | 2002-04-23 12:55:53 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-04-23 12:55:53 +0000 |
| commit | bb32a499b8f4b33388cdfe35538f2a2773914e7c (patch) | |
| tree | 1b570db80549136f06af78e4db85c22fc3f8b0a2 | |
| parent | 82bcfef451e2df274addb3794bfe7a041a5eace8 (diff) | |
| download | fml8-bb32a499b8f4b33388cdfe35538f2a2773914e7c.tar.gz fml8-bb32a499b8f4b33388cdfe35538f2a2773914e7c.tar.bz2 fml8-bb32a499b8f4b33388cdfe35538f2a2773914e7c.zip | |
upgrade example:
| -rw-r--r-- | fml/doc/ja/recipes/book.sgml | 3 | ||||
| -rw-r--r-- | fml/doc/ja/recipes/include/chapters.ent | 5 | ||||
| -rw-r--r-- | fml/doc/ja/recipes/upgrade.sgml | 124 |
3 files changed, 129 insertions, 3 deletions
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 $ --> <!doctype book public "-//FML//DTD DocBook V3.1-Based Extension//EN" [ @@ -15,6 +15,7 @@ $FML: book.sgml,v 1.1 2001/05/19 06:03:02 fukachan Exp $ <toc></toc> + &chapter.upgrade; &chapter.member; </book> 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 @@ <!-- - $FML: chapters.ent,v 1.2 2001/05/19 06:03:03 fukachan Exp $ + $FML: chapters.ent,v 1.1.1.1 2002/04/01 13:06:18 fukachan Exp $ --> <!entity versin "1.1"> + <!-- ポインタ --> <!entity fmlbible "『fml バイブル』(オライリージャパン刊)"> <!entity www.fml.org "http://www.fml.org/fml/"> @@ -23,4 +24,4 @@ <!-- chapters --> <!entity chapter.member SYSTEM "member.sgml"> - +<!entity chapter.upgrade SYSTEM "upgrade.sgml"> 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$ +--> + +<chapter id="upgrade"> + <title> + アップグレード + </title> + + +<qandaset> +<qandaentry> +<question> + <para> + ケーススタディ: fml 4.0 ベースのMLを fml-devel に移行する + </para> +</question> + +<answer> + +<para> +ここでは old ホストの fml 4.0 から new ホストの fml-devel へ移行するこ +とを考えます。新旧共に elena@fml.org ML としましょう。 +</para> + + +<itemizedlist> + + <listitem> + <para> + new ホストに fml-devel をインストールする。 + </para> + </listitem> + + <listitem> + <para> + new ホストで + <screen> + makefml newml elena + </screen> + 作成後、 + <screen> + fmlconf -n elena + </screen> + でデフォルト値と異なる値が何かを見ておきます。 + </para> + </listitem> + + + <listitem> + <para> + MTA (ここでは postfix) の設定 + <screen> + postmap /var/spool/ml/etc/mail/aliases + </screen> + を実行して下さい。そして + /etc/postfix/main.cf の $alias_maps に + <screen> + hash:/var/spool/ml/etc/mail/aliases + </screen> + を追加して下さい。 + </para> + </listitem> + + + <listitem> + <para> + スプールのコピー + はつまるところ + 『old ホストから new ホストへスプールをコピーする』ことです。 + <screen> + % 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/ + </screen> + + ケース 1: (subdir なしの)スプールを作る場合 + + <screen> + % cp -pr /var/spool/ml.old/elena/spool /var/spool/ml/elena + % cp /var/spool/ml.old/elena/seq /var/spool/ml/elena + </screen> + でよいです。一方 + + ケース 2: (subdir ありの)スプールを作る場合 + + @fml.org 全体で subdir をデフォルトにするなら + /etc/fml/site_default_config.cf に + <screen> + spool_type = subdir + </screen> + を追加する。その後 + <screen> + % fmlspool --convert --srcdir=/var/spool/ml.old/elena/spool elena + </screen> + </para> + </listitem> + + + <listitem> + <para> + HTML 形式の記事を作る + <screen> + % makefml htmlify elena + </screen> + </para> + </listitem> + + + <listitem> + <para> + CGI のために .htaccess を編集して下さい。 + </para> + </listitem> + + +</itemizedlist> + +</answer> +</qandaentry> +</qandaset> + +</chapter> |
