1,安裝vsftpd
yum install vsftpd -y

2,啟動ftp服務
service vsftpd start

3,加入開機啟動
chkconfig vsftpd on

netstat -nltp | grep 21
(查看開啟的21端口)

4,更改配置
進入 vi /etc/vsftpd/vsftp.conf 編輯
設置禁用匿名用戶

5,重啟ftp服務
systemctl vsftpd restart
systemctl restart vsftpd.service
systemctl vsftpd restart
