centos7安装locate命令 [root@fake]# locate -bash: locate: command not found [root@fake]# yum -y install mlocate [root@fake]# locate nginx locate: can not stat () `/var/lib/mlocate/mlocate.db' [root@fake]# updatedb [root@fake]# locate www /home/www ...