SUSE Linux にインストールする際の必要手順
作成日:2014年10月2日 | 更新日:2022年12月8日
SUSE Linux 環境にNetFlow Analyzer をインストールする場合、
以下の手順を実施する必要があります
(以下、[NFA_HOME]は本製品をインストールしたホームディレクトリを指します)。
(1)NetFlow Analyzer をインストール
(2)[NFA_HOME]\conf の下にあるdatabase_params.conf をコピー退避
(3)database_params.conf をテキストエディタで開く
(4)"url=jdbc:postgresql://localhost:13310/netflow"の箇所を確認
(5)"url=jdbc:postgresql://127.0.0.1:13310/netflow"に変更
(6)"postgres=jdbc:postgresql://localhost:13310/netflow"の箇所を確認
(7)"postgres=jdbc:postgresql://127.0.0.1:13310/netflow"に変更
(8)database_params.conf での変更を保存
(9)[NFA_HOME]\bin の下にあるlinkAsService.sh をコピー退避
(10)linkAsService.sh をテキストエディタで開く
(11)以下のような箇所を確認
for i in {0,6}
do
ln -s -f $initvar /etc/rc$i.d/$stopwith
done
ln -s -f $initvar /etc/rc5.d/$startwith
(12)"/etc"の後に"/rc.d"を追加
for i in {0,6}
do
ln -s -f $initvar /etc/rc.d/rc$i.d/$stopwith
done
ln -s -f $initvar /etc/rc.d/rc5.d/$startwith
(例)
for i in {0,6}
do
ln -s -f $initvar /etc/rc.d/rc$i.d/$stopwith
done
ln -s -f $initvar /etc/rc.d/rc5.d/$startwith
ln -s -f $initvar /etc/rc.d/rc2.d/$startwith
ln -s -f $initvar /etc/rc.d/rc3.d/$startwith
(13)linkAsService.sh での変更を保存
(14)linkAsService.sh を実行
(15)以下のコマンドを実行して、NetFlow Analyzer を起動