展開後はオープンソースソフト定番の「configure;make;make install」の手順をふみます。./configureは対話型スクリプトとなっています。
リスト1
$ cd /home/bb/bbgen-3.6
$ ./configure
Configuration script for bbgen
This script asks a few questions and builds a Makefile to compile bbgen
Where is your Big Brother BB/HOME directory [/usr/local/bb] ?
/home/bb/server
OK, your BBHOME looks good
Where is your Webserver CGI-BIN directory [/var/apache/cgi-bin] ?
/var/www/cgi-bin
OK, your CGIDIR looks good
Which graphs to show by default (1d/1w/4w/1y/all) [all]
Use the standard Big Brother history graph (y/n) [y] ? n
What width should I use for the graph [960] ?
Do you want to be able to test SSL-enabled services (y) ?
Do you want to be able to test LDAP servers (y) ?
Enable experimental support for LDAP/SSL (OpenLDAP 2.x only) (y) ?
Where should I install the bbgen man-pages (/usr/local/man) ?
Created Makefile with the necessary information to build bbgen.
If you need to change settings, you should change the Makefile
Configuration complete - now run 'make' to build the tools
次にリスト1の内容について解説します。以下はBBサーバのHOMEディレクトリを指定しています。今回の例では/home/bb/serverとなります。
Where is your Big Brother BB/HOME directory [/usr/local/bb] ?
BBサーバのCGI-BINディレクトリを指定します。今回の例では/var/www/cgi-binとなります。
Where is your Webserver CGI-BIN directory [/var/apache/cgi-bin] ?
障害履歴画面で表示するグラフを指定します。ここはすべてのグラフをデフォルトで表示する「all」でほぼ問題ないかと思います。
Which graphs to show by default (1d/1w/4w/1y/all) [all]
BBの障害履歴画面はサマリー期間が長くなると、小さな障害履歴は集約されて見えなくなります。bbgenは精度を上げた形で小さな障害も丸め込まれづらいような処理を行うことができます。bbgen版の処理を行う場合には「n」とします。bbgen版の処理を選択すると障害履歴画面の横幅のビットサイズを指定します。
Use the standard Big Brother history graph (y/n) [y] ? n
What width should I use for the graph [960] ?
SSL経由のサービス機能試験を実施するかを指定します。
Do you want to be able to test SSL-enabled services (y) ?
LDAP試験機能を行うかの指定をします。
Do you want to be able to test LDAP servers (y) ?
LDAPのサポートバージョンを指定しています。
Enable experimental support for LDAP/SSL (OpenLDAP 2.x only) (y) ?
bbgen manファイルのインストール先を指定します。
Where should I install the bbgen man-pages (/usr/local/man) ?
|