Home > Database > Mysql Tutorial > 在RedHat Enterprise Linux 5上安装Oracle 10g过程备忘录

在RedHat Enterprise Linux 5上安装Oracle 10g过程备忘录

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 16:56:48
Original
906 people have browsed it

安装RedHat Enterprise Linux 5很顺利,但安装Oracle却出错颇多。Oracle 10g版本下载地址官网在这里。用迅雷下载可以不用注册,I

安装RedHat Enterprise Linux 5很顺利,但安装Oracle却出错颇多。

Oracle 10g版本下载地址官网在这里。

用迅雷下载可以不用注册,IE下载需要注册。

1,安装相关的软件包
清单如下:
binutils-2.15.92.0.2-13.EL4
compat-db-4.1.25-9
compat-libstdc++-296-2.96-132.7.2
control-center-2.8.0-12
gcc-3.4.3-22.1.EL4
gcc-c++-3.4.3-22.1.EL44
glibc-2.3.4-2.9
glibc-common-2.3.4-2.9
gnome-libs-1.4.1.2.90-44.1
libstdc++-3.4.3-22.1
libstdc++-devel-3.4.3-22.1
make-3.80-5
pdksh-5.2.14-30
sysstat-5.0.5-1
xscreensaver-4.18-5.rhel4.2
setarch-1.6-1
libaio-0.3.103-3
libXp(as 5)

2,编辑vi /etc/sysctl.conf文件,末尾添加如下行(原文件如有重复的,屏蔽掉)
kernel.shmall = 2097152
kernel.shmmax = 268435456
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=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144
执行命令生效:/sbin/sysctl –p

3,,编辑vi /etc/security/limits.conf文件,在末尾添加下列行
oracle           soft    nproc   2047
oracle           hard    nproc   16384
oracle           soft    nofile 1024
oracle           hard    nofile 65536

4,建立相关的安装目录
mkdir /u01
mkdir /u01/app
mkdir /u01/app/oracle

5,建立dba,oinstall组与oracle用户
#groupadd oinstall
#groupadd dba
#useradd -g oinstall -G dba -d /u01/app/oracle oracle -s bin/bash
#passwd oracle
#chown -R oracle.oinstall /u01

linux

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template