在Linux系統上使用FileZilla進行端口設置,可以分為安裝FileZilla客戶端和配置FileZilla服務器兩個部分。以下是詳細的步驟指南:
sudo apt update
sudo apt install filezilla
sudo apt install filezilla-locales
。wget FileZilla_3.50.0_x86_64-linux-gnu.tar.bz2
tar zxvf FileZilla_3.50.0_x86_64-linux-gnu.tar.bz2
cd FileZilla3/bin
./filezilla
(可選)/usr/share/applications/filezilla.desktop
文件,添加以下內容并保存:[Desktop Entry]
Encoding UTF-8
Name FileZilla
Comment Ftp Client
Exec /home/your-username/FileZilla/bin/filezilla
Icon /home/your-username/FileZilla/share/pixmaps/filezilla.png
Terminal false
Type Application
Categories Network;Application; StartupNotify
sudo apt install vsftpd
sudo nano /etc/vsftpd.conf
#
):local_enable=YES
write_enable=YES
sudo systemctl restart vsftpd
確保你的防火墻允許FTP流量。如果你使用的是 ufw
,可以這樣配置:
sudo ufw allow 21/tcp
sudo ufw allow 50000:50100/tcp
sudo ufw reload
通過以上步驟,你應該能夠在Linux系統上成功設置并運行FileZilla FTP站點。請確保您擁有正確的FTP服務器地址、用戶名和密碼。