1、安裝ftp
sudo apt-get install ftp vsftpd
2、設置ftp匿名訪問
安裝完之後我們要對它進行配置,才能正常使用。編輯vsftpd的配置文件
sudo vim /etc/vsftpd.conf
anonymous_enable=YES #允許匿名訪問
例如下面設置
anon_root=/home/jackey/Downloads #這個只能改匿名用戶的根目錄
no_anon_password=YES
write_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
3、訪問ustc站點
網頁中檢測元素得到USTC網站IP爲 202.141.160.110:80
通過終端登錄ftp 202.141.160.110
用戶FTP
密碼FTP
參考文檔:
https://blog.csdn.net/PROGRAM_anywhere/article/details/53425418