iSQL*PLUS結構如下: 配置過程如下:
1 配置HTTPD
$ cd $Oracle_HOME/Apache/apache/conf
$ vi httpd.conf
1.1 設定Server name或者Server IP地址和端口,使用非root用戶啟動HTTPD進程,其端口必須大於1024,
如: Listen=hpserv01:7777
1.2 設定DocumentRoot,
如DocumentRoot="/home/htdocs"
1.3 如果你也使用web server作為document content server,那麼需要配置:
IndexOptions NameWidth=*
IndexOptions FoldersFirst
AddIcon /icons/text.gif .txt .log
1.4 檢查Oracle_apache.conf文件
在httpd.conf的最後,iSQL*PLUS的配置文件包含在Oracle_apache.conf中。
1.5 一個小BUG
注釋JServ.propertIEs中"wrapper.env.copy=DISPLAY"行,否則httpd進程不能啟動。
$ vi $Oracle_HOME/apache/Jserv/etc/JServ.propertIE
#wrapper.env.copy=DISPLAY
2 配置TNS_NAMES
如:tnsnames.ora
orcl92 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = ORCL92)
)(CONNECT_DATA = (SID = ORCL92))
)
3 啟動HTTPD
$Oracle_HOME/Apache/Apache/bin/apachectl [start|stop]
4 登陸iSQL*PLUS http://hpserv01:7777/isqlplus /
5 以SYSDBA或SYSOPER登陸iSQL*PLUS
http://hpserv01:7777/isqlplusdba
創建DBA口令文件
$ cd $Oracle_HOME/sqlplus/admin
$ORACLE_HOME/Apache/apache/bin/htpasswd iplusdba.pw Oracle
Automatically using MD5 format on Unix.
New passWord: *****
Re-type new passWord: *****
Adding passWord for user Oracle
6 配置iSQL*PLUS
To change the settings you must edit the isqlplus.conf configuration file then stop and start the HTTP daemons.
The configuration file lives in $Oracle_HOME/sqlplus/admin.
Currently, the following server parameter settings can be adjusted: iSQLPlusNumberOfThreads
iSQLPlusLogLevel
iSQLPlusTimeOutInterval
iSQLPlusHashTableSize
iSQLPlusConnectIdList
-idle-timeout
Details can be found in the SQL*Plus manual from the 9.2 documentation, available online at http://tahiti.Oracle.com.
7 ORA9iR2 SP
A patch is available as a download from Metalink - the Oracle bug ID is 2581911
是Oracle9i Release2(9.2)提供的新功能,通過WEB浏覽器登陸。可以以Html表格形式顯示結果,具有歷史命令工具。可以通過HTTPD密碼文件以SYSDBA或SYSOPER身份登陸iSQL*PLUS。另外,它的配置十分簡單,使用標准的CGI/apache/JServ,並且不需要安裝ORA9iAS。
Trackback: http://tb.blog.csdn.Net/TrackBack.ASPx?PostId=1521985