CentOS 8.2学习笔记之FTP(2)vsftpd中有关启动、停止等的相关命令

systemctl start vsftpd	    #启动服务
systemctl stop vsftpd	    #停止服务
systemctl restart vsftpd	#重启服务
systemctl status vsftpd	    #检查服务状态
systemctl enable vsftpd	    #设为开机启动
systemctl disable vsftpd	#禁止开机启动

1、查看vsftpd是否运行

systemctl status vsftpd

2、如果没运行,启动vsftpd

systemctl start vsftpd

3、再次查看vsftpd运行状态

systemctl status vsftpd

CentOS 8.2学习笔记之FTP(2)vsftpd中有关启动、停止等的相关命令_第1张图片
4、设为开机自动启动

systemctl enable vsftpd

在这里插入图片描述

你可能感兴趣的:(CentOS,centos,FTP)