1、首先要在Linux上面安裝vsftpd,並開啟服務
安裝命令:yum -y install vsftpd
開啟服務:systemctl restart vsftpd.service
查看服務狀態:systemctl status vsftpd.service
2、關閉Linux的防火牆
查看當前防火牆狀態:system status firewalld
關閉當前防火牆:systemctl stop firewalld
關閉防火牆開機自啟動:systemctl disable firewalld
我遇到的問題是關閉防火牆后就解決了,如果關閉防火牆沒有解決可以參考以下一篇博文嘗試一下: