The isql*plus structure is as follows: The configuration process is as follows:
1 Configuration 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 Configuration Tns_names
such as: Tnsnames.ora
orcl92 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = ORCL92)
)(CONNECT_DATA = (SID = ORCL92))
)
3 Start httpd
$ORACLE _home/apache/apache/bin/apachectl [Start|stop]
4 Landing Isql*plus Http://hpserv01:7777/isqlplus/
5 Landing isql*plus with SYSDBA or sysoper
Http://hpserv01:7777/isqlplusdba
Creating a DBA Password file
$ 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