2014年2月5日 星期三

[研究] Quest Big Brother 1.9i 免費版 網路管理工具 安裝(CentOS 6.5 x64)

[研究] Quest Big Brother 1.9i 免費版 網路管理工具 安裝(CentOS 6.5 x64)

2014-02-05

Quest Big Brother 官方網站從
http://www.quest.com/bigbrother/
改為
http://www.bb4.org/home1.html

1.9i 版為 30-Dec-2005 釋出,8年沒有更新了

安裝

[root@localhost ~]# cd /usr/local
[root@localhost local]# wget http://bb4.org/dnld/bb-1.9i.tar.gz
tar zxvf bb-1.9i.tar.gz
tar xvf BBSVR-bb1.9i-btf.tar
cd bb1.9i-btf
cd install
./bbconfig  redhat
./runbb.sh.DIST

[root@localhost local]# tar zxvf bb-1.9i.tar.gz
BB.README.FIRST
BBSVR-bb1.9i-btf.tar     <== Server 版
BBCLT-bbc1.9i-btf.tar   <== Client 版

BB.README.FIRST 裡面說安裝去看 README.INSTALL

[root@localhost local]# find / -name README.INSTALL
/root/bb1.9i-btf/README.INSTALL
/usr/local/bb1.9i-btf/README.INSTALL
/usr/local/bbc1.9i-btf/README.INSTALL

[root@localhost ~]# tar  xvf  BBSVR-bb1.9i-btf.tar
[root@localhost local]# cd  bb1.9i-btf
[root@localhost local]# cd  install

[root@localhost install]# ls  /usr/local/bb1.9i-btf/install/
bbconfig       bbsys.debian   bbsys.irix      bbsys.redhatES  bbsys.ultrix
bbmachine      bbsys.dgux     bbsys.linux     bbsys.sco       bbsys.unixware
bbsys.aix      bbsys.dynix    bbsys.mandrake  bbsys.sco3      bbsys.unixware7
bbsys.bsdi     bbsys.fedora   bbsys.netbsd    bbsys.sinix     README
bbsys.bsdi4    bbsys.freebsd  bbsys.openbsd   bbsys.solaris   README.SMS
bbsys.caldera  bbsys.hpux     bbsys.osf       bbsys.sunos
bbsys.darwin   bbsys.hpux9    bbsys.redhat    bbsys.suse
[root@localhost install]#

以下幾乎按下 Enter (但有例外)

[root@localhost install]# ./bbconfig   redhat
...(略)
---> We'll configure for redhat...

        Big Brother needs it's own user id.  If your BB user doesn't exist,
        you'll have to create it then re-run bbconfig.

What will be the user ID for BB [bb]:

*** Your BB user doesn't exist - Please create it now!
*** and re-run bbconfig - EXITING

[root@localhost install]# useradd bb

[root@localhost install]# ./bbconfig  redhat

---> We'll configure for redhat...

        Big Brother needs it's own user id.  If your BB user doesn't exist,
        you'll have to create it then re-run bbconfig.

What will be the user ID for BB [bb]:
---> BB will only run from user 'bb'

        Making sure BBHOME </usr/local/bb1.9i-btf> is writable...

---> OK, /usr/local/bb1.9i-btf is fine...


        When you set up your machines, you should use Fully Qualified
        Domain names, this means you use the whole name, like www.bb4.com,
        instead of just 'www'.  This is recommended.

Use FQDN (y/n): [y]
---> Good, we'll use FQDN


        Big Brother creates HTML pages with the status of your network.
        You'll need a web server to publish this information.


What host will be the BBDISPLAY [localhost.localdomain]:
---> OK... localhost.localdomain will be a BBDISPLAY

        Big Brother sends important messages to a pager server.  This
        machine will at a minimum to be able to send mail.

What host will be the BBPAGER [localhost.localdomain]:
---> OK... localhost.localdomain will be a BBPAGER

        Some questions regarding the current host
        (localhost.localdomain) will be asked.


Is this host a BBDISPLAY host (y/n): [y]

Is this host a BBPAGER host (y/n): [y]

Enter the default e-mail address to send notifications to: [root@localhost.localdomain]

        Since Big Brother produces results to be displayed on web
        pages, we need to know where to view these results.

Enter the base URL for BB [/bb]:
---> OK... Big Brother will live under http://localhost.localdomain/bb

        Big Brother also uses CGI scripts to create dynamic output.
        What directory do these scripts live in?

Enter CGI directory [/home/www/httpd/cgi-bin]:

***---> /home/www/httpd/cgi-bin doesn't exist...


        Big Brother also uses CGI scripts to create dynamic output.
        What directory do these scripts live in?

Enter CGI directory [/home/www/httpd/cgi-bin]: /var/www/cgi-bin
---> OK... CGI scripts will live at /var/www/cgi-bin

Enter the base URL of the CGI scripts [/cgi-bin]:
---> OK... The base URL location of CGI scripts is in /cgi-bin


--------------------------------------------------------

--> UPDATING runbb.sh
--> UPDATING bbsys.local
--> UPDATING bbsys.local for LINUX requiring -w3 option in PINGPAR1
--> CHECKING COMMAND PATHNAMES
*** Verifying pathnames to necessary commands...
*** All pathnames OK.
--> UPDATING bbdef.sh
--> UPDATING URL location
--> INSTALLING CGI scripts

        BB needs to set the group name of the www/rep directory
        to the group name of the web server by using its user name

Enter web server user id [nobody]: apache

        You may override the group name determined by the previous step.

Enter group name [apache]:

--> SETTING WRITE PERMISSION FOR OWNER AND GROUP FOR www/rep
--> CHANGING THE GROUP ID OF www/rep
--> UPDATING pager scripts

--------------------------------------------------------

--> Done.  Now do
                chown -R bb /usr/local/bbvar /usr/local/bb1.9i-btf
                su - bb
                        to continue installation using that user ID

Now compile Big Brother

                cd /usr/local/bb1.9i-btf/src
                make
                make install

--------------------------------------------------------


Note to RedHat 6.1 users, ping is broken, please use ping from
http://bb4.com/netkit-base-0.10-29.i386.rpm.gz

[root@localhost install]# chown -R bb /usr/local/bbvar /usr/local/bb1.9i-btf
[root@localhost install]# cd /usr/local/bb1.9i-btf/src
[root@localhost src]# yum -y install gcc
[root@localhost src]# make 
...(略)
bbd.c: In function a€?maina€?:
bbd.c:724: error: invalid storage class for function a€?bbd_timeouta€?
bbd.c:1154:8: warning: extra tokens at end of #endif directive
bbd.c:1186:8: warning: extra tokens at end of #endif directive
make[2]: *** [bbd.o] Error 1
make[2]: Leaving directory `/usr/local/bb1.9i-btf/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/bb1.9i-btf/src'
make: *** [all] Error 2
[root@localhost src]#

(問題待研究...)

相關

十大優秀開源(Open Source) 網路及系統管理工具
http://caresys.blogspot.tw/2009/02/open-source.html

[研究] Quest Big Brother 1.9i 免費版 網路管理工具 安裝(CentOS 5.4x86)
http://forum.icst.org.tw/phpbb/viewtopic.php?t=18032

沒有留言:

張貼留言