Client Installation Guide - Oracle

[Pages:12]Oracle? Database

Client Installation Guide

12c Release 2 (12.2) for Linux

E85761-06 November 2021

Oracle Database Client Installation Guide, 12c Release 2 (12.2) for Linux

E85761-06

Copyright ? 2015, 2021, Oracle and/or its affiliates.

Primary Author: Prakash Jashnani

Contributing Authors: Douglas Williams

Contributors: Smitha Viswanathan, Neha Avasthy, Prasad Bagal, Subhranshu Banerjee, Jean-Francois Verrier, Tammy Bednar, Kiran Chamala, Jonathan Creighton, Benoit Dageville, Sudip Datta, Jim Erickson, Marcus Fallen, Joseph Francis, Subrahmanyam Kodavaluru, Allan Graves, Barbara Glover, Asad Hasan, Thirumaleshwara Hasandka, Clara Jaeckel, Aneesh Khandelwal, Joel Kallman, Eugene Karichkin, Jai Krishnani, Sangeeth Kumar, Ranjith Kundapur, Kevin Jernigan, Christopher Jones, Angad Gokakkar, Bryn Llewellyn, Saar Maoz, Sreejith Minnanghat, Gopal Mulagund, Sue Lee, Rich Long, Barb Lundhild, Rudregowda Mallegowda, Subhash Chandra, 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, Mohit Singhal, Dharma Sirnapalli, Akshay Shah, James Spiller, Roy Swonger, Binoy Sukumaran, Kalambhatti Prashanth, Ravi Thammaiah, Shekhar Vaggu, 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 embedded, installed or activated on delivered hardware, and modifications of such programs) and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end users are "commercial computer software" or "commercial computer software documentation" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, reproduction, duplication, release, display, disclosure, modification, preparation of derivative works, and/or adaptation of i) Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs), ii) Oracle computer documentation and/or iii) other Oracle data, is subject to the rights and limitations specified in the license contained in the applicable contract. The terms governing the U.S. Government's use of Oracle cloud services are defined by the applicable contract for such services. 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, Java, and MySQL are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

Intel and Intel Inside 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, Epyc, and the AMD 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

vii

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 Reviewing Operating System Security Common Practices About Operating System Requirements Operating System Requirements for x86-64 Linux Platforms

Supported Oracle Linux 8 Distributions for x86-64 Supported Oracle Linux 7 Distributions for x86-64 Supported Oracle Linux 6 Distributions for x86-64 Supported Red Hat Enterprise Linux 8 Distributions for x86-64 Supported Red Hat Enterprise Linux 7 Distributions for x86-64 Supported Red Hat Enterprise Linux 6 Distributions for x86-64

3-1 3-2 3-2 3-2 3-4 3-6 3-7 3-9 3-11 3-12

iii

Supported SUSE Linux Enterprise Server 15 Distributions for x86-64 Supported SUSE Linux Enterprise Server 12 Distributions for x86-64 Supported NeoKylin Linux Advanced Server 7 Distributions for x86-64 Operating System Requirements for IBM: Linux on System z Supported Red Hat Enterprise Linux 7 Distributions for IBM: Linux on System z Supported Red Hat Enterprise Linux 6 Distributions for IBM: Linux on System z Supported SUSE Linux Enterprise Server 12 Distributions for IBM: Linux on System z Additional Drivers and Software Packages for Linux Installing PAM for Login Authentication on Linux Installing Oracle Messaging Gateway Installation Requirements for ODBC and LDAP

About ODBC Drivers and Oracle Database Installing ODBC Drivers for Linux x86-64 About LDAP and Oracle Plug-ins Installing the LDAP Package Installation Requirements for Programming Environments for Linux Installation Requirements for Programming Environments for Linux x86-64 Installation Requirements for Programming Environments for IBM: Linux on System z Installation Requirements for Web Browsers Checking Kernel and Package Requirements for Linux

3-14 3-15 3-17 3-17 3-18 3-19 3-20 3-21 3-22 3-22 3-22 3-23 3-23 3-23 3-23 3-23 3-24

3-24 3-25 3-25

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-4

Using Oracle Net Configuration Assistant

5-5

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 1-2 1-3 1-4 1-5 1-6 3-1 3-2 3-3 3-4 3-5 3-6 3-7 3-8 3-9 3-10 3-11 3-12 3-13 3-14 A-1

Server Hardware Checklist for Oracle Database Client Installations Operating System General Checklist for Oracle Database Client on Linux Server Configuration Checklist for Oracle Database Client User Environment Configuration for Oracle Database Storage Checklist for Oracle Database Client Oracle Universal Installer Planning Checklist for Oracle Database Client Installation x86-64 Oracle Linux 8 Minimum Operating System Requirements x86-64 Oracle Linux 7 Minimum Operating System Requirements x86-64 Oracle Linux 6 Minimum Operating System Requirements x86-64 Red Hat Enterprise Linux 8 Minimum Operating System Requirements x86-64 Red Hat Enterprise Linux 7 Minimum Operating System Requirements x86-64 Red Hat Enterprise Linux 6 Minimum Operating System Requirements x86-64 SUSE Linux Enterprise Server 15 Minimum Operating System Requirements x86-64 SUSE Linux Enterprise Server 12 Minimum Operating System Requirements x86-64 NeoKylin Linux Advanced Server 7 Minimum Operating System Requirements Red Hat Enterprise Linux 7 Minimum Operating System Requirements Red Hat Enterprise Linux 6 Minimum Operating System Requirements SUSE Linux Enterprise Server 12 Minimum Operating System Requirements Requirements for Programming Environments for Linux X86?64 Requirements for Programming Environments for IBM: Linux on System z Response Files for Oracle Database Client

1-1 1-2 1-3 1-5 1-6 1-6 3-4 3-6 3-8 3-10 3-11 3-13 3-14 3-15 3-17 3-18 3-19 3-20 3-24 3-24 A-3

vi

Preface

This guide explains how to install and configure Oracle Database Client. This guide also provides information about postinstallation tasks and how to remove the database client software. ? Audience

This guide is intended for anyone responsible for installing Oracle Database Client 12c Release 2 (12.2). ? Documentation Accessibility ? Command Syntax Refer to these command syntax conventions to understand command examples in this guide. ? Related Documentation ? Conventions

Audience

This guide is intended for anyone responsible for installing Oracle Database Client 12c Release 2 (12.2). Additional installation guides for Oracle Database, Oracle Real Application Clusters, Oracle Clusterware, Oracle Database Examples, and Oracle Enterprise Manager Cloud Control are available at the following URL:

Documentation Accessibility

For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at .

Access to Oracle Support Oracle customers that have purchased support have access to electronic support through My Oracle Support. For information, visit or visit if you are hearing impaired.

Command Syntax

Refer to these command syntax conventions to understand command examples in this guide.

vii

Preface

Convention $ % # monospace backslash \

braces { }

brackets [ ]

ellipses ...

italic

vertical line |

Description Bourne or BASH shell prompt in a command example. Do not enter the prompt as part of the command. C Shell prompt in a command example. Do not enter the prompt as part of the command. Superuser (root) prompt in a command example. Do not enter the prompt as part of the command. UNIX command syntax A backslash is the UNIX and Linux command continuation character. It is used in command examples that are too long to fit on a single line. Enter the command as displayed (with a backslash) or enter it on a single line without a backslash:

dd if=/dev/rdsk/c0t1d0s6 of=/dev/rst0 bs=10b \ count=10000

Braces indicate required items:

.DEFINE {macro1}

Brackets indicate optional items:

cvtcrt termname [outfile]

Ellipses indicate an arbitrary number of similar items:

CHKVAL fieldname value1 value2 ... valueN

Italic type indicates a variable. Substitute a value for the variable:

library_name

A vertical line indicates a choice within braces or brackets:

FILE filesize [K|M]

Related Documentation

The related documentation for Oracle Database products includes the following manuals:

Related Topics ? Oracle Automatic Storage Management Administrator's Guide ? Oracle Application Express Installation Guide ? Oracle Clusterware Administration and Deployment Guide

viii

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download