当前位置:首页 > 服务器技术 > IIS

Oracle9iiSQL*PLUS的配置过程

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 设定documentro

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 :7777/isqlplus /

5 以sysdba或sysoper登陆isql*plus
: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

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。


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!