CentOS 6.8_x64 Oracle 12C 安装
时间:2021-07-01 10:21:17
帮助过:29人阅读
/etc/pam.d/
login
session required /lib/security/
pam_limits.so
session required pam_limits.so
vi /etc/
sysctl.conf
fs.file-max =
6815744
fs.aio-max-nr =
1048576
kernel.shmall =
2097152
kernel.shmmax =
2147483648
kernel.shmmni =
4096
kernel.sem =
250 32000 100 128
net.ipv4.ip_local_port_range =
9000 65500
net.core.rmem_default =
4194304
net.core.rmem_max =
4194304
net.core.wmem_default =
262144
net.core.wmem_max =
1048576
vi /etc/
profile
if [ $USER =
"oracle" ];
then
if [ $SHELL =
"/bin/ksh" ];
then
ulimit -p
16384
ulimit -n
65536
else
ulimit -u
16384 -n
65536
fi
fi
su -
oracle
vi .bash_profile
umask 022
export ORACLE_BASE=/home/oracle/
app
export ORACLE_HOME=$ORACLE_BASE/oracle/product/
12.1.
0/
dbhome_1
export ORACLE_SID=
orcl
export PATH=$PATH:$HOME/bin:$ORACLE_HOME/
bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib
6.安装依赖包
yum -y update
yum -y install ksh libaio-devel gcc-c++ libstdc++-devel compat-libstdc++-33 compat-libcap1
CentOS 6.8_x64 Oracle 12C 安装
标签:yum home bash 修改 gcc dev edit file roc