Detailed instructions on installing and configuring the Oracle 10g Client

Source: Internet
Author: User

Oracle 10g ClientThe installation configuration is very important for Oracle users. installing and configuring the Oracle client properly will bring great convenience to our work. This article describes how to install and configure the Oracle 10g client.

1. Configure the listener for the Oracle server

Modify the listener. ora and tnsnames. ora files in the <installation directory>/network/admin/directory. Where

The listener file is roughly as follows:

 
 
  1. # Listener. ora Network Configuration File:/oracle/app/product/10.1.0/db_1/network/admin/listener. ora
  2. # Generated by Oracle configuration tools.
  3. SID_LIST_LISTENER =
  4. (SID_LIST =
  5. (SID_DESC =
  6. (SID_NAME = PLSExtProc)
  7. (ORACLE_HOME =/oracle/app/product/10.1.0/db_1)
  8. (PROGRAM = extproc)
  9. )
  10. (SID_DESC =
  11. (GLOBAL_DBNAME = demo1) # demo1 is the oracle Instance name
  12. (ORACLE_HOME =/oracle/app/product/10.1.0/db_1)
  13. (SID_NAME = demo1)
  14. )
  15. )
  16. LISTENER =
  17. (DESCRIPTION_LIST =
  18. (DESCRIPTION =
  19. (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1 ))
  20. (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.0.100) (PORT = 1521) # The ip address is the oracle server.
  21. )
  22. )

The tnsnames. ora file is roughly modified as follows:

 
 
  1. # Tnsnames. ora Network Configuration File:/oracle/app/product/10.1.0/db_1/network/admin/tnsnames. ora
  2. # Generated by Oracle configuration tools.
  3. DEMO1 =
  4. (DESCRIPTION =
  5. (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.0.100) (PORT = 1521) # The ip address is the oracle server.
  6. (CONNECT_DATA =
  7. (SERVER = DEDICATED)
  8. (SERVICE_NAME = DEMO1) # demo1 is the name of the oracle instance, or the service name can be modified through netmgr or netca.
  9. )
  10. )
  11. EXTPROC_CONNECTION_DATA =
  12. (DESCRIPTION =
  13. (ADDRESS_LIST =
  14. (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1 ))
  15. )
  16. (CONNECT_DATA =
  17. (SID = PLSExtProc)
  18. (PRESENTATION = RO)
  19. )
  20. )

The preceding modifications can also be configured through netmgr and netca on the graphic interface. After modification, restart the listener.

2. download and install the oracle client.

On the local machine where pl/SQL developer is installed, the oracle client must be installed. Here, the pointer is for the oracle 10 GB version. In other words, you can only install the relevant driver, such as the oci driver,

Details are not available. And the client is not necessarily set to 10g, 8i, 9i ).

1. Download the green version client from the official website. The address is as follows or changed ):

Http://www.oracle.com/technology/software/tech/oci/instantclient/index.html

Oracle users are required for downloading and can register for free.

2. You do not need to install the green version. Download and unzip the package to a specific place, and create a network directory under it. Then, create the admin directory under the directory. The structure is as follows:

<Client directory>/network/admin: Create the tnsnames. ora file in the admin directory. The content is roughly as follows:

 
 
  1. Demo1 = # oracle service name
  2. (DESCRIPTION =
  3. (ADDRESS_LIST =
  4. (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.0.100) (PORT = 1521) # oracle server ADDRESS and PORT
  5. )
  6. (CONNECT_DATA =
  7. (SERVICE_NAME = demo1)
  8. )
  9. )

3. Configure the client information in PL/SQL developer.

Open PL/SQL developer and do not log on. Choose tools> preferences> connection and set the following items:

Oracle Home: D: \ Program Files \ instantclient_11_1 # extract the directory from the client.

OCI library: D: \ Program Files \ instantclient_11_1 \ oci. dll # oci library file path. oci. dll should be in the client directory.

Save and restart PL/SQL developer. You can see the "demo1" service instance on the remote server you Just configured in the "Database drop-down" option of the logon box.

This section describes how to install and configure the Oracle 10g client.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.