centos7 updatedb

centos7 updatedb起效

centos7中 默認對應的包沒有安裝 updatedb無法使用。
需要安裝對應的rpm包纔可以。
執行一下命令:
yum -y install mlocate

或者到對應的網站下載對應的包:

www.rpmfind.net
對應的rpm包名爲:mlocate.x86_64 0:0.26-8.el7(64bit)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章