[[:検証/ログサーバ]]


#norelated
#topicpath
#contents

#memo
#memo(https://www1.ntt-east.ipxp/gyoumukansa/guide-top/kaizen2007.html\nhttps://www1.ntt-east.ipxp/gyoumukansa/guide-top/kansa2007.html\nhttp://www1.ntt-east.ipxp/csd/syogai/index.html\nhttp://www1.ntt-east.ipxp/csd/syonai/index.html\nhttp://www1.ntt-east.ipxp/csd/kosyo/framepage1.htm\nhttp://www1.ntt-east.ipxp/csd/shien/home.html\nhttp://www1.ntt-east.ipxp/csd/tougou-setsubi/download1.htm\nhttp://www1.ntt-east.ipxp/cas/02/members/index.htm\nhttp://www1.ntt-east.ipxp/cas/02/restdata/index.htm\nhttp://www1.ntt-east.ipxp/diversity/\n)

* 通信要件調査 [#bb446560]

* ctfrelay [#a72e6695]
delegate(TCP proxy)のこと。ftp経由先として使う。~
以下でダウンロードできる。実機が9.9.7なのでこれに合わせる。~
ftp://delegate.hpcc.jp/pub/DeleGate/old/

#pre{{
DeleGateビルド手順
2012.2.25 onoda


1.検証用DeleGate環境構築及び起動

(*) shellはbsh系を想定。

(1) 環境確認
$ who am i
ntte
$ pwd
/home/ntte/tmp
$ ls
delegate9.9.7.tar.gz

(2) tarballの展開
$ tar zxvf ./delegate9.9.7.tar.gz
$ ls -F
delegate9.9.7/ delegate9.9.7.tar.gz

(3) ビルド
$ cd ./delegate9.9.7
$ DGROOT=/tmp/delegate-ntte make

※ make の途中でデフォルトで持つADMINメールアドレスの入力を求められるが、デフォルトのまま、"y"で応答する。
(DeleGateのADMIN設定で明示的に指定するため、ここでは不要)

(4) ./src配下に実行形式"delegated"があることを確認
$ ls ./src/delegated
./src/delegated

(5) $DGROOT ディレクトリが作成されていることを確認
$ ls /tmp/delegate-ntte
/tmp/delegate-ntte/log /tmp/delegate-ntte/tmp

(6) dgbindのインストール
$ pwd
/home/ntte/tmp/delegate9.9.7
$ cd ./subin
$ chmod +x ./install.sh
$ make install

(7) dgbindインストール確認
ls /tmp/delegate-ntte/subin

(8) dgbindのpermissionを変更
$ cd /tmp/delegate-ntte/subin
$ su
# chown root dgbind
# chgrp ntte dgbind
# chmod 6550 dgbind
# exit

(9) DeleGate本体をインストール
$ cd /home/ntte/tmp/delegate9.9.7/src
$ cp delegated /tmp/delegate-ntte/bin(*)

 (*) 本ディレクトリ以外でも構わない。

(10) 検証用DeleGate設定ファイルの準備
 準備した設定ファイル(DeleGate起動ファイル)を適当なディレクトリに準備する。
 (DGROOTを/tmp/delegate-ntteで指定すること)

$ cd /home/ntte/bin
$ cp /hoge/delegated.init ./delegated

(11) 検証用DeleGateの起動
$ su
# /home/ntte/bin/delegated start


2.本番環境へのコピー
 検証が完了したdelegatedを/usr/local/bin 配下に格納する。

# mv /usr/local/bin/delegated /usr/local/bin/delegated.bak
# cp /path.to/delegated /usr/local/bin
# chown root:root /usr/local/bin/delegated
# chmod +x /usr/local/bin/delegated


以上
}}


#counter


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS