欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 汽车 > 维修 > oracle linux7安装oracle11g0204

oracle linux7安装oracle11g0204

2025/4/19 15:07:40 来源:https://blog.csdn.net/lwprain/article/details/139286289  浏览:    关键词:oracle linux7安装oracle11g0204

1、平时需要修改 /etc/redhat-release文件为Red Hat Enterprise Linux 7,这次不需要了。

2、关闭selinx nano /etc/selinux/config

改为disabled

3、nano /etc/hosts 修改解析

在oracle服务器中增加 /etc/hosts中一个对应

192.168.1.10 CLOUD-MC-SQL1

4、修改系统文件 /etc/security/limits.conf ,增加

oracle soft nproc 2047

oracle hard nproc 16384

oracle soft nofile 1024

oracle hard nofile 65536

oracle soft stack 10240

5、修改内核参数/etc/sysctl.conf

net.ipv4.ip_local_port_range= 9000 65500

fs.file-max = 6815744

kernel.shmall = 10523004

kernel.shmmax = 6465333657

kernel.shmmni = 4096

kernel.sem = 250 32000 100128

net.core.rmem_default=262144

net.core.wmem_default=262144

net.core.rmem_max=4194304

net.core.wmem_max=1048576

fs.aio-max-nr = 1048576

6、安装依赖包

yum -y install binutils compat-libcap1 compat-libstdc+±33 compat-libstdc+±33*.i686 elfutils-libelf-devel gcc gcc-c++ glibc*.i686 glibc glibc-devel glibc-devel*.i686 ksh libgcc*.i686 libgcc libstdc++ libstdc++.i686 libstdc+±devel libstdc+±devel.i686 libaio libaio*.i686 libaio-devel libaio-devel*.i686 make sysstat unixODBC unixODBC*.i686 unixODBC-devel unixODBC-devel*.i686 libXp

7、建立用户及目录

groupadd oinstall

groupadd dba

groupadd oper

useradd -g oinstall -G dba,oper oracle

echo ‘oracle’ | passwd --stdin oracle

usermod -a -G oinstall,dba,oper or

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

热搜词