next up previous contents
Next: 9.9.5 news.daily を cron Up: 9.9 INN のインストール Previous: 9.9.3 全体のインストール

9.9.4 BUILD を使って最終設定

INN には BUILD という対話的に最終設定を行ってくれるプログラムがあります。 簡単な質問ですので回答例を載せておきます。

ユーザ「news」で実行して下さい。

$ cd $INN
$ sh BUILD
    :
       You cannot install over a running system; this script will
       remind you about this later.

A c version of subst exists;
config/subst:  ELF 32-bit MSB executable SPARC Version 1, dynamically linked,
not stripped 
-- do you want to use it [y or n]?

「今使用している C版の subst を使用しますか?」
  使用するので、y。

Have you already built the executables [y or n]?

「すでにコンパイルが終わって実行ファイルができていますか?」
  できているので、y。

Setting umask to 0027

Do the spool, etc., directories exist [y or n]?

「スプールなどのディレクトリはありますか?」
  "make install" で作成しているので、y。

You are now ready to install the INN programs and config files.
You CANNOT DO THIS if INN is running now -- you must shut down
your news system first.
Do you want to continue with the installation [y or n]?

「INN がすでに起動している場合はこのスクリプトを起動してはいけません。
innd が起動しているなら終了させて下さい。
インストールを続けていいですか?」
  初めて innd を起動するので、y。(インストールを続ける)

<次ページへ続く> <前ページの続き>

Installing the INN programs.
Part of this may fail if you do not have have write permission in
all the destination directories.  This is often the case for innd
and inndstart, for example.  If the following "make" fails, do this:
        echo make update | su
and rerun this script.

cd config ; make  install ; cd ..

   :

Building the data files.

Start a subshell to edit the config files [y or n]?

「設定ファイルを編集するために、サブシェルを起動しますか?」
  設定ファイルの編集は終わっているので、n。

Installing the data files.

Checking other data files.

Did you use DBZ in your old news system [y or n]?

「以前にニュース・システムを運用していた時にデータベース・ライブラリとして
DBZ を使用していましたか?」
  初めてニュース・システムを運用するので、n。
(##この質問は訊かれないかもしれません)
   :

Setting correct ownership of history file -- double-check when done.
-rw-rw-r--   1 news     news           0 Aug  1 11:26 /pub/var/news/etc/history

Rebuilding history.  This may take some time, so it is the last thing
in the installation.

所有者(ユーザ)やグループが正しいかチェックをしておいた方がよいでしょう。

特に「active」ファイル(本講座では /pub/var/news/etc/active)の 所有者・グループが「news」、ファイル属性が「644」 になっているか確認して下さい。 なっていなければ設定を変更して下さい (ls -l を実行すると、下記のような出力結果になります)。

$ ls -l /pub/var/news/etc/active
-rw-r--r--   1 news     news          61 Aug  1 11:26 /pub/var/news/etc/active



Noriyo Kanayama