一 系统环境
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