Install the Oracle10g client in RedHatLinux5.5

Source: Internet
Author: User
Client installation is quite simple: you only need to pay attention to the following instructions: If it is installed on the same server as the server, replace the Oracle symbol with the client, you must also modify the version information in the corresponding installation path: LinuxRedHatEnterpriseLinuxRelease5.5NahantUpdate2 kernel 2.6.9.22.ELOracle Client Version: Oracle10.2.0.1Client

Client installation is quite simple: you only need to pay attention to the following instructions.

NOTE: If it is installed on the same server as the server, replace the Oracle symbol with the client, and change the installation path accordingly.

Version: Linux Red Hat Enterprise Linux Release 5.5 Nahant Update2

Kernel 2.6.9.22.EL

Oracle Client Version: Oracle10.2.0.1 Client

Related Tutorials:

Install Oracle 10g server http://www.linuxidc.com/Linux/2011-11/48013.htm in RedHat Linux 5.5

1. Download The oracle10.2.0.1client installation package (10201_client_linux32.zip) and decompress it to a client directory.

2) Enable the terminal and log in with the root user. Check the hardware and software configurations according to the standard installation process in the installation package documentation. The most important thing is that the hard disk space should be sufficient. (Depending on the Client installation type, the hard disk space requirements are different. One point must meet the minimum requirements, especially the hard disk space of virtual machines)

-- Check the physical memory size

GrepMemTotal/proc/meminfo

-- Check the swap zone size

GrepSwapTotal/proc/meminfo

-- Check free RAM and swap space size

Free

-- Check the remaining disk size

Df-k

-- Check whether the space available in the tmp directory meets the requirements.

Df-k/tmp

-- Check CPU

Grep "model name"/proc/cpuinfo

-- Check the operating system version

Cat/etc/issue

-- Check the Linux kernel version

Uname-r

-- Check whether the software installation package is installed and the version is correct. package_name corresponds to different software package names.

Rpm-q package_name

The specific software package name is as follows:

Make-3.79.1

Gcc-3.2.3-34

Glibc-2.3.2-95.20

Glibc-devel-2.3.2-95.20

Glibc-devel-2.3.2-95.20 (32 bits)

Compat-db-4.0.14-5

Compat-gcc-7.3-2.96.128

 

 

 

Compat-gcc-c ++-7.3-2.96.128

Compat-libstdc ++-7.3-2.96.128

Compat-libstdc ++-devel-7.3-2.96.128,

Openmotif21-2.1.30-8

Setarch-1.3-1

Gnome-libs-1.4.1.2.90-34.1 (32 bits)

Libaio-0.3.96-3

Libaio-devel-0.3.96-3

If no installation is found, run the following command to install

Rpm-ivh *. rpm

3) create a user name and group name

Note that the dba user group is missing in the Standard installation manual

# Groupadd oinstall

# Groupadd dba

#/Useradd-g oinstall-G dba client

-- Check the user ID

# Id client

-- Set the password of an oracle user

# Passwd client

4) Create an oracle installation directory and Set User Permissions

Mkdir-p/opt/client

Chown-R oracle: oinstall/opt/client

Chmod-R 775/opt/client

Chmod-R 777/opt/client

 


Note:/u01/app/oracle is the recommended installation directory name in the Standard installation manual. You can use another directory name.

5) Use a client user to log on to the terminal and set the client environment.

-- Log On with the client

# Su-client

-- Edit an object

# Vi. bash_profile

-- Add

Umask022

Export ORACLE_BASE =/opt/client

Export ORACLE_HOME = $ ORACLE_BASE/product/10.2.0/client_1

Export PATH = $ ORACLE_HOME/bin: $ PATH

ExportORACLE_SID = ORCL

The SID may need to be modified here.

You can also write

Umask022

Export ORACLE_BASE =/opt/client

Export RACLE_HOME = $ ORACLE_BASE/product/10.2.0/client_1

Export PATH = $ ORACLE_HOME/bin: $ PATH


ExportORACLE_SID = ORCL

-- Save and exit

Note that there cannot be spaces around the equal sign. The directory name corresponding to ORACLE_BASE corresponds to the previous settings.

6) execute the file you just edited.

$ ../. Bash_profile

Or

$ Source. bash_profile

Note: Use ls-a to view hidden files

7) execute Installation

If the root or other user names are used when the system is started, log on to the client instead of logging out and re-enter the graphic interface. Note that you do not log out and log on to the terminal, but log on to the entire system using a client user. Then enable the terminal.

-- Enter the directory where the oracle client is located and use the actual path to replace the client

$ Cd client


-- Run the installer

$./RunInstaller

A graphical interface should appear for installation. Generally, click next. However, the script must be run in the middle. Use the root user in the terminal and run the script as follows:

/Opt/client/oraInventory/orainstRoot. sh

/Opt/client/product/10.2.0/client_1/root. sh

8) Configure services after installation

-- Service configuration command

$ Netca

Configure the service name and test the service name.

The service configuration process may also appear during the installation process. If you have already configured the service, skip this step.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.