⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ch5_net.htm

📁 Debian中文参考手册,系统介绍了Debian系统
💻 HTM
📖 第 1 页 / 共 3 页
字号:
<!DOCTYPE html
   PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//en"
   "http://www.w3c.org/TR/1999/PR-xhtml1-19991210/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" sml:lang="en" lang="en">
<head>

<!-- Run date = May 1, 2002 19:19:1 -->
<meta name="XHTML Generator" content="Oracle SGML to XHTML converter - Version 3.1.2">
<title> Configuring Oracle Net Services</title>
<link rel="next" href="appa_aix.htm" title="Next">
</head>
<body bgcolor="#ffffff">
<a id="top" name="top"></a>
<a href="#BEGIN">Skip Headers</a><br><br>
<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" valign="top"><font face="helvetica, arial, sans-serif">
<b>Oracle9<em>i</em> Administrator's Reference  </b>
<br />
<b>Release 2 (9.2.0.1.0) for UNIX Systems: AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, Linux Intel, and Sun Solaris</b>
<br />
Part No. A97297-01
</font>
</td>
<td valign="bottom" align="right" width="144">
<table cellspacing="0" cellpadding="0" width="100%">
</tr>

<td align="center" valign="top" width="25%"><a href="toc.htm"><img src="../Support/gifs/conticon.gif" alt="Go To Table Of Contents" border="0" height="30" width="30"><br /><font size="-2">Contents</font></a></td>

<td align="center" valign="top" width="25%"><a href="index.htm"><img src="../Support/gifs/indxicon.gif" alt="Go To Index" border="0" height="30" width="30"><br /><font size="-2">Index</font></a></td>
</tr>
</table>
</td>
</tr>
</table>
<hr />
<p>
<a href="ch4_comp.htm">
<img src="../Support/gifs/larrow.gif" alt="Previous" border="0" height="30" width="30"></a>
<a href="appa_aix.htm">
<img src="../Support/gifs/rarrow.gif" alt="Next" border="0" height="30" width="30"></a>
</p>
<a name="BEGIN"></a>
<div class="IND">
<!-- End Header --><a id="i26163" name="i26163"></a>
<h1>
<font face="arial, helvetica, sans-serif" color="#330099">
5
<br />
 Configuring Oracle Net Services
</font>
</h1>
<p>This chapter decribes how to configure Oracle Net Services on AIX, HP, Linux, Solaris, and Tru64 systems. It contains the following sections:
</p>
<ul>
<li type="disc">
<p><a href="#BIIFHAJH">Location of Oracle Net Services Configuration Files</a>
</p>
</li>
<li type="disc">
<p><a href="#CHDGBFJE">Adapters Utility</a>
</p>
</li>
<li type="disc">
<p><a href="#i38627">Oracle Protocol Support</a>
</p>
</li>
<li type="disc">
<p><a href="#BIICGDGC">Setting Up the Listener for TCP&#047;IP or TCP&#047;IP with SSL</a>
</p>
</li>
<li type="disc">
<p><a href="#i34594">Oracle Enterprise Manager </a>
</p>
</li>
<li type="disc">
<p><a href="#i35246">Configuring Oracle Intelligent Agent for Oracle SNMP</a>
</p>
</li>
<li type="disc">
<p><a href="#i26528">Oracle Advanced Security</a>
</p>
</li>
<li type="disc">
<p><a href="#CHDCDFJF">Calling 32-Bit External Procedures from PL&#047;SQL (AIX, HP, and Solaris 64-Bit Only)</a>
</p>
<br /><table summary="This is a layout table to format a tip" title="This is a layout table to format a tip" dir="ltr" border="1" width="80%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0"><tbody>
<tr>
<td align="left" colspan="1" rowspan="1">
<p>
<font face="arial, helvetica, sans-serif">
<strong>See Also:</strong>
</font>
</p><em>Oracle9i Net Services Administrator&#039;s Guide</em> for more information on Oracle networking.
</td>
</tr></tbody>
</table><br />
<p>
</p>
</li>
</ul><a id="BIIFHAJH" name="BIIFHAJH"></a>
<div class="sect1">
<!--
infolevel=all
infotype=general
--><a id="sthref556" name="sthref556"></a>
<h2>
<font face="arial, helvetica, sans-serif" color="#330099">Location of Oracle Net Services Configuration Files<a id="sthref557" name="sthref557"></a><a id="sthref558" name="sthref558"></a><a id="sthref559" name="sthref559"></a><a id="sthref560" name="sthref560"></a>
</font>
</h2>
<p>Oracle Net Services configuration files are typically, but not always, located in the <code>&#036;ORACLE&#095;HOME&#047;network&#047;admin</code> directory. Depending on the file, Oracle Net uses a different search order to locate the file. 
</p>
<p>The search order for the <code>sqlnet.ora</code> and <code>ldap.ora</code> files is as follows:
</p>
<ol type="1" start="1">
<li>
<p>The directory specified by the TNS&#095;ADMIN environment variable, if set
</p>
</li>
<li>
<p>The <code>&#036;ORACLE&#095;HOME&#047;network&#047;admin</code> directory
</p>
</li>
</ol>
<p>The search order for the <code>cman.ora</code>, <code>listener.ora</code>, and <code>tnsnames.ora</code> files is as follows: <a id="sthref561" name="sthref561"></a>
</p>
<ol type="1" start="1">
<li>
<p>The directory specified by the TNS&#095;ADMIN environment variable, if set
</p>
</li>
<li>
<p>One of the following directories:
</p>
</li>
<li>
<ul>
<li type="disc">
<p>For Solaris systems, the<code>&#047;var&#047;opt&#047;oracle</code> directory
</p>
</li>
<li type="disc">
<p>For AIX, HP, Linux, and Tru64, the <code>&#047;etc</code> directory
</p>
</li>
</ul>
</li>
<li>
<p>The <code>&#036;ORACLE&#095;HOME&#047;network&#047;admin</code> directory
</p>
</li>
</ol>
<p>For some system-level configuration files, users may have a corresponding user-level configuration file (stored in the user&#039;s home directory). The settings in the user-level file override the settings in the system-level file. The following table lists the system-level configuration files and the corresponding user-level configuration files:
</p>
<table title="System-Level and Local Configuration Files" summary="This table lists system-level configuration files and their corresponding local configuration files." dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<thead>
<tr align="left" valign="top">
<th id="r1c1" align="left" colspan="1" rowspan="1" valign="bottom">
<font face="Arial, Helvetica, sans-serif">
<strong>System-Level Configuration File
</strong></font></th>
<th id="r1c2" align="left" colspan="1" rowspan="1" valign="bottom">
<font face="Arial, Helvetica, sans-serif">
<strong>User-Level Configuration File
</strong></font></th>
</tr>
</thead><tbody>
<tr align="left" valign="top">
<td id="r2c1" headers="r1c1" align="left" colspan="1" rowspan="1"><code>sqlnet.ora</code>
</td>
<td headers="r2c1 r1c2" align="left" colspan="1" rowspan="1"><code>&#036;HOME&#047;.sqlnet.ora</code>
</td>
</tr>
<tr align="left" valign="top">
<td id="r3c1" headers="r1c1" align="left" colspan="1" rowspan="1"><code>tnsnames.ora</code>
</td>
<td headers="r3c1 r1c2" align="left" colspan="1" rowspan="1"><code>&#036;HOME&#047;.tnsnames.ora</code>
</td>
</tr></tbody>
</table>
<br /><strong><font face="arial, helvetica, sans-serif" size="+1">Sample Configuration Files
</font></strong><br />
<p>The <code>&#036;ORACLE&#095;HOME&#047;network&#047;admin&#047;samples</code> directory contains samples of the <code>cman.ora</code>, <code>listener.ora</code>, <code>names.ora</code>, <code>sqlnet.ora</code>, and <code>tnsnames.ora</code> configuration files.
</p>
</div class="sect1"><a id="CHDGBFJE" name="CHDGBFJE"></a>
<div class="sect1"><a id="sthref562" name="sthref562"></a>
<h2>
<font face="arial, helvetica, sans-serif" color="#330099">Adapters Utility
</font>
</h2>
<p>Use the <code>adapters</code> utility to display the transport protocols, naming methods, and Oracle Advanced Security options that Oracle9<em>i</em> supports on your system. To use the adapters utility, enter the following commands:
</p>
<pre>&#036; cd &#036;ORACLE&#095;HOME&#047;bin
&#036; adapters .&#047;oracle

</pre>
<p>The adapters utility displays output similar to the following:
</p>
<pre>Oracle Net transport protocols linked with .&#047;oracle are

         IPC
         BEQ
         TCP&#047;IP
         SSL
         RAW

Oracle Net naming methods linked with .&#047;oracle are:

         Local Naming (tnsnames.ora)
         Oracle Directory Naming
         Oracle Host Naming
         Oracle Names Server Naming
         NIS Naming

Oracle Advanced Security options linked with .&#047;oracle are:

         RC4 40-bit encryption
</pre>
<pre>         RC4 128-bit encryption
         RC4 256-bit encryption
         DES40 40-bit encryption
         DES 56-bit encryption
         3DES 112-bit encryption
         3DES 168-bit encryption
         AES 128-bit encryption
         AES 192-bit encryption
</pre>
<pre>         SHA crypto-checksumming (for FIPS)
         SHA-1 crypto-checksumming
         Kerberos v5 authentication
         CyberSAFE authentication
         RADIUS authentication
         ENTRUST authentication

</pre>
<p>On the client, run the <code>adapters</code> utility to display the configured Oracle transport protocols, naming methods, and security options on the system. To run the <code>adapters</code> utility on the client:
</p>
<pre>&#036; cd &#036;ORACLE&#095;HOME&#047;bin
&#036; adapters

</pre>
<p>The <code>adapters</code> utility displays output similar to the following: 
</p>
<pre>Installed Oracle Net transport protocols are:

</pre>
<pre>         IPC
         BEQ
         TCP&#047;IP
         SSL
         RAW

Installed Oracle Net naming methods are:

         Local Naming (tnsnames.ora)
         Oracle Directory Naming
         Oracle Host Naming
         Oracle Names Server Naming
         NIS Naming

Installed Oracle Advanced Security options are:

         RC4 40-bit encryption
         RC4 56-bit encryption
         RC4 128-bit encryption
         RC4 256-bit encryption
         DES40 40-bit encryption
         DES 56-bit encryption
         3DES 112-bit encryption
         3DES 168-bit encryption
         AES 128-bit encryption
         AES 192-bit encryption
         AES 256-bit encryption
         MD5 crypto-checksumming
         SHA-1 crypto-checksumming
         Kerberos v5 authentication
         CyberSAFE authentication         RADIUS authentication
</pre>
<br /><table summary="This is a layout table to format a tip" title="This is a layout table to format a tip" dir="ltr" border="1" width="80%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0"><tbody>
<tr>
<td align="left" colspan="1" rowspan="1">
<p>
<font face="arial, helvetica, sans-serif">
<strong>See Also:</strong>
</font>
</p><em>Oracle9i Net Services Administrator&#039;s Guide</em> for more information on the <code>adapters</code> utility.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -