Centos安装Oracle11gR2过程

【root】

1、安装必要的软件

##wget         下载用的
##unzip        解压oracle安装文件
##net-tools    查看本机网络情况 比如netstat
yum install wget unzip net-tools -y
#使用oracle提供的环境配置工具
##这个工具会调整内核参数,建立一些必要的linux用户&组
##可能网络不好会安装不成功,多install一下
wget http://public-yum.oracle.com/public-yum-ol7.repo -O /etc/yum.repos.d/public-yum-ol7.repo
wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
yum install oracle-rdbms-server-11gR2-preinstall -y
sysctl -f

  

#创建一些目录和配置
##配置oracle系统配置文件&授权
cat >> /etc/oraInst.loc <<EOF
inventory_loc=/home/oracle/ora11g/oraInventory
inst_group=oinstall
EOF

  

  

  

猜你喜欢

转载自www.cnblogs.com/Q827170326/p/9199803.html