Oracle11g install Bbed

时间:2022-07-19 18:46:17

1、sbbdpt.o ssbbded.o bbedus.msb文件链接地址:

http://pan.baidu.com/s/1c0tHMCS

2、DB:  Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    OS:   Oracle Linux 5.7

3、

[oracle@yoon lib]$ pwd
/u01/oracle/product/11.2.0/db_1/rdbms/lib

[oracle@yoon lib]$ ls ssbbded.o sbbdpt.o 
sbbdpt.o  ssbbded.o

[oracle@yoon lib]$ cd ../mesg/
[oracle@yoon mesg]$ ls bbedus.msb 
bbedus.msb

[oracle@yoon lib]$ make -f ins_rdbms.mk BBED=$ORACLE_HOME/bin/bbed $ORACLE_HOME/bin/bbed

Linking BBED utility (bbed)
rm -f /u01/oracle/product/11.2.0/db_1/bin/bbed
gcc -o /u01/oracle/product/11.2.0/db_1/bin/bbed -m64 
-L/u01/oracle/product/11.2.0/db_1/rdbms/lib/ -L/u01/oracle/product/11.2.0/db_1/lib/ 
-L/u01/oracle/product/11.2.0/db_1/lib/stubs/  /u01/oracle/product/11.2.0/db_1/lib/s0main.o 
/u01/oracle/product/11.2.0/db_1/rdbms/lib/ssbbded.o /u01/oracle/product/11.2.0/db_1/rdbms/lib/sbbdpt.o 
`cat /u01/oracle/product/11.2.0/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -ldbtools11 
-lclntsh  `cat /u01/oracle/product/11.2.0/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 
-lnro11 `cat /u01/oracle/product/11.2.0/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -
lnnz11 -lzt11 -lztkg11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11 -lmm -lsnls11 -lnls11  -lcore11 
-lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `cat 
/u01/oracle/product/11.2.0/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat 
/u01/oracle/product/11.2.0/db_1/lib/ldflags`    -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lclient11 -lnnetd11  
-lvsn11 -lcommon11 -lgeneric11   -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 
-lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lclient11 -lnnetd11  -lvsn11 -lcommon11 -lgeneric11 -lsnls11 
-lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11   
`cat /u01/oracle/product/11.2.0/db_1/lib/sysliblist` -Wl,-rpath,/u01/oracle/product/11.2.0/db_1/lib -lm    
`cat /u01/oracle/product/11.2.0/db_1/lib/sysliblist` -ldl -lm   -L/u01/oracle/product/11.2.0/db_1/lib

4、[oracle@yoon lib]$ bbed
Password:                          ----默认密码:blockedit

5、
BBED> show all
        FILE#           0
        BLOCK#          1
        OFFSET          0
        DBA             0x00000000 (0 0,1)
        FILENAME       
        BIFILE          bifile.bbd
        LISTFILE       
        BLOCKSIZE       8192
        MODE            Browse
        EDIT            Unrecoverable
        IBASE           Dec
        OBASE           Dec
        WIDTH           80
        COUNT           512
        LOGFILE         log.bbd
        SPOOL           No