我找到了要运行的命令:
$yum install vsftpd
$ec2-authorize default -p 20-21
$ec2-authorize default -p 1024-1048
$vi /etc/vsftpd/vsftpd.conf
#---Add following lines at the end of file---
pasv_enable=YES
pasv_min_port=1024
pasv_max_port=1048
pasv_address=
$/etc/init.d/vsftpd restart
但我不知道在哪里写.
本文由 投稿者 创作,文章地址:https://blog.isoyu.com/archives/linux-zaiamazon-cloud-servershangshezhiftp.html
采用知识共享署名4.0 国际许可协议进行许可。除注明转载/出处外,均为本站原创或翻译,转载前请务必署名。最后编辑时间为:9 月 16, 2019 at 12:52 下午