How to configure the yum repository?
1. Create a new directory
two。 Mount resources to this directory
3. Edit the content file name shown below in the / etc/yum.repos.d directory with the end of repo.
4.yum clean all
5.yum repolist to see if resources can be listed: list means that the yum warehouse is configured