清缓存命令 nscd -i hosts
有可能nscd没装,下面讲解一下,安装,启动,清缓存的命令
1. 安装 nscd
yum -y install nscd
2. 查看状态 及 启动命令
systemctl status nscd # 查看状态
systemctl start nscd # 启动 nscd
3. 启动nscd 服务后,清缓存
nscd -i hosts
清缓存命令 nscd -i hosts
有可能nscd没装,下面讲解一下,安装,启动,清缓存的命令
1. 安装 nscd
yum -y install nscd
2. 查看状态 及 启动命令
systemctl status nscd # 查看状态
systemctl start nscd # 启动 nscd
3. 启动nscd 服务后,清缓存
nscd -i hosts