博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Oracle体系结构之Oracle静态监听配置模板
阅读量:6849 次
发布时间:2019-06-26

本文共 1386 字,大约阅读时间需要 4 分钟。

1、监听程序配置:

[oracle@localhost admin]$ vim listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
# Generated by Oracle configuration tools.

LISTENER =

(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
)
)

SID_LIST_LISTENER =

(SID_LIST =
(SID_DESC =
(SID_NAME = sun)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
(global_dbname = sun)
)
(SID_DESC =
(SID_NAME = sun1)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
(global_dbname = sun1)
)
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
(PROGRAM = extproc)
)
)

2、配置tnsnames.ora:

# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.

SUN =

(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sun)
)
)

SUN1 =

(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sun1)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)

转载地址:http://nbrul.baihongyu.com/

你可能感兴趣的文章
dede栏目添加自定义字段方法
查看>>
跟着实例学习设计模式(9)-桥接模式bridge(结构型)
查看>>
Visual studio 2005 cannot break at breakpoint
查看>>
linux高级技巧:heartbeat+lvs(三)
查看>>
Swift新手教程系列5-函数+selector在swift中的使用方法
查看>>
留言版
查看>>
11.Vue安装Axios及使用
查看>>
sql语法:inner join on, left join on, right join on详细使用方法
查看>>
.c 文件 和 .h 文件分别做了什么事? c
查看>>
LeetCode-153-Find Minimum in Rotated Sorted Array
查看>>
sql server 判断是否存在数据库,表,列,视图
查看>>
HTML 介绍
查看>>
研读设计模式小结
查看>>
02.Python网络爬虫第二弹(http和https协议)
查看>>
bootstrap之HTML模板
查看>>
[转]Ubuntu Server下如何安装图形界面?
查看>>
[linux] tcpdump抓包案例
查看>>
WCF与WebService的区别(转)
查看>>
一个简单得不能再简单的“ORM”了
查看>>
百度上传组件
查看>>