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

Install oracle10g release2 under RHEL5.4

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

Install oracle10grelease2 under RHEL5.4

Environment: vmware station10,rhel5.4 system

First, prepare before installation

1. Image file of Oracle10g release2

2. Install the following rpm packages

# cd/media/cdrom/RHEL../Server

$rpm-Uvh setarch-2* make-3* glibc-2* libaio-0* compat-libstdc++-33-3 compatmurGcMuth34-3CompatMushGcMuth34CompatMurray 31gcc-4* libXp-1* openmotif22-* compat-db-4*

3. Modify the redhat version. Oracle10g release2 supports up to rhel4

# Vim / etc/redhat-release

RedHat Enterprise Linux Server release 5.4 (Tikanga) change from 5.4 to 4. 4 oracle installation is completed and then back to 5.4.

RedHat Enterprise Linux Server release 4 (Tikanga)

4. Modify the ip address. If you select DHCP when installing redhat, you need to change it to static configuration.

# vim/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0

BOOTPROTO=static

BROADCAST=192.168.91.255

HWADDR=00:0C:29:4A:FB:D8

IPADDR=192.168.91.12

IPV6INIT=yes

IPV6_AUTOCONF=yes

NETMASK=255.255.255.0

NETWORK=192.168.91.0

ONBOOT=yes

Make corresponding modifications according to one's own actual situation

5. Modify the host name

# vim / etc/hosts added at the end

IPADDR (your own host ip) HOSTNAME (optional)

Take me as an example: 92.168.91.12 oracle.server

Modify again

# hostname oracle.server

Gostname View

6. Create oinstall and dba groups, create oracle users and give them passwords

# groupadd oinstall

# groupadd dba

# useradd-g oinstall-G dba oracle

# echo "redhat" | passwd-- stdinoracle

7. Create the installation directory of the oracle database, and change the directory owner and group to oracle:oinstall, and modify the directory permission to 775

# mkdir-p / oracle

# chown-R oracle:oinstall/oracle

# chmod-R 775 / oracle

View changes

[root@localhost ~] # ll-d/oracle

Drwxrwxr-x 2 oracle oinstall4096 Apr 1 10:05 / oracle

8. Modify kernel parameters

# cat > > / etc/sysctl.conf > / etc/security/limits.conf > / etc/pam.d/login

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

Database

Wechat

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

12
Report