1、查看是否安装
rpm -qa |grep vsftpd
没有输出,表示没有安装
2、查看服务状态
1)、service vsftpd status
输出信息
vsftpd is stopped 表示关闭
vsftpd (pid 5773) is running...表示开启
2)、netstat -an | grep 21
有下面这行表示启动
扫描二维码关注公众号,回复:
8072276 查看本文章
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
3、安装ftp,默认安装目录:/etc/vsftpd
yum -y install vsftpd
4、开启和关闭服务
启动:service vsftpd start
关闭:service vsftpd stop
重启:service vsftpd restart