centos source and build local YUM YUM shared use apache source

 

 

YUM up a local source

1. mount the mirror

2. Set up the local YUM source

Remove the extra repo keep a file on the line

Local YUM source build better

yum yum repolist View source

3. Use the apache source shared YUM

YUM server configuration

Install apache

Restart apache

Check to see if you can visit, after the success of the next line

apache default folder in / var / www / html we create a / var / www / html / CentOS / mirrors hung up and speak

Access http://192.168.1.100/CentOS able to successfully see the yum file sharing is complete

Configure yum kefuduan

Like the front and local yum yum configuration file to remove the extra repo warehouse to

yum yum clean update

yum yum repolist View source

End

Guess you like

Origin www.cnblogs.com/xianyumenng/p/11209282.html
Recommended