当前位置:Gxlcms > mysql > oracle10g在x86linux上的安装步骤

oracle10g在x86linux上的安装步骤

时间:2021-07-01 10:21:17 帮助过:36人阅读

欢迎进入Oracle社区论坛,与200万技术人员互动交流 >>进入 一:Oracle Enterprise Linux 5.0: 必须组件安装: GNOME Desktop Environment Editors Graphical Internet Text-based Internet Development Libraries Development Tools Server Configuration To

欢迎进入Oracle社区论坛,与200万技术人员互动交流 >>进入

一:Oracle Enterprise Linux 5.0:

必须组件安装:

GNOME Desktop Environment

Editors

Graphical Internet

Text-based Internet

Development Libraries

Development Tools

Server Configuration Tools

Administration Tools

Base System Tools

X Window System

二:创建用户和用户组(以root用户创建)

groupadd -g 1001 dba

id nobody

groupadd -g 1002 oinstall

useradd -u 1002 -g oinstall -G dba oracle

passwd oracle

三:检查所需软件:(以root用户进行)

rpm -qa setarch make glibc libaio compat-libstdc++- compat-gcc-34- compat-gcc-34-c++- gcc libXp openmotif compat-db

以下为所需软件包

setarch-2.0-1.1.i386.rpm

make-3.81-1.1.i386.rpm

glibc-2.5-12.i686.rpm

libaio-0.3.106-3.2.i386.rpm

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

compat-gcc-34-3.4.6-4.i386.rpm

compat-gcc-34-c++-3.4.6-4.i386.rpm

gcc-4.1.1-52.el5.i386.rpm

libXp-1.0.0-8.i386.rpm

openmotif-2.3.0-0.3.el5.i386.rpm

compat-db-4.2.52-5.1.i386.rpm

五:配置内核参数(以root用户)

# vi /etc/sysctl.conf

kernel.shmall = 268435456

kernel.shmmax = 4294967295

kernel.shmmni = 4096

kernel.sem = 250 32000 100 128

fs.file-max = 65536

net.ipv4.ip_local_port_range = 1024 65000

net.core.rmem_default = 4194304

net.core.rmem_max = 4194304

net.core.wmem_default = 262144

net.core.wmem_max = 262144

使参数输出#/sbin/sysctl -p

# vi /etc/security/limits.conf

添加以下内容:
o
racle soft nproc 2047

oracle hard nproc 16384

oracle soft nofile 1024

oracle hard nofile 65536

# vi /etc/pam.d/login

添加以下内容:

session required /lib/security/pam_limits.so

[1] [2]

人气教程排行