- Клиент oracle для linux
- About
- E SQL*Plus Instant Client
- Choosing the SQL*Plus Instant Client to Install
- Basic Instant Client
- Lightweight Instant Client
- Lightweight SQL*Plus Instant Client Error with Unsupported Character Set
- Installing SQL*Plus Instant Client by Downloading from OTN
- Installing SQL*Plus Instant Client from Linux RPM Packages
- Installing SQL*Plus Instant Client from the UNIX or Windows Zip Files
- List of Files Required for SQL*Plus Instant Client
- Installing SQL*Plus Instant Client from the 10 g Client Release Media
- Installing SQL*Plus Instant Client on UNIX or Linux
- Installing SQL*Plus Instant Client on Windows
- Configuring SQL*Plus Instant Client
- Configuring SQL*Plus Instant Client on Linux (from RPMs)
- Configuring SQL*Plus Instant Client on Linux (from Client Media or Zip File) and UNIX
- Configuring SQL*Plus Instant Client on Windows
- Connecting to a Database with SQL*Plus Instant Client
- AS SYSDBA or AS SYSOPER Connections with SQL*Plus Instant Client
- Uninstalling Instant Client
- Uninstalling SQL*Plus Instant Client
Клиент oracle для linux
DEPRECATED: Do not use. This no longer works and I am not going to be updating it.
Easy Installation of Oracle Instant Client on Ubuntu/Debian Linux
If you’ve ever had to mess with installing and configuring the Oracle Instant Client on your Ubuntu/Debian machine, you know that it’s a pain in the arse.
The crux of the problem lies in the fact the Oracle doesn’t create Ubuntu/Debian compatible packages for their software.
This repo contains a simple script which will convert the binaries that Oracle does provide (Redhat rpm) files into Ubuntu/Debian files and then install them on your system.
Because of way that Oracle licenses their software, you will need to download the rpm’s for the version that you want from them directly prior to using the installation script.
Important: Currently, this only supports 64-bit machines.
Download the necessary rpm files from Oracle for whatever version you want. You’ll need the ‘basic’, ‘devel’, and ‘sqlplus’ packages.
The filenames should match the following pattern:
- oracle-instantclient[version]-basic-[more-version-info].x86_64.rpm
- oracle-instantclient[version]-devel-[more-version-info].x86_64.rpm
- oracle-instantclient[version]-sqlplus-[more-version-info].x86_64.rpm
Download the install_oracle_instantclient.py script.
Run it as root, specifying the location of the rpm files as an argument: sudo python install_oracle_instantclient.py [directory_holding_rpms]
- If you have an error, please submit it as an issue.
Obtain your sqlnet.ora, tnsnames.ora, and possibly ldap.ora files from your DBA.
Place those files into the /usr/lib/oracle/[version you installed]/client64/network/admin directory.
This utility is provided as-is with absolutely no support.
I will not be able to help you if it hoses up your system somehow.
This program basically automates the instructions found on the Ubuntu help forums.
About
DEPRECATED: Provides a pain-free way to install the Oracle client libraries (along with SQL PLus) on your Ubuntu machine.
Источник
E SQL*Plus Instant Client
SQL*Plus Instant Client is a standalone product with all the functionality of SQL*Plus command-line. It connects to existing remote Oracle databases, but does not include its own database. It is easy to install and uses significantly less disk space than the full Oracle Database Client installation required to use SQL*Plus command-line.
SQL*Plus Instant Client is available on platforms that support the OCI Instant Client. See the Oracle Call Interface Programmer’s Guide for more information on the OCI Instant Client.
To install SQL*Plus Instant Client, you need two packages:
SQL*Plus Instant Client package.
Either the Basic OCI Instant Client package, or the lightweight OCI Instant Client package.
Choosing the SQL*Plus Instant Client to Install
SQL*Plus Instant Client can be installed in two ways:
Download the packages from the Oracle Technology Network (OTN).
Copy the same files that are in the packages from an Oracle Database 10 g Client Administrator installation.
Both the SQL*Plus and OCI packages must be from the same Oracle Database version, for example, 10.2.0.1.
Basic Instant Client
SQL*Plus Instant Client using the Basic OCI package works with any NLS_LANG setting supported by the Oracle Database. It supports all character sets and language settings available in the Oracle Database.
Lightweight Instant Client
SQL*Plus Instant Client using the lightweight OCI package displays error messages in English only and supports only specific character sets. It is significantly smaller than SQL*Plus Instant Client using the Basic OCI package.
Valid values for NLS_LANG parameters with the lightweight Instant Client are:
language must always be American.
territory can be any valid territory supported by the Oracle Database.
charset is one of the following character sets:
Lightweight SQL*Plus Instant Client Error with Unsupported Character Set
Attempting to start SQL*Plus Instant Client with an unsupported character set will fail with the following error:
Installing SQL*Plus Instant Client by Downloading from OTN
The OTN downloads for Linux are RPM packages. The OTN downloads for UNIX and Windows are zip files.
The SQL*Plus Instant Client package should never be installed on an ORACLE_HOME.
Installing SQL*Plus Instant Client from Linux RPM Packages
Download the RPM packages containing the SQL*Plus Instant Client package, and the OCI package from the OTN Instant Client page at http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html . Both packages must be from the same version such as 10.2.0.1.
Use rpm -i for the initial install of the RPM packages, or rpm -u to upgrade to a newer version of the packages.
Installing SQL*Plus Instant Client from the UNIX or Windows Zip Files
Download the zip files containing the SQL*Plus Instant Client package, and the OCI package from the OTN Instant Client page at http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html . Both packages must be from the same version such as 10.2.0.1.
Create a new directory, for example, /home/instantclient10_2 on UNIX or c:\instantclient10_2 on Windows.
Unzip the two packages into the new directory.
List of Files Required for SQL*Plus Instant Client
Tables E-1, E-2 and E-3 list the required files from each of the SQL*Plus and OCI packages. The files from only one of the OCI packages are required. Other files installed that are not listed here can be ignored, or can be removed to save disk space.
Table E-1 Instant Client Files in the SQL*Plus Package
Linux and UNIX | Windows | Description | |||
---|---|---|---|---|---|
Linux and UNIX | Windows | Description |
---|---|---|
Linux and UNIX | Windows | Description |
---|---|---|