如發現沒有裝能夠選換國內源,而後數據庫
[root@centos yum.repos.d]# yum search locatecentos
會有提示spa
mlocate.x86_64 : An utility for finding files by name
which.x86_64 : Displays where a particular program in your path is located
而後安裝.net
[root@centos yum.repos.d]# yum install mlocate.x86_64get
再更新搜索數據庫it
[root@centos yum.repos.d]# updatedbclass