十年网站开发经验 + 多家企业客户 + 靠谱的建站团队
量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决
配置oracle监听文件
直接复制使用
如果自己配置的监听文件总是出错,可以复制下面的信息进到自己配置文件中更改主机信息
TNS文件tnsnames.ora
/# tnsnames.ora Network Configuration File: /oracle/oracle/11g/network/admin/tnsnames.ora
/# Generated by Oracle configuration tools.
/
/ORCL =
/(DESCRIPTION =
/ (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.10)(PORT = 1521))
/ (CONNECT_DATA =
/ (SERVER = DEDICATED)
/ (SERVICE_NAME = orcl)
/ )
/)
监听文件listener.ora
# listener.ora Network Configuration File: /oracle/oracle/11g/network/admin/listener.ora
# Generated by Oracle configuration tools.
#粘贴后将/号去掉
/# listener.ora Network Configuration File: /oracle/oracle/11g/network/admin/listener.ora
/# Generated by Oracle configuration tools.
/
/LISTENER =
/ (DESCRIPTION_LIST =
/ (DESCRIPTION =
/ (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
/ (ADDRESS = (PROTOCOL = TCP)(HOST = master.example.com)(PORT = 1521))
/ )
/ )
/
/ADR_BASE_LISTENER = /oracle/oracle
/
/SID_LIST_LISTENER =
/ (SID_LIST =
/ (SID_DESC =
/ (GLOBAL_DBNAME = orcl)
/ (ORACLE_HOME = /oracle/oracle/11g)
/ (SID_NAME = orcl)
/ )
/ )
另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。