环境
本地电脑CentOS 7.3虚拟机上搭建ftp,不知道虚拟机版本的小伙伴,可以在CentOS系统中打开终端输入cat /etc/redhat-release
命令查看自己的CentOS系统版本信息,如图所示:
问题
启动vsftpd服务报错:Job for vsftpd.service failed because the control process exited with error code. See "systemctl status vsftpd.service" and "journalctl -xe" for details.
解决方法
修改配置文件:
vim /etc/vsftpd/vsftpd.conf
如图所示:
修改(按“i”进行插入编辑)并保存(按“Esc”退出编辑模式,按“:wq”,保存并退出)好了后,重新启动ftp,如图所示: