ITPub博客

首页 > 数据库 > Oracle > Oracle启动EM步骤记录

Oracle启动EM步骤记录

Oracle 作者:liumang45 时间:2012-06-19 10:17:34 0 删除 编辑

Oracle启动EM步骤记录
1,cat /etc/hosts                                                      查看DNS映射

2,/sbin/ifconfig                                                       查看ip

3,cat /etc/sysconfig/network                                查看hostname设置

4,cat .bash_profile                                                查看PATH变量设置

5,cd $ORACLE_HOME/network/admin            查看监听器,TNS设置

6,cat listener.ora                                                   查看监听器设置

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = /u01/oracle/product/10.2.0/db_1)
      (PROGRAM = extproc)
    )
  )

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.105)(PORT = 1521))
    )
  )

7,cat tnsnames.ora                                        查看TNS设置

DV11 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.105)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = dv11)
    )
  )

EXTPROC_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    )
    (CONNECT_DATA =
      (SID = PLSExtProc)
      (PRESENTATION = RO)
    )
  )

8,cat sqlnet.ora

NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)  

9,lsnrctl start                                        启动监听器

10,sqlplus /nolog                                进入sqlplus

11,conn / as sysdba                           连接数据库

12,startup                                             启动数据库

13,emctl start dbconsole                  启动em

14,isqlplusctl start                           启动isqlplus

15,http://www.it165.net:5500/em

16,http://www.it165.net:5560/isqlplus

<!-- 正文结束 -->

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

上一篇: 没有了~
下一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2009-12-14