1. 程式人生 > >centos重啟vsftpd伺服器

centos重啟vsftpd伺服器

重啟vsftpd伺服器

通常重啟使用的命令是
[java]  view plain  copy
  1. service vsftpd restart  
但是centos7之後,改用的命令是如下方式:
[java]  view plain  copy
  1. systemctl restart vsftpd.service  
最後執行檢視狀態,以檢視重啟成功了
[java]  view plain  copy
  1. systemctl status vsftpd.service