Isqlplus 安装和配置
2008-03-28 15:06
549 查看
Isqlplus 安装和配置
客户端需求
netscape navigator 4.7
Microsoft ie 5.0
必须支持javascript和cookie.可以不支持javascript,但某些功能将不能实现。
2、 网络连接
web浏览器和apache之间使用http连接
isqlplus和oracle 9i之间使用oracle net连接
3、 配置中间层:isqlplus server
windows nt:
%oracle_home%sqlplusadminisqlplus.conf
unix:
$ORACLE_HOME/sqlplus/admin/isqlplus.conf
相关参数:
iSQLPlusNumberOfThreads=20 设定最大http请求数,最小值为1,缺省值20。
iSQLPlusLogLevel=off|on 日志文件在$ORACLE_HOME/sqlplus/log/isqlplus/log.xml,文件大小达到64k时系统产生一个新文件,旧文件被重命名为唯一文件比如log1006130580.xml,系统最多保持10个旧的文件,多余的自动删除。
4、 配置中间层:oracle http server
配置文件:
$ORACLE_HOME/apache/apache/conf/httpd.conf
说明:httpd.conf文件里面包含(include) oracle_apache.conf文件,该文件在相同目录。Oracle_apache.conf里面包含isqlplus.conf文件。
如果注释(#)掉oracle_apache.conf文件里面包含的isqlplus.conf文件即可disable用户通过isqlplus对数据库的访问。
测试httpd.conf及其include文件的正确性:
(1)cd $ORACLE_HOME/apache/apache/conf
(2) apache –t //windows nt环境
apache configtest /unix环境
(3)如果显示“Syntax OK”即为成功。
5、 启动、停止oracle http server
windows nt环境:
cd %oracle_home%apacheapache
apacke –k shutdown
apache –k start
unix环境
cd $ORACLE_HOME/apache/apache/bin
apachectl stop
apachectl start
6、 在浏览器里访问isqlplus
普通用户:
http://ccc:7778/isqlplus
说明:其中ccc是主机名,也可以是ip地址。7778是端口号,在httpd.con文件里定义,比如listen 7778。
管理员用户:
http://ccc:7778/isqlplusdba
7、 对于用户安全的验证
对于普通用户,只需输入登陆到oracle server的用户名和密码即可,也可以修改isqlplus.conf文件进行oracle http server的验证。
对于管理员用户,缺省必须进行oracle http server的验证,即登陆oracle http server时也需要用户名和密码,该用户名和密码存放在$ORACLE_HOME/sqlplus/admin/iplusdba.pw文件,这是和oracle server不同的用户名和密码。
关于oracle http server的验证在isqlplus.conf文件里配置。节选如下:
#
# Enable handling of all virtual paths beginning with "/isqlplus"
#
<Location /isqlplus>
SetHandler fastcgi-script
Order deny,allow
# Comment "Allow ..." and uncomment the four lines "AuthType ..."
# to "Require ..." if Oracle HTTP authentication access is required
# for the http://.../isqlplus URL
Allow from all
#AuthType Basic
#AuthName 'iSQL*Plus'
#AuthUserFile d:OracleOra91sqlplusadminiplus.pw
#Require valid-user
</Location>
#
# Enable handling of all virtual paths beginning with "/isqlplusdba".
#
# Note: Oracle HTTP authentication access must be configured to
# prevent unauthorized users performing DBA operations on
# the database
#
# Use the HTTP server utility script "htpasswd" to add users to the
# "iplusdba.pw" file.
#
<Location /isqlplusdba>
SetHandler fastcgi-script
Order deny,allow
AuthType Basic
AuthName 'iSQL*Plus DBA'
AuthUserFile d:OracleOra91sqlplusadminiplusdba.pw
Require valid-user
</Location>
8、 添加entries到oracle http server验证文件:
windows nt环境:
htpasswd %ORACLE_HOME%sqlplusadminiplusdba.pw username
或
htpasswd %ORACLE_HOME%sqlplusadminiplus.pw username
说明:htpasswd命令位于%ORACLE_HOME%apacheapachebin目录
unix环境:
htpasswd $ORACLE_HOME/sqlplus/admin/iplusdba.pw username
或
htpasswd $ORACLE_HOME/sqlplus/admin/iplus.pw username
说明:htpasswd命令位于$ORACLE_HOME /apache/apache/bin目录
9、 限制用户对数据库的访问
编辑isqlplus.conf文件,改变以下行:
FastCgiServe -initial-env "iSQLPlusConnectIdList=ora9i.com,ora8i.com"
这里ora9i.com、ora8i.com是oracle Net connection identifiers,加入本参数后用户登陆isqlplus时将会有一个“连接标识符”下拉框,从而限制用户访问下拉框以外的数据库。
客户端需求
netscape navigator 4.7
Microsoft ie 5.0
必须支持javascript和cookie.可以不支持javascript,但某些功能将不能实现。
2、 网络连接
web浏览器和apache之间使用http连接
isqlplus和oracle 9i之间使用oracle net连接
3、 配置中间层:isqlplus server
windows nt:
%oracle_home%sqlplusadminisqlplus.conf
unix:
$ORACLE_HOME/sqlplus/admin/isqlplus.conf
相关参数:
iSQLPlusNumberOfThreads=20 设定最大http请求数,最小值为1,缺省值20。
iSQLPlusLogLevel=off|on 日志文件在$ORACLE_HOME/sqlplus/log/isqlplus/log.xml,文件大小达到64k时系统产生一个新文件,旧文件被重命名为唯一文件比如log1006130580.xml,系统最多保持10个旧的文件,多余的自动删除。
4、 配置中间层:oracle http server
配置文件:
$ORACLE_HOME/apache/apache/conf/httpd.conf
说明:httpd.conf文件里面包含(include) oracle_apache.conf文件,该文件在相同目录。Oracle_apache.conf里面包含isqlplus.conf文件。
如果注释(#)掉oracle_apache.conf文件里面包含的isqlplus.conf文件即可disable用户通过isqlplus对数据库的访问。
测试httpd.conf及其include文件的正确性:
(1)cd $ORACLE_HOME/apache/apache/conf
(2) apache –t //windows nt环境
apache configtest /unix环境
(3)如果显示“Syntax OK”即为成功。
5、 启动、停止oracle http server
windows nt环境:
cd %oracle_home%apacheapache
apacke –k shutdown
apache –k start
unix环境
cd $ORACLE_HOME/apache/apache/bin
apachectl stop
apachectl start
6、 在浏览器里访问isqlplus
普通用户:
http://ccc:7778/isqlplus
说明:其中ccc是主机名,也可以是ip地址。7778是端口号,在httpd.con文件里定义,比如listen 7778。
管理员用户:
http://ccc:7778/isqlplusdba
7、 对于用户安全的验证
对于普通用户,只需输入登陆到oracle server的用户名和密码即可,也可以修改isqlplus.conf文件进行oracle http server的验证。
对于管理员用户,缺省必须进行oracle http server的验证,即登陆oracle http server时也需要用户名和密码,该用户名和密码存放在$ORACLE_HOME/sqlplus/admin/iplusdba.pw文件,这是和oracle server不同的用户名和密码。
关于oracle http server的验证在isqlplus.conf文件里配置。节选如下:
#
# Enable handling of all virtual paths beginning with "/isqlplus"
#
<Location /isqlplus>
SetHandler fastcgi-script
Order deny,allow
# Comment "Allow ..." and uncomment the four lines "AuthType ..."
# to "Require ..." if Oracle HTTP authentication access is required
# for the http://.../isqlplus URL
Allow from all
#AuthType Basic
#AuthName 'iSQL*Plus'
#AuthUserFile d:OracleOra91sqlplusadminiplus.pw
#Require valid-user
</Location>
#
# Enable handling of all virtual paths beginning with "/isqlplusdba".
#
# Note: Oracle HTTP authentication access must be configured to
# prevent unauthorized users performing DBA operations on
# the database
#
# Use the HTTP server utility script "htpasswd" to add users to the
# "iplusdba.pw" file.
#
<Location /isqlplusdba>
SetHandler fastcgi-script
Order deny,allow
AuthType Basic
AuthName 'iSQL*Plus DBA'
AuthUserFile d:OracleOra91sqlplusadminiplusdba.pw
Require valid-user
</Location>
8、 添加entries到oracle http server验证文件:
windows nt环境:
htpasswd %ORACLE_HOME%sqlplusadminiplusdba.pw username
或
htpasswd %ORACLE_HOME%sqlplusadminiplus.pw username
说明:htpasswd命令位于%ORACLE_HOME%apacheapachebin目录
unix环境:
htpasswd $ORACLE_HOME/sqlplus/admin/iplusdba.pw username
或
htpasswd $ORACLE_HOME/sqlplus/admin/iplus.pw username
说明:htpasswd命令位于$ORACLE_HOME /apache/apache/bin目录
9、 限制用户对数据库的访问
编辑isqlplus.conf文件,改变以下行:
FastCgiServe -initial-env "iSQLPlusConnectIdList=ora9i.com,ora8i.com"
这里ora9i.com、ora8i.com是oracle Net connection identifiers,加入本参数后用户登陆isqlplus时将会有一个“连接标识符”下拉框,从而限制用户访问下拉框以外的数据库。
相关文章推荐
- 以sysdba登录 iSQLPLUS 的配置
- 配置 isqlplus sysdba 登录[转贴]
- oracle iSQL*PLUS配置设置图文说明
- oracle iSQL*PLUS配置设置图文说明
- 【转帖】配置Oracle10g iSQL*Plus DBA
- oracle安装后完善2-2 sqlplus配置变量 命令提示符如何显示为用户名
- 安装了OFFICE2007,每次打开word时都显示配置microsoft office professional plus 解决方法
- Oracle10g:DBA身份登陆iSQL*Plus的配置方法
- Linux下oracle连接客户端sqlplus的安装配置
- linux sqlplus 安装配置
- iSQL*PLUS配置设置
- 《专业级Oracle Database 12c安装、配置与维护》之在SQL*Plus中编写PL/SQL
- tac_plus安装和配置
- centos6.2下mdsplus的安装配置
- 配置Oracle9i iSQL*PLUS
- 如何配置和使用iSQL*Plus
- CentOS6最小化安装Oracle Client并配置sqlplus和sqlldr工具
- linux Oracle9i iSQL PLUS的配置过程
- [转]SqlPlus安装配置
- linux sqlplus 安装配置