Oracle® Database Client Installation Guide
Total Page:16
File Type:pdf, Size:1020Kb
Oracle® Database Client Installation Guide 12c Release 2 (12.2) for Linux E85761-05 October 2019 Oracle Database Client Installation Guide, 12c Release 2 (12.2) for Linux E85761-05 Copyright © 2015, 2019, Oracle and/or its affiliates. All rights reserved. Primary Author: Prakash Jashnani Contributing Authors: Douglas Williams Contributors: David Austin, Neha Avasthy, Prasad Bagal, Subhranshu Banerjee, Mark Bauer, Tammy Bednar, Eric Belden, Gavin Bowe, Robert Chang, Darcy Christensen, Kiran Chamala, Jonathan Creighton, Benoit Dageville, Sudip Datta, Jim Erickson, Marcus Fallen, Joseph Francis, Mark Fuller, Allan Graves, Barbara Glover, Asad Hasan, Thirumaleshwara Hasandka, Sagar Jadhav, Clara Jaeckel, Aneesh Khandelwal, Joel Kallman, Eugene Karichkin, Jai Krishnani, Sangeeth Kumar, Ranjith Kundapur, Kevin Jernigan, Christopher Jones, Simon Law, Bryn Llewellyn, Saar Maoz, Sreejith Minnanghat, Gopal Mulagund, Sue Lee, Rich Long, Barb Lundhild, Rolly Lv, Rudregowda Mallegowda, Padmanabhan Manavazhi, Mughees Minhas, Krishna Mohan, Matthew McKerley, John McHugh, Gurudas Pai, Satish Panchumarthy , Rajesh Prasad, Rajendra Pingte, Richard Roddy, Srinivas Poovala, Mohammed Shahnawaz Quadri, Hanlin Qian, Gurumurthy Ramamurthy, Hema Ramamurthy, Sunil Ravindrachar, Mark Richwine, Dipak Saggi, Trivikrama Samudrala, Shachi Sanklecha, David Schreiner, Ara Shakian, Mohit Singhal, Dharma Sirnapalli, Akshay Shah, James Spiller, Roy Swonger, Binoy Sukumaran, Kamal Tbeileh, Ravi Thammaiah, Shekhar Vaggu, Preethi Vallam, Ajesh Viswambharan, Peter Wahl, Terri Winters, Sergiusz Wolicki, Sivakumar Yarlagadda, Zakia Zerhouni This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency- specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government. This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. This software or hardware and documentation may provide access to or information about content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth in an applicable agreement between you and Oracle. Contents Preface Audience vii Documentation Accessibility vii Command Syntax viii Related Documentation viii Conventions ix 1 Oracle Database Client Installation Checklist Server Hardware Checklist for Oracle Database Client Installation 1-1 Operating System Checklist for Oracle Database Client on Linux 1-2 Server Configuration Checklist for Oracle Database Client 1-3 Oracle User Environment Configuration Checklist for Oracle Database Installation 1-5 Storage Checklist for Oracle Database Client 1-6 Installer Planning Checklist for Oracle Database Client 1-6 2 Checking and Configuring Server Hardware for Oracle Database Client Logging In to a Remote System Using X Window System 2-1 Checking Server Hardware and Memory Configuration 2-2 3 Configuring Operating Systems for Oracle Database Client on Linux About Oracle Linux with the Unbreakable Enterprise Kernel 3-1 Reviewing Operating System Security Common Practices 3-2 About Operating System Requirements 3-2 Operating System Requirements for x86-64 Linux Platforms 3-2 Supported Oracle Linux 7 Distributions for x86-64 3-4 Supported Oracle Linux 6 Distributions for x86-64 3-5 Supported Red Hat Enterprise Linux 7 Distributions for x86-64 3-8 Supported Red Hat Enterprise Linux 6 Distributions for x86-64 3-9 Supported SUSE Linux Enterprise Server 15 Distributions for x86-64 3-11 iii Supported SUSE Linux Enterprise Server 12 Distributions for x86-64 3-12 Supported NeoKylin Linux Advanced Server 7 Distributions for x86-64 3-14 Operating System Requirements for IBM: Linux on System z 3-14 Supported Red Hat Enterprise Linux 7 Distributions for IBM: Linux on System z 3-15 Supported Red Hat Enterprise Linux 6 Distributions for IBM: Linux on System z 3-16 Supported SUSE Linux Enterprise Server 12 Distributions for IBM: Linux on System z 3-17 Additional Drivers and Software Packages for Linux 3-18 Installing PAM for Login Authentication on Linux 3-19 Installing Oracle Messaging Gateway 3-19 Installation Requirements for ODBC and LDAP 3-19 About ODBC Drivers and Oracle Database 3-20 Installing ODBC Drivers for Linux x86-64 3-20 About LDAP and Oracle Plug-ins 3-20 Installing the LDAP Package 3-20 Installation Requirements for Programming Environments for Linux 3-21 Installation Requirements for Programming Environments for Linux x86-64 3-21 Installation Requirements for Programming Environments for IBM: Linux on System z 3-21 Installation Requirements for Web Browsers 3-22 Checking Kernel and Package Requirements for Linux 3-22 4 Configuring Users, Groups and Environments for Oracle Database Client Required Operating System Groups and Users 4-1 Determining If an Oracle Inventory and Oracle Inventory Group Exist 4-2 Creating the Oracle Inventory Group If an Oracle Inventory Does Not Exist 4-2 About Oracle Installation Owner Accounts 4-3 Identifying an Oracle Software Owner User Account 4-3 Creating Operating System Oracle Installation User Accounts 4-4 Creating an Oracle Software Owner User 4-4 Environment Requirements for Oracle Software Owners 4-4 Procedure for Configuring Oracle Software Owner Environments 4-5 Setting Remote Display and X11 Forwarding Configuration 4-7 Unsetting Oracle Installation Owner Environment Variables 4-8 5 Installing Oracle Database Client Accessing the Installation Software 5-1 Downloading Oracle Software 5-2 Downloading the Installation Archive Files from OTN 5-2 iv Downloading the Software from Oracle Software Delivery Cloud Portal 5-2 Copying the Software to the Hard Disk 5-3 Mounting Disks on Linux Systems 5-3 Installing the Oracle Database Client Software 5-4 Running Oracle Universal Installer to Install Oracle Database Client 5-5 Using Oracle Net Configuration Assistant 5-6 About Character Set Selection During Installation 5-6 Running Oracle Universal Installer in Different Languages 5-7 6 Oracle Database Client Postinstallation Tasks Required Postinstallation Tasks 6-1 Downloading and Installing Patch Updates 6-1 Recommended Postinstallation Tasks 6-2 Creating a Backup of the root.sh Script 6-2 Setting Language and Locale Preferences for Client Connections 6-2 7 Removing Oracle Database Software About Oracle Deinstallation Options 7-1 Oracle Deinstallation Tool (Deinstall) 7-3 Deinstallation Examples for Oracle Database Client 7-5 A Installing and Configuring Oracle Database Using Response Files How Response Files Work A-1 Reasons for Using Silent Mode or Response File Mode A-2 Using Response Files A-2 Preparing Response Files A-3 Editing a Response File Template A-3 Recording Response Files A-5 Running Oracle Universal Installer Using a Response File A-6 Index v List of Tables 1-1 Server Hardware Checklist