linux簡易 Oracle客戶端安裝
需求是這樣的,大資料環境要安裝Oracle客戶端,
oracle-instantclient11.2-basic-11.2.0.4.0-1.x86_64.rpm
oracle-instantclient11.2-jdbc-11.2.0.4.0-1.x86_64.rpm
oracle-instantclient11.2-sqlplus-11.2.0.4.0-1.x86_64.rpm
安裝完baisc後rpm 安裝jdbc和sqlplus
連結:https://pan.baidu.com/s/1abTvGa1-pnwFNLbI3DP0Vg
提取碼:mm9s
複製這段內容後開啟百度網盤手機App,操作更方便哦
Instant Client Installation for Linux x86-64 (64-bit) For general Instant Client information, see the Home Page. ODBC users should follow the ODBC Installation Instructions. Instant Client RPMs are also available without click-through from yum.oracle.com for Oracle Linux 7 and Oracle Linux 6. Oracle Linux users with a ULN Subscription may prefer to install Oracle Instant Client from the ol7_x86_64_instantclient or ol6_x86_64_instantclient channels. Client-server version interoperability is detailed in Doc ID 207303.1. For example, Oracle Call Interface 19.3 can connect to Oracle Database 11.2 or later. Some tools may have other restrictions. Installation of ZIP files: 1. Download the desired Instant Client ZIP files. All installations require a Basic or Basic Light package. 2. Unzip the packages into a single directory such as /opt/oracle/instantclient_19_3 that is accessible to your application. For example: cd /opt/oracle unzip instantclient-basic-linux.x64-19.3.0.0.0dbru.zip 3. Prior to version 18.3, create the appropriate links for the version of Instant Client. For example: cd /opt/oracle/instantclient_12_2 ln -s libclntsh.so.12.1 libclntsh.so ln -s libocci.so.12.1 libocci.so 4. Install the libaio package. This is called libaio1 on some Linux distributions. For example, on Oracle Linux, run: sudo yum install libaio 5. If Instant Client is the only Oracle Software installed on this system then update the runtime link path, for example: sudo sh -c "echo /opt/oracle/instantclient_19_3 > \ /etc/ld.so.conf.d/oracle-instantclient.conf" sudo ldconfig Alternatively, set the LD_LIBRARY_PATH environment variable prior to running applications. For example: export LD_LIBRARY_PATH=/opt/oracle/instantclient_19_3:$LD_LIBRARY_PATH The variable can optionally be added to configuration files such as ~/.bash_profile and to application configuration files such as /etc/sysconfig/httpd. 6. If you intend to co-locate optional Oracle configuration files such as tnsnames.ora, sqlnet.ora, ldap.ora, or oraaccess.xml with Instant Client, put them in the network/admin subdirectory. This needs to be created for 12.2 and earlier, for example: mkdir -p /opt/oracle/instantclient_12_2/network/admin This is the default Oracle configuration directory for applications linked with this Instant Client. Alternatively, Oracle configuration files can be put in another, accessible directory. Then set the environment variable TNS_ADMIN to that directory name. 7. To use binaries such as sqlplus from the SQL*Plus package, unzip the package to the same directory as the Basic package and then update your PATH environment variable, for example: export PATH=/opt/oracle/instantclient_19_3:$PATH 8. Start your application. ---------from here Installation of RPM files: PATH=$PATH:$HOME/bin:/usr/lib/oracle/11.2/client64/bin export LD_LIBRARY_PATH=/opt/software/oracle export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib:$LD_LIBRARY_PATH export PAT 1. Download the desired Instant Client RPM packages. All installations require a Basic or Basic Light RPM. 2. Install the packages with yum. For example: sudo yum install oracle-instantclient11.2-basic-19.3.0.0.0-1.x86_64.rpm Note that from 19.3, by default only one version of the Instant Client RPM libraries can be installed at a time. 3. Prior to 19.3, if Instant Client is the only Oracle Software installed on this system then update the runtime link path, for example: sudo sh -c "echo /usr/lib/oracle/18.3/client64/lib > \ /etc/ld.so.conf.d/oracle-instantclient.conf" sudo ldconfig For Instant Client 19.3 RPM packages, these commands are automatically run. Alternatively, set the LD_LIBRARY_PATH environment variable prior to running applications. For example: export LD_LIBRARY_PATH=/usr/lib/oracle/18.3/client64/lib:$LD_LIBRARY_PATH The variable can optionally be added to configuration files such as ~/.bash_profile and to application configuration files such as /etc/sysconfig/httpd. 4. If you intend to co-locate optional Oracle configuration files such as tnsnames.ora, sqlnet.ora ldap.ora, or oraaccess.xml with Instant Client, put them in the network/admin subdirectory. This needs to be created for 12.2 and earlier, for example: sudo mkdir -p /usr/lib/oracle/12.2/client64/lib/network/admin This is the default Oracle configuration directory for applications linked with this Instant Client. Alternatively, Oracle configuration files can be put in another, accessible directory. Then set the environment variable TNS_ADMIN to that directory name. 5. To use binaries from the tools package, use yum to install the package and then update your PATH environment variable, for example: export PATH=/usr/lib/oracle/19.3/client64/bin:$PATH 6. Start your application.
按照上面的文件安裝,很簡單,必要更改路徑
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29990276/viewspace-2650071/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Linux中NetWare客戶端簡易安裝說明(轉)Linux客戶端
- Oracle 客戶端安裝Oracle客戶端
- oracle客戶端安裝Oracle客戶端
- aix安裝oracle客戶端AIOracle客戶端
- centos安裝oracle客戶端CentOSOracle客戶端
- linux安裝mysql客戶端LinuxMySql客戶端
- 安裝 Oracle 即時客戶端Oracle客戶端
- 配置安裝版Oracle客戶端Oracle客戶端
- 免安裝Oracle客戶端使用Oracle客戶端
- linux_ganglia客戶端安裝Linux客戶端
- 配置免安裝版Oracle客戶端Oracle客戶端
- oracle9i簡易客戶端製作說明Oracle客戶端
- MySQL 客戶端安裝MySql客戶端
- zabbix 客戶端安裝客戶端
- oracle客戶端無人值守安裝 靜默安裝Oracle客戶端
- 「Oracle」客戶端 PL/SQL DEVELOPER 安裝使用Oracle客戶端SQLDeveloper
- windows7下安裝oracle客戶端WindowsOracle客戶端
- Go 實現簡易的 Redis 客戶端GoRedis客戶端
- oracle11g客戶端靜默安裝Oracle客戶端
- WINDOWS8.1安裝ORACLE客戶端及配置WindowsOracle客戶端
- Ceph的客戶端安裝客戶端
- Git-客戶端安裝Git客戶端
- Linux 平臺安裝SQLServer客戶端操作指南LinuxSQLServer客戶端
- 用xmanager 客戶端安裝oracle時注意事項客戶端Oracle
- Mac OS X 10.6.8下安裝Oracle客戶端MacOracle客戶端
- 轉Oracle安裝臨時客戶端使用總結Oracle客戶端
- [轉]redhat AS 5安裝ORACLE10g客戶端RedhatOracle客戶端
- Windows下安裝redis客戶端WindowsRedis客戶端
- db2 客戶端安裝DB2客戶端
- zabbix監控客戶端安裝客戶端
- python實現douban.fm簡易客戶端Python客戶端
- linux zabbix-6.0.1-Agent客戶端的安裝配置Linux客戶端
- Ubuntu 16.04下安裝資料庫Oracle客戶端Ubuntu資料庫Oracle客戶端
- Oracle Instant Client(即時客戶端) 安裝與配置Oracleclient客戶端
- Oracle 10g,PLSQL客戶端安裝與配置,解除安裝說明Oracle 10gSQL客戶端
- CentOS7.1安裝Oracle 12.1客戶端以及cx_OracleCentOSOracle客戶端
- graylog 客戶端的安裝配置客戶端
- centos下安裝openvpn———客戶端CentOS客戶端