Navigation :
Top/DTPD-Bookview
DTPD-Bookview
- 追加された行はこの色です。
- 削除された行はこの色です。
- DTPD-Bookview へ行く。
- DTPD-Bookview の差分を削除
*内容
NDTP (Network Dictionary Transfer Protocol) というプロトコルを用いて、CD-ROM 書籍へのアクセスを行うサーバ
!!!サ−バ−を用いない[[EBView]]に乗り換える(2005/1).
*ファイルの入手先
http://www.sra.co.jp/people/m-kasahr/ndtpd/index-ja.html">http://www.sra.co.jp/people/m-kasahr/ndtpd/index-ja.html
Vine Plusには入っている.
*インストール方法
rpm -ivh ndptd-?.rpm
ndtpuserとndtpgrpを作る
*設定
**services
サーヴィス名 ndtpを登録します。
/etc/services に次の行を追加します。
ndtp tcp/2010
syslog.confにログ出力の設定を行います。
/etc/syslog.conf に次の行を追加
local0.info /usr/local/var/ndtpd/log/ndtpd.log .
inetd の子プロセスとして起動
ndtpd を inetd の子プロセスとして起動には、次の手順が必要になります。
`inetd.conf' ファイルに以下の文を加える
ndtp stream tcp nowait root /usr/local/sbin/ndtpd ndtpd --inetd
/etc/ndtpd/ndtpd.confの例
######################################################################
# Configuration file for NDTPD.
# (Copy this file to `ndtpd.conf', and edit it.)
######################################################################
### Hostname of the server.
### (default: defined automatically)
# server-name host.your.domain
### Port number `ndtpd' binds.
### (default: ndtp)
# ndtp-port ndtp
### Owner of the `ndtpd' process.
### (default: none)
user ndtpuser
### Group of the `ndtpd' process.
### (default: none)
group ndtpgrp
### How many clients can be connected to `ndtpd' at the same time.
### (default: 1)
max-clients 3
### Which hosts can or cannot connect to `ndtpd'.
### (default: none)
hosts 127.0.0.1
hosts *.civil.eng.osaka-cu.ac.jp
### Syslog facility
### (default: daemon)
syslog-facility local0
###
### Book entry
###
begin book
### Name of the book.
### (required)
name PLUS
### Title of the book.
### (required)
title Reader's Plus
### Path to a top directory of the book.
### (required)
path /pub/dict/PLUS
### Path to a top directory of the appdendix data of the book.
### (default: none)
appendix-path /pub/dict/appendix/plus-2.0
### How many clients can access the book at the same time.
### (default: 1)
max-clients 0
### Which hosts can or cannot access to the book.
### (default: none)
hosts 127.0.0.1
hosts *.abiko.denken.or.jp
hosts nirvana.abiko.denken.or.jp
hosts greenday.abiko.denken.or.jp
### Aliases.
### (default: none)
# alias-eiwa CHUJITEN
# alias-waei CHUJITEN
# alias-kojien IWAKOKU
end
begin book
### Name of the book.
### (required)
name SUPERDIC
### Title of the book.
### (required)
title Super Dictionary 98
### Path to a top directory of the book.
### (required)
path /pub/dict/S-I-DIC98
### Path to a top directory of the appdendix data of the book.
### (default: none)
appendix-path /pub/dict/appendix/superdic98-1.0
### How many clients can access the book at the same time.
### (default: 1)
max-clients 0
### Which hosts can or cannot access to the book.
### (default: none)
hosts 127.0.0.1
hosts *.abiko.denken.or.jp
hosts nirvana.abiko.denken.or.jp
hosts greenday.abiko.denken.or.jp
### Aliases.
### (default: none)
# alias-eiwa CHUJITEN
# alias-waei CHUJITEN
# alias-kojien IWAKOKU
end
参考
-http://openlab.ring.gr.jp/edict/unix/">http://openlab.ring.gr.jp/edict/unix/
------------------------------------------------------------------------------
*BookView
NDTPDのクライアントソフト
**ファイルの入手先
http://www.sra.co.jp/people/m-kasahr/bookview/index-ja.html
**インストール方法
./configure
make
make install
/usr/local/binに入る
services
サーヴィス名 ndtpを登録します。
/etc/services に次の行を追加します。
ndtp tcp/2010