Recently tried various versions of installing the ORACLE11 database on the virtual machine, found some differences in the Linux configuration, on Centos7, Yum is self-equipped with configuration information, can be installed directly when installing the RPM package required by Oracle. However, you need to first configure the Yum information on Redhat:
1 mount the virtual optical drive first to create an empty folder
Mkdir/dvd
mount/dev/sr0/dvd/
CD/DVD
LS can see the information in the Linux installation disk
2 cd/etc/yum.pepos.d/
LS will appear Rhel-source.repo
Vim Rhel-source.repo View the information inside to be aware of what's inside.
Then delete the re-established one, Dvd.repo can define its own name. RM-RF Rhel-source.repo
Vim Dvd.repo
Create and open a file that ends in. Repo
[DVD]
Name=dvd equals sign can be filled in as much as possible before the name repo.
Baseurl=file:///dvd the URL of the specified source locally with file://
gpgcheck=0 If you set gpgcheck=0 do not detect gpgkey, you do not check the file signature, you do not need to specify the location of the Gpgkey (recommended to use this article)
3 Yum Clean all clear Yum cache file
Yum List lists the packages for the Yum source
4 when Setup is complete, you can install it using the Yum command
In this process to pay attention to the use of RPM and Yum Online has a lot of relevant tutorials, you can refer to. Suggestions or the basic knowledge to fight, more contact, I was in the virtual machine on the release of the version installed, unloading, to apply the discovery of Linux update.
The difference between Redhat6 and CENTOS7 in Yum applications