Rhel downloaded from the official website, after installation is not configured Yum source, you need to configure the Yum source. It's hard to find the Yum source on the network, but in the ISO image there are a lot of redhat packages and genuine software that we can copy out and build our own Yum source.
1, after the successful installation of Rhel, we use Yum will find the prompt is not registered, the first step, from the ISO image to copy the package, put on the desktop a folder called base.
2, build an FTP environment, allow anonymous login. The anonymous login account is anonymous, and the password is not. Set the FTP default directory to the path of the base folder. I will specify the FTP directory on the desktop here.
3, login Rhel, configure Yum source. Cd/etc/yum.repos.dvi Base.repo Enter the following configuration, red changes to your FTP IP address, blue is the name by the way. [Base]name=my base repobaseurl=ftp://192.168.7.62/baseenabled=1gpgcheck=1gpgkey=ftp://192.168.7.62/base/rpm-gpg-key-redhat-release
4, complete, you can use Yum.
Redhat Enterprise Linux configuration Yum repository