静默安装oracle11g单实例-腾讯云

静默安装oracle11g单实例-腾讯云

环境检查

Oracle版本

p13390677_112040_Linux-x86-64_1of7.zip
p13390677_112040_Linux-x86-64_2of7.zip

[root@lizer_tx ~]# cat /etc/issue
CentOS release 6.7 (Final)
Kernel \r on an \m

[root@lizer_tx ~]# uname -r 
2.6.32-573.18.1.el6.x86_64
[root@lizer_tx ~]# grep MemTotal /proc/meminfo 
MemTotal:        1020224 kB
[root@lizer_tx ~]# grep SwapTotal /proc/meminfo 
SwapTotal:       2047996 kB
[root@lizer_tx ~]# grep "model name" /proc/cpuinfo 
model name      : Intel(R) Xeon(R) CPU E5-26xx v3
[root@lizer_tx ~]# free 
             total       used       free     shared    buffers     cached
Mem:       1020224     949268      70956        172      65372     669660
-/+ buffers/cache:     214236     805988 
Swap:      2047996          0    2047996 
[root@lizer_tx ~]# df -k /tmp 
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/vda1       20641404 13186532   6406356  68% /
[root@lizer_tx ~]# df -k
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/vda1       20641404 13186532   6406356  68% /

安装依赖包

yum install binutils.x86_64 compat-libcap1.x86_64 compat-libstdc++-33.x86_64 gcc.x86_64 libstdc++-devel.x86_64 gcc-c++.x86_64 glibc.x86_64 glibc-devel.x86_64 libgcc.x86_64 libstdc++.x86_64 libstdc++-devel.x86_64 libaio.x86_64 libaio-devel.x86_64 sysstat.x86_64 elfutils-libelf-devel.x86_64 

上传pdksh安装
rpm -ivh pdksh-5.2.14-37.el5_8.1.x86_64.rpm

修改主机参数

vim /etc/sysctl.conf
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
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

修改后,使设置生效

/sbin/sysctl -p

修改用户限制

vim /etc/security/limits.conf

grid    soft    nofile     1024
grid    hard    nofile     65536
grid    soft    nproc     2047
grid    hard    nproc     16384
grid    soft    stack     10240
grid    hard    stack     32768
oracle    soft    nofile     1024
oracle    hard    nofile     65536
oracle    soft    nproc     2047
oracle    hard    nproc     16384
oracle    soft    stack     10240
oracle    hard    stack     32768

vim /etc/pam.d/login
session required        /lib64/security/pam_limits.so
session required        pam_limits.so

vim /etc/profile
  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值