Hướng dẫn cài đặt oracle client 11g

Add the full path of the Instant Client to the environment variables

c:\oreclient_install_dir\instantclient-basic-windows.x64-12.1.0.2.0.zip

8 and

c:\oreclient_install_dir\instantclient-basic-windows.x64-12.1.0.2.0.zip

9. The following steps set the variables to the path used in this example,

c:\oreclient_install_dir\instantclient_12_1

0:

  1. In Windows Control Panel, choose System, then click Advanced system settings.
  2. On the Advanced tab, click Environment Variables.
  3. Under System variables, create c:\oreclient_install_dir\instantclient-basic-windows.x64-12.1.0.2.0.zip 8 if it does not already exist. Set the value of c:\oreclient_install_dir\instantclient-basic-windows.x64-12.1.0.2.0.zip 8 to c:\oreclient_install_dir\instantclient_12_1 3.
  4. Under System variables, edit c:\oreclient_install_dir\instantclient-basic-windows.x64-12.1.0.2.0.zip 9 to include c:\oreclient_install_dir\instantclient_12_1 3.

6.2.2 Installing Oracle Database Instant Client on Linux or UNIX

6.2.2.1 Installing Oracle Instant Client from a Zip File

  1. Create an installation directory for the Oracle R Enterprise client components. For example: mkdir oreclient_install_dir
  2. Go to the Oracle Database Instant Client page on the Oracle Technology Network:
  3. Select See Instant Client downloads for all platforms. On the Instant Client Downloads page, select the Instant Client for your platform.
  4. Accept the license agreement and select the Instant Client Package - Basic RPM for your version of Oracle Database.
  5. Save the file in the installation directory that you created in Step 1. For example: \oreclient_install_dir\instantclient-basic-linux.x64-12.1.0.2.0.zip
  6. Unzip the file. The files are extracted into a subdirectory called c:\oreclient_install_dir\instantclient-basic-windows.x64-12.1.0.2.0.zip 3 c:\oreclient_install_dir\instantclient-basic-windows.x64-12.1.0.2.0.zip 4, where c:\oreclient_install_dir\instantclient-basic-windows.x64-12.1.0.2.0.zip 4 is your version of Oracle Database. For example: unzip instantclient-basic-linux.x64-12.1.0.2.0.zip ls instantclient_12_1/ instantclient-basic-linux.x64-12.1.0.2.0.zip
  7. Return to the Oracle Database Instant Client page for your platform.
  8. Select the Instant Client for your platform.
  9. On the Instant Client Downloads page for your platform, accept the license agreement and select Instant Client Package - SDK for your version of Oracle Database.
  10. Save the file in the installation directory that you created in Step 1. For example: \oreclient_install_dir\instantclient-sdk-linux.x64-12.1.0.2.0.zip
  11. Unzip the file. The contents are extracted into the c:\oreclient_install_dir\instantclient-basic-windows.x64-12.1.0.2.0.zip 3 c:\oreclient_install_dir\instantclient-basic-windows.x64-12.1.0.2.0.zip 4 subdirectory. unzip instantclient-sdk-linux.x64-12.1.0.2.0.zip ls /instantclient_12_1 instantclient-basic-linux.x64-12.1.0.2.0.zip instantclient-sdk-linux.x64-12.1.0.2.0.zip cd instantclinet_12_1 ls /help /sdk /vc10 /vc11

6.2.2.2 Installing Oracle Instant Client on Linux from RPMs

  • Create an installation directory for the Oracle R Enterprise client components. For example: mkdir oreclient_install_dir
  • Go to the Oracle Database Instant Client page on the Oracle Technology Network:
  • Choose See Instant Client downloads for all platforms.
  • On the Instant Client Downloads page, choose Instant Client for Linux x86-64.
  • On the Instant Client Downloads page for Linux, accept the license agreement and select the RPM for Instant Client Package - Basic.
  • As the root user, install the RPM: c:\oreclient_install_dir\instantclient-basic-windows.x64-12.1.0.2.0.zip 0
  • Return to the Instant Client Downloads page for Linux x86-64.
  • Accept the license agreement and download the RPM for Instant Client Package - SDK for your version of Oracle Database. As root, install the RPM: c:\oreclient_install_dir\instantclient-basic-windows.x64-12.1.0.2.0.zip 1
  • The RPMs place the files in standard locations that the ROracle configuration script can find. For example, Oracle Instant Client 12.1 is installed in c:\oreclient_install_dir\instantclient-sdk-windows.x64-12.1.0.2.0.zip 1. After installing Oracle Instant Client, add the path of the Oracle Instant Client libraries to

c:\oreclient_install_dir\instantclient-sdk-windows.x64-12.1.0.2.0.zip

2. For example: