视频1 视频21 视频41 视频61 视频文章1 视频文章21 视频文章41 视频文章61 推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37 推荐39 推荐41 推荐43 推荐45 推荐47 推荐49 关键词1 关键词101 关键词201 关键词301 关键词401 关键词501 关键词601 关键词701 关键词801 关键词901 关键词1001 关键词1101 关键词1201 关键词1301 关键词1401 关键词1501 关键词1601 关键词1701 关键词1801 关键词1901 视频扩展1 视频扩展6 视频扩展11 视频扩展16 文章1 文章201 文章401 文章601 文章801 文章1001 资讯1 资讯501 资讯1001 资讯1501 标签1 标签501 标签1001 关键词1 关键词501 关键词1001 关键词1501 专题2001
Oracle9iiSQL*PLUS的配置过程
2020-11-09 13:53:35 责编:小采
文档

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。

下载本文
显示全文
专题