Red Hat Enterprise Linux6.4-64位 安裝Oracle11.2.0.3-64位(一)
最新學訊:近期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