ITPub博客

首页 > 数据库 > Oracle > 循序渐进oracle,第二章笔记-EM,GRID

循序渐进oracle,第二章笔记-EM,GRID

原创 Oracle 作者:d_ball_apple 时间:2014-10-16 20:40:55 0 删除 编辑

1)
安装EM
windows环境下:
  emca -h
emca -repos create

2)启动EM
emctl start dbconsole

3)当中文EM页面出现乱码,在$ORACLE_HOME/jdk/jre/lib或者$ORACLE_HOME/jre/1.4.2/lib 中改变字符集
缺省为:mv font.properties.zh_CN.Redhat font.properties

替换后清理Cache,重启EM
$ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs
清除所有GIF文件

4)若remote_login_passwordfile为None 则SYS用户无法在EM中登陆
可以查看和修改:
show parameter passw

alter system set remote_login_passwordfile=exclusive scope=spfile;
之后重启数据库

5)
9i:
HTTP服务器端口配置信息:$ORACLE_HOME/Apache/Apache/conf/ports.ini
更详细的配置信息httpd.conf
启动isqlplus
http://hostname:port/isqlplus
要以SYSDBA身份登陆时:
http://machine_name.domain:7778/isqlplusdba
需要配置口令文件


6)
10i:
isqlplusctl start
isqlplusctl stop 启动,关闭

$ORACLE_HOME/install/portlist.ini查看端口

http://hostname:5560/isqlplus进入
$ORACLE_HOME/oc4j/j2ee/isqlplus/config/http-web-side.xml修改端口

7)sqlplus
set linesize 120
set closep | 设置分隔符
set timing on 查看SQL执行时间

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28889722/viewspace-1301138/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2013-05-15

  • 博文量
    39
  • 访问量
    84861