Home > Database > Mysql Tutorial > RedHat Linux 5.4_x64安装Oracle11g-1_64笔录

RedHat Linux 5.4_x64安装Oracle11g-1_64笔录

WBOY
Release: 2016-06-07 16:57:18
Original
957 people have browsed it

最近在单位一台DELL T710_x64机器上布置了一个oracle11g-1_64,从网上查很多的资料,进行综合才得以安装成功,以下是安装步骤总结

最近在单位一台DELL T710_x64机器上布置了一个Oracle11g-1_64,从网上查很多的资料,进行综合才得以安装成功,以下是安装步骤总结,为给哪些和我一样迷茫过的初学者提供帮助,,我的机器配置如下:

服务器:DELL T710-64位

CPU:E5520 64位 ×2

内存:8G

硬盘:STA 1T×3块 RAID5 2T

操作系统:RedHat linux 5.4

硬盘分区:

/         :60G

/boot/ :200m

/usr/    :30G

/swap/ :20G

/tmp/   :10G

/home/ :40G

/ora/    :120G ;oracle11g-1系统和数据文件都在这个分区

/data/ :1.5T

.

.

以下是安装步骤:

1. 完全安装Redhat Linux server 5.4_X64 操作系统

(1) Oracle11g-1下载地址:下载oracle需注册一个账户

2. 修改主机配置文件(root身份)

#vi /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

#ip地址改为服务器的地址

192.168.xx.xx           localhost

4. 修改内核参数(root身份)

#vi /etc/sysctl.conf

添加下列代码:(我的服务器内存是8G,如果小于这个数你需要修改下面的参数)

kernel.sem=250 32000 100 128   #每个信号对象集的最大信号对象数;系统范围内最大信号

net.ipv4.ip_local_port_range=1024 65000 # 应用程序可使用的IPv4端口范围

net.core.rmem_default=4194304 #套接字接收缓冲区大小的缺省值

net.core.rmem_max=4194304 #套接字接收缓冲区大小的最大值

net.core.wmem_default=262144 #套接字发送缓冲区大小的缺省值

net.core.wmem_max=262144 #套接字发送缓冲区大小的最大值

#sysctl –p 使其生效

执行后显示如下:

net.ipv4.ip_forward = 0

net.ipv4.conf.default.rp_filter = 1

net.ipv4.conf.default.accept_source_route = 0

kernel.sysrq = 0

kernel.core_uses_pid = 1

net.ipv4.tcp_syncookies = 1

kernel.msgmnb = 65536

kernel.msgmax = 65536

kernel.shmmax = 4294967295

kernel.shmall = 268435456

kernel.sem = 250 32000 100 128

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

5. 创建oracle用户和组

# groupadd oinstall

# groupadd dba

# groupadd oper

# useradd -g oinstall -G dba,oper oracle

# passwd oracle (设置oracle账户口令)

6.验证nobody用户:

# id nobody

显示如下:

uid=99(nobody) gid=99(nobody) groups=99(nobody)

7.赋予.ora分区写入权限给oracle账户

#chown -R oracle:oinstall /ora

linux

Related labels:
source:php.cn
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