随着中兴新支点操作系统的普及,小部分人反馈在系统下安装Oracle遇到了一些问题,有的甚至发出“难道中兴新支点操作系统无法安装Oracle?”的感慨。今天我们结合图文和大家分享一下在中兴新支点操作系统环境下如何成功安装Oracle数据库。
吉大萌妹纸有话说:
呵呵,花了半小时左右把11g安装折腾好了。其中折腾SQL花了好长时间,总算搞定了。好了,先总结下安装步骤,希望给后面的童鞋提高安装效率。哈哈。
一、测试环境
[root
localhost~]#cat/proc/versionLinuxversion2.6.32-.el6.x86_64(root
CGSLv4-64)(gccversion4.4.(RedHat4.4.6-3)(GCC))#1SMPFriNov:26:35EDT[root
localhost~]#uname-aLinuxlocalhost.localdomain2.6.32-.el6.x86_64#1SMPFriNov:26:35EDTx86_64x86_64x86_64GNU/Linux
[root
localhost~]#freetotalusedfreesharedbufferscached
Mem:
-/+buffers/cache:
Swap:
[root
localhost~]#getenforceEnforcing
二、安全配置
1.防火墙
[root
localhost~]#serviceiptablesstop[root
localhost~]#chkconfigiptablesoff2.SELinux
设置为permissive或disabled模式
root
localhost~]#vim/etc/sysconfig/selinux#ThisfilecontrolsthestateofSELinuxonthesystem.
#SELINUX=cantakeoneofthesethreevalues:
#enforcing-SELinuxsecuritypolicyisenforced.
#permissive-SELinuxprintswarningsinsteadofenforcing.
#disabled-NoSELinuxpolicyisloaded.
SELINUX=permissive
#SELINUXTYPE=cantakeoneofthesetwovalues:
#targeted-Targetedprocessesareprotected,
#mls-MultiLevelSecurityprotection.
SELINUXTYPE=targeted
三、修改主要配置文件
1.vim/etc/sysctl.conf
注释掉以下参数:
#Controlsthemaximumsharedsegmentsize,inbytes
#kernel.shmmax=
#Controlsthemaximumnumberofsharedmemorysegments,inpages
#kernel.shmall=
增加以下参数(Oracle推荐):
fs.suid_dumpable=1
fs.aio-max-nr=
fs.file-max=
kernel.shmall=
kernel.shmmax=
kernel.shmmni=
kernel.sem=28
net.ipv4.ip_local_port_range=
执行#sysctl-p让参数生效
2.vim/etc/sysctl.conf
添加以下内容
oraclesoftnofile
oraclehardnofile
oraclesoftnproc
oraclehardnproc
oraclesoftstack0
四、到光盘目录下安装需要的包
[root
localhost/]#cd/media/NewStart_CGS_Linux/CgsOS/rpm-Uvhbinutils-2.20.51.0.2-5.28.el6.x86_64.rpm
rpm-Uvhglibc-2.12-1.47.el6.i.rpm
rpm-Uvhglibc-2.12-1.47.el6.x86_64.rpm
rpm-Uvh白癜风怎么引起的治疗白癜风得花多少钱