Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install remote redhat linux oracle11g

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

How to carry out remote redhat linux oracle11g installation, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.

Remote access: there are two ways: X-MANAGER and VNC

1.X-MANAGER access method: http://xin23.blog.51cto.com/1827266/419905

2.VNC access method: http://xin23.blog.51cto.com/1827266/419696

If you need it, you can check the above link.

Next, go to the preparatory work for the ORACLE installation.

Add groups and users

[root@localhost /] # cat user.sh

Groupadd dba

Useradd-g dba oracle

Mkdir-p / home/oracle

Chown-R oracle:dba / home/oracle

[root@localhost /] # source user.sh

Modify environment variabl

Vi / home/oracle/.bash_profile

Add the following statement

Export ORACLE_BASE=/opt/oracle

Export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1

Export ORACLE_SID=orcl

Export PATH=$PATH:$ORACLE_HOME/bin:$HOME/bin

Save exit

Su-oracle

Export $DISPLAY=IP:0.0 # this IP is the remote control side IP

Go to the ORACLE file directory to perform the installation

. / runInstaller

At this point, OUI has been successfully started. Then continue with the operation.

ORACLE installation prerequisites check failed:

1. Kernel parameter setting is not up to standard

two。 The required package is not fully installed

3. Insufficient swap space SWAP

4.maximum open file descriptors

The following are solved one by one.

1. Kernel parameter problem

This is the parameter name provided by the ORACLE installer. # followed by the ORACLE expected value

OS Kernel parameter:sem opm # 100

OS Kernel parameter:file-max # 6815744

OS Kernel parameter:ip_local_port_range # between 9000 & 65500

OS Kernel parameter:rmem_default # 262144

OS Kernel parameter:rmem_max # 4194304

OS Kernel parameter:wmem_default # 262144

OS Kernel parameter:wmem_max # 10488576

OS Kernel parameter:aio-max-nr # 1048576

Modify / etc/sysctl.conf file. Add the following statement:

Kernel.sem= 250 32000 100 128

Fs.file-max=6815744

Net.ipv4.ip_local_port_range = 9000 65500

Net.core.rmem_default = 262144

Net.core.rmem_max = 4194304

Net.core.wmem_default = 262144

Net.core.wmem_max = 10488576

Fs.aio-max-nr = 10488576

Save and exit after completion.

Sysctl-p makes the changes take effect immediately

PS: if ORACLE's kernel requirements for you are different from mine. The operation is as follows

1.sysctl-a | grep parameter keyword to find the current system settings.

two。 Copy him into sysctl.conf.

3. The value is modified to what ORACLE expects.

4. Save and exit. And make the changes effective immediately.

two。 The required package is not fully installed.

Which is missing and which is installed from the CD? If there is no CD, download it online.

My suggestion is that it is best to install it on CD. Because what is found on the Internet may not be easy to use.

And some packages are associated with a lot of packages. Searching one by one takes a lot of time.

Rpm-ivh rpm_name.rpm

After the installation, all the required packages will be complete.

The following is mine. For reference only. (mine is 64bit)

Rpm-ivh compat-libstdc++-33-3.2.3-61.x86_64.rpm

Rpm-ivh compat-libstdc++-33-3.2.3-61.i386.rpm

Rpm-ivh elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm elfutils-libelf-devel-0.137-3.el5.x86_64.rpm

Rpm-ivh libaio-devel-0.3.106-3.2.x86_64.rpm

Rpm-ivh libaio-devel-0.3.106-3.2.i386.rpm

Rpm-ivh sysstat-7.0.2-3.el5.x86_64.rpm

Rpm-ivh unixODBC-2.2.11-7.1.x86_64.rpm

Rpm-ivh unixODBC-2.2.11-7.1.i386.rpm

Rpm-ivh unixODBC-devel-2.2.11-7.1.x86_64.rpm

Rpm-ivh unixODBC-devel-2.2.11-7.1.i386.rpm

Rpm-ivh kernel-headers-2.6.18-164.el5.x86_64.rpm

Rpm-ivh glibc-headers-2.5-42.x86_64.rpm

Rpm-ivh glibc-devel-2.5-42.x86_64.rpm

Rpm-ivh glibc-devel-2.5-42.i386.rpm

3. The problem of swap space

Add swap space

PS: add swap space for redhat linux. There are two ways to search on the Internet.

1. Add swap partition directly.

two。 Add an exchange file.

I have verified both ways. All OK. The following are the specific actions:

1. Add swap partition

Mkswap / dev/sda3 # sda3 is a hard disk partition. You can replace it with the partition you need to use.

Swapon / dev/sda3 # enable swap space immediately

two。 Add swap file

Mkdir / swap # I created a new directory here

Cd / swap # enter the directory

Dd if=/dev/zero of=swapfile bs=1024 count=3500000

# dd instruction is used to convert files and use them for replication purposes

# if refers to the input file format to be converted

# of refers to the output file

# bs refers to how much KB a partition occupies

# count refers to how many bs to use

Mkswap / swap/swapfile

Swapon / swap/swapfile # enable swap space immediately

PS: a script to add a swap partition is provided here

[root@RHEL5-1 /] # cat swap.sh

Mkdir / swap

Cd / swap

Touch swapfile

Dd if=/dev/zero of=/swap/swapfile bs=1024k count=1024

Mkswap / swap/swapfile

Swapon / swap/swapfile

[root@RHEL5-1 /] # source swap.sh

1024000 records in

1024000 records out

1073741824 bytes (1.1 GB) copied, 15.7558 seconds, 68.1 MB/s

Setting up swapspace version 1, size = 1073737 kB

[root@RHEL5-1 swap] #

4. Maximum open file descriptors

Modify / etc/security/limits.conf

Add

*-nofile 1006154

Save exit

Source limits.conf

Modify / etc/pam.d/login

Add

Session required / lib/security/pam_limits.so.

Save exit

Source login

Re-check the prerequisites. It passed smoothly.

Next all the way.

Run 2 scripts as root.

Installation succeeded

-

There are some small differences between SUSE 10 X64 SP3 installation ORACLE 11GR2 and RHEL 5:

1. Cannot be installed through su-oracle.

To log out of root and then log in to the installation using the oracle user

Note: if the command cannot be found in the sqlplus library as oracle, you can load it with source ~ / .profile.

2.shmmax kernel parameters.

Vi / etc/sysctl.conf

Add

Kernel.shmmax = value

Sysctl-p

3. Compat-libstdc++-5.0.7-22.2.x86_64.rpm

It's not on the CD. Download it from the Internet.

Or. I am in a hurry. Take a look at the attachment.

-

SUSE LINUX ENTERPRISE 11 64bit

1.hard limit maximum user process

Vi / etc/security/limits.conf

Oracle soft nproc 2047oracle hard nproc 16384oracle soft nofile 1024oracle hard nofile 65536oracle soft stack 102402.linux-kernel-headers-2.6.31-3.4.noarch.rpm can be downloaded and installed / or see the attachment. After reading the above, have you mastered how to install redhat linux oracle11g remotely? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report