Oracle配置指南

Oracle官方下载: http://www.oracle.com/technology/software/products/oracle9i/index.html
选择Oracle9i Release 2 (9.2.0.1)下的 Oracle9i Database Release 2 Enterprise/Standard/Personal Edition for Windows NT/2000/XP. 注册后方可下载.
 
3 disk 依次安装.
 
注意: sys/system密码要为字母和数字的结合.
 
安装完成后开始配置.
D:/oracle/ora92/network/ADMIN下的3个配置文件: listner.ora, sqlnet.ora, tnsnames.ora.
需要配的是监听器.
开始->所有程序->Oracle - OraHome92->Configuration and Migration Tools->Net Configuration Assistant 和 Net Manager.
 
几个Windows服务:
OracleServiceXXX (XXX为安装时的数据库名)
OracleOraHome92TNSListner
OracleOraHome92Agent
OracleMTSRecoveryService
 
其实使用iSQL*Plus非常方便,几乎不用什么配置,但是因为DBA用户和普通用户使用的是不同的URL,可能会造成一部分人的疑惑,所以在这里把关于iSQL*Plus的各方面再详细说一下。
1。确认安装了Oracle HTTP Server和iSQL*Plus Server
2。在安装的结尾部分将会显示登陆iSQL*Plus的默认端口,如果没有看到或者忘记了,那么可以检查如下文件来确认:
NT:%ORACLE_HOME%/Apache/Apache/conf/httpd.conf
UNIX:$ORACLE_HOME/Apache/Apache/bin/conf/httpd.conf
查看Port和Listen 的参数值,默认应该是:
Port 7778
Listen 7778(HTTP)
Listen 4443(HTTPS)
可以通过编辑oracle_apache.conf配置文件启用或禁用 iSQL*Plus,注释以下行即可禁用
include "ORACLE_HOME/sqlplus/admin/isqlplus.conf
3。iSQL*Plus 的配置文件在
NT:%ORACLE_HOME%/sqlplus/admin/isqlplus.conf
UNIX:$ORACLE_HOME/sqlplus/admin/isqlplus.conf
4。确认已经启动了Oracle HTTP Server
5。登录
登入普通用户,输入以下URL:
http://machine_name.doman:port/isqlplus
登入DBA用户,输入以下URL:
http://machine_name.domain:port/isqlplusdba
获取Server的统计信息:
http://machine_name.domain:port/isqlplusdba?statistics={active|full} [&refresh=number]
其中refresh的最小值是10秒
6。如果要登录使用 SYSDBA 或 SYSOPER 权限登录到 iSQL*Plus,以通过 iSQL*Plus 执行数据库管理并运行 DBA 命令,则必须要Oracle HTTP Server验证,这个用户名和密码跟数据库的用户名密码无关。当然通过验证之后,还需要输入Oracle数据库中的具有SYSDBA或者SYSOPER 权限的用户名和密码。
要通过Oracle HTTP Server验证,则必须将用户名和口令添加到 Oracle HTTP Server 验证文件中(用户验证文件位于%ORACLE_HOME%/sqlplus/admin/iplusdba.pw),作如下操作:
a。进入%ORACLE_HOME%/Apache/Apache/bin目录
b。运行 htpasswd 实用程序:
C:/oracle/ora92/Apache/Apache/bin>htpasswd -help
Usage:
htpasswd [-cmdps] passwordfile username
htpasswd -b[cmdps] passwordfile username password
htpasswd -n[mdps] username
htpasswd -nb[mdps] username password
-c Create a new file.
-n Don't update file; display results on stdout.
-m Force MD5 encryption of the password (default).
-d Force CRYPT encryption of the password.
-p Do not encrypt the password (plaintext).
-s Force SHA encryption of the password.
-b Use the password from the command line rather than prompting for it.
On Windows, TPF and NetWare systems the '-m' flag is used by default.
On all other systems, the '-p' flag will probably not work.
比如运行:
htpasswd C:/oracle/ora92/sqlplus/admin/iplusdba.pw dbmanager
Automatically using MD5 format on Windows.
New password: *********
Re-type new password: *********
Adding password for user dbmanager 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值