专业只做数据库实训和认证的品牌机构

微信公众号新浪微博
免费咨询电话:400-0909-964
当前位置: 网站首页 > DBA实战 > DBA课程 > Red Hat Enterprise Linux6.4-64位 安装Oracle11.2.0.3-64位(一)

Red Hat Enterprise Linux6.4-64位 安装Oracle11.2.0.3-64位(一)

文章来源: 更新时间:2018/10/10 15:17:15

在线老师点击咨询:

最新学讯:近期OCP认证正在报名中,因考试人员较多请尽快报名获取最近考试时间,报名费用请联系在线老师,甲骨文官方认证,报名从速!

我要咨询

(一)软件硬件需求检查

操作系统:Red Hat Enterprise Linux6.4-64位

数据库Oracle11.2.0.3-64位

软件及安装包:

VirtualBox-4.3.12-93733-Win.exe

SecureCRT

xmanagerenterprise3.0/4.0/5.0

p13390677_112040_Linux-x86-64_1of7.zip

p13390677_112040_Linux-x86-64_2of7.zip

pdksh-5.2.14-36.el5.x86_64.rpm

rhel-server-6.4-x86_64-dvd.iso

rlwrap-0.37.tar.gz

1.1 软、硬件需求检查

1.1.1 查看内存、swap空间

查看物理内存

[root@rhel64 ~]# free -m

查看操作系统共享内存,Oracle数据库使用内存要小于此值

[root@rhel64 ~]# df -h /dev/shm/

调整方法:修改/etc/fstab

[root@rhel64 ~]# vi /etc/fstab 修改对应/dev/shm 项 defaults,size=1500M

[root@rhel64 ~]# cat /etc/fstab | grep shm

[root@rhel64 ~]# mount -o remount /dev/shm

[root@rhel64 ~]# df -h /dev/shm

1.1.2 查看系统架构

[root@rhel64 ~]# uname -m

1.1.3 磁盘空间检查

/tmp空间 >1G

[root@rhel64 ~]# df -h /tmp/

软件安装目录空间

[root@rhel64 ~]# df -h /u01/

软件存放目录空间 >2.5G (不安装grid)

[root@rhel64 ~]# df -h /software/

图形界面显示分辨率 1024*768 以上

1.1.4 内核需求检查

查看操作系统版本

[root@rhel64 ~]# cat /proc/version

[root@rhel64 ~]# lsb_release -id

内核需求:

[root@rhel64 ~]# uname -r

1.1.5 软件包检查

[root@rhel64 ~]# yum install binutils*

[root@rhel64 ~]# yum install compat*

[root@rhel64 ~]# yum install glibc*

[root@rhel64 ~]# yum install ksh*

[root@rhel64 ~]# yum install libgcc*

[root@rhel64 ~]# yum install libstdc*

[root@rhel64 ~]# yum install libaio*

[root@rhel64 ~]# yum install make*

[root@rhel64 ~]# yum install sysstat*

可以提前检查 也可以安装报错缺少包时再yum安装具体包

[root@rhel64 ~]# yum install unixODBC*

1.1.6 修改资源限制

[root@rhel64 ~]# cp /etc/security/limits.conf /etc/security/limits.conf.bak

[root@rhel64 ~]# vi /etc/security/limits.conf

Oracle soft nproc 2047

Oracle hard nproc 16384

Oracle soft nofile 1024

Oracle hard nofile 65536

Oracle soft stack 10240

[root@rhel64 ~]# tail -8 /etc/security/limits.conf

1.1.7 修改内核参数

建议编辑前给虚拟机做快照备份!!

[root@rhel64 ~]# cp /etc/sysctl.conf /etc/sysctl.conf.bak

[root@rhel64 ~]# vi /etc/sysctl.conf

fs.aio-max-nr = 1048576

fs.file-max = 6815744

kernel.shmmni = 4096

kernel.sem = 250 32000 100 128

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 = 1048576

[root@rhel64 ~]# tail -16 /etc/sysctl.conf

重启,验证

[root@rhel64 ~]# reboot

本文地址:http://www.cuug.com.cn/dba/kecheng/19540546075.html 转载请注明!


在线预约 抢先报名 获取课程排期

Oracle培训机构

金牌讲师<>

冉乃纲-老师CUUG金牌讲师
冉老师 CUUG金牌讲师 Oracle及RedHat高级讲师、Unix/Linux 资深专家...[详细了解老师]

免费咨询上课流程 客服在线中

陈卫星-老师CUUG金牌讲师
陈老师 CUUG金牌讲师 精通Oracle管理、备份恢复、性能优化 11年Ora...[详细了解老师]

免费咨询上课流程 客服在线中

选学校如何选择适合自己的学校

CUUG -CHINA UNIX USER GROUP,是国际UNIX组织UNIFORUM的中国代表,是国内悠久的专业UNIX培训机构,被誉为中国UNIX 的摇篮。多年来,以提高教学质量为本,强调素质教育,积极引进、消化国外的新技术,有效的结合中国....[详情]

一站式服务(从入学到就业一帮到底)

入学

学习

就业

实操

食宿
地址:北京市海淀区北清路164号28-38号院
课程咨询:010-59426307 010-59426319 400-0909-964
企业服务:137 1818 8639(陈经理)
部分信息来源于网络,如有错误请联系指正!
版权所有@北京神脑资讯技术有限公司 (CUUG,中国UNIX用户协会) Copyright 2016 ALL Rights Reserved 京ICP备11008061号-1