一、先查询vsftpd包是否安装
是 ?rpm -q vsftpd
[root@centos7-testserver /etc/vsftpd]~~rpm -q vsftpd
vsftpd-3.0.2-25.el7.x86_64
否 就直接安装yum -y install vsftpd ftp
yum -y install vsftpd ftp
二、查看路径 whereis vsftpd
[root@centos7-testserver ~]~~whereis vsftpd
vsftpd: /usr/sbin/vsftpd /etc/vsftpd /usr/share/man/man8/vsftpd.8.gz
三、启动服务
启动 systemctl start vsftpd
[root@centos7-testserver ~]~~systemctl start vsftpd
查看状态 systemctl status vsftpd
[root@centos7-testserver ~]~~systemctl status vsftpd
● vsftpd.service - Vsftpd ftp daemon
Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; disabled; vendor preset: disabled)
Active: active (running) since Thu 2019-05-09 05:57:48 EDT; 15h ago
Process: 25507 ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf (code=exited, status=0/SUCCESS)
Main PID: 25508 (vsftpd)