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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 客戶端安裝Oracle客戶端
- aix安裝oracle客戶端AIOracle客戶端
- linux安裝mysql客戶端LinuxMySql客戶端
- 「Oracle」客戶端 PL/SQL DEVELOPER 安裝使用Oracle客戶端SQLDeveloper
- oracle11g客戶端靜默安裝Oracle客戶端
- CentOS7.1安裝Oracle 12.1客戶端以及cx_OracleCentOSOracle客戶端
- MySQL 客戶端安裝MySql客戶端
- Ubuntu 16.04下安裝資料庫Oracle客戶端Ubuntu資料庫Oracle客戶端
- CentOS安裝git客戶端CentOSGit客戶端
- linux zabbix-6.0.1-Agent客戶端的安裝配置Linux客戶端
- Go 實現簡易的 Redis 客戶端GoRedis客戶端
- db2 客戶端安裝DB2客戶端
- Windows下安裝redis客戶端WindowsRedis客戶端
- Skywalking PHP客戶端編譯安裝PHP客戶端編譯
- iscsi linux客戶端Linux客戶端
- 如何在 Linux 上安裝、配置 NTP 伺服器和客戶端?Linux伺服器客戶端
- Kubernetes安裝之五:配置kubectl客戶端客戶端
- Ubuntu16.04 percona MySQL客戶端安裝UbuntuMySql客戶端
- 客戶端自動配置安裝(expect工具)客戶端
- Linux環境安裝Splunk Enterprise服務端和Windows客戶端Splunk Universal ForwarderLinux服務端Windows客戶端Forward
- win10系統maven客戶端安裝教程_win10系統maven客戶端安裝步驟Win10Maven客戶端
- Oracle 客戶端生成AWR方法Oracle客戶端
- NBU 8.0客戶端安裝和備份配置客戶端
- 二 GBase 8a MPP Cluster客戶端安裝客戶端
- centos7系統msyqldump 客戶端安裝CentOS客戶端
- 在不安裝oracle客戶端的情況下,使用PLSQLOracle客戶端SQL
- Linux下簡單的ACE socket客戶端和伺服器端Linux客戶端伺服器
- 八、Oracle11g R2客戶端安裝圖文詳解過程Oracle客戶端
- oracle客戶端安裝步驟—附圖形介面啟用失敗處理方法Oracle客戶端
- Linux安裝oracleLinuxOracle
- 客戶端安裝虛擬機器問題解答?客戶端虛擬機
- 如何安裝和配置 Chrony 作為 NTP 客戶端?客戶端
- 袋鼠儲存 v1.4.1 來了:docker映象,linux命令列安裝,客戶端...DockerLinux命令列客戶端
- Linux系統中KafKa安裝和使用方法 java客戶端連線kafkaLinuxKafkaJava客戶端
- SmartSVN for Mac 破解版安裝 mac好用SVN客戶端Mac客戶端
- rsync客戶端一鍵安裝rsync指令碼(原始碼)客戶端指令碼原始碼
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.1. 簡介OracleLinux
- windows簡易安裝MYSQLWindowsMySql