中国唯一一家专业只做ARACLE认证和BDA实训的甲骨文金牌合作企业

网络授课

技术沙龙

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

(一)软件硬件需求检查

操作系统: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

CUUG 优技培训

中国Oracle培训领航专家

CUUG -CHINA UNIX USER GROUP,是国际UNIX组织UNIFORUM的中国代表,是国内悠久的专业UNIX培训机构,被誉为中国UNIX 的摇篮。

金牌讲师

行业资深实战专家 让学习就像在就业
展开

实操环境

让每一个DBA课程学员有真正的实操练习

让每一个DBA课程学员有真正的实操练习

让每一个DBA课程学员有真正的实操练习

让每一个DBA课程学员有真正的实操练习

院校合作

学校新闻

行业新闻

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

请输入您的手机号

申请试听
版权所有:北京神脑资讯科技有限公司
地址:北京市海淀区紫竹花园4号楼D座703
全国免费咨询电话:400-0909-964
电话:010-59426307 ,邮政编码:100089
E-mail:cuug_bj@cuug.com
拨打电话
在线咨询
首页