rhel7安装oracle11g 的配置和安装过程

一  系统环境

                               redhat 7.4  

oracle数据库版本:   11.2.0.4

#mkdir /var/ftp/rhel7
#vi /etc/fstab
/dev/cdrom     /var/ftp/rhel7       iso9660     defaults 0 0

#vim /etc/yun.repo.d/rh7.repo
[redhat7]
name=rhel7.4
#baseurl=http://192.168.4.250/rh7.2
baseurl=file:///var/ftp/rhel7
enabled=1
gpgcheck=0

#yum clean all
#yum mackecache
#yum repolist

#vim /etc/hosts
192.168.43.xx    hostname
#vim /etc/hostname              //hostnamectl set-hostname   xxxx
oracle.db01

#vim /etc/sysconfig/network-scripts/ifcfg-ens32
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.43.xxx
NETMASK=255.255.255.0
GATEWAY=192.168.43.xx
DNS1=192.168.43.xxx

#systemctl restart network
#systemctl stop firewalld
#systemctl disabled firewalld
#vim /etc/selinux/config
SELINUX=disabled
#setenforce 0


============================

二  安装依赖环境

oracle必备的开发工具

#yum -y install g

猜你喜欢

转载自blog.csdn.net/weixin_41619143/article/details/104784934
今日推荐