Chinaunix首页 | 论坛 | 博客
  • 博客访问: 31898
  • 博文数量: 15
  • 博客积分: 386
  • 博客等级: 一等列兵
  • 技术积分: 185
  • 用 户 组: 普通用户
  • 注册时间: 2012-05-25 15:22
文章分类

全部博文(15)

文章存档

2012年(15)

我的朋友
最近访客

分类: Oracle

2012-06-18 13:57:43

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 = PL***tProc)
      (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 = PL***tProc)
      (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,

16,

阅读(380) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~