在Debian中配置FileZilla,通常需要安装客户端和服务器(若需搭建服务器),具体步骤如下:
sudo apt update && sudo apt upgrade
。sudo apt install filezilla
。sudo dpkg -l | grep filezilla
。wget https://dl3.cdn.filezilla-project.org/server/FileZilla_Server_1.7.3_x86_64-linux-gnu.deb
,然后sudo dpkg -i
安装。sudo systemctl start filezilla-server.service
。sudo cp /opt/filezilla-server/etc/settings.xml /opt/filezilla-server/etc/settings.xml.default
备份配置文件,再用sudo vim /opt/filezilla-server/etc/settings.xml
编辑,设置管理端口等。ufw
,则sudo ufw allow 21/tcp
(FTP端口),若有被动模式端口范围,也需开放,如sudo ufw allow 50000:50100/tcp
。sudo systemctl restart filezilla-server.service
。打开客户端,点击“打开站点管理器”,添加新站点,输入服务器IP、用户名、密码和端口(默认21),点击“连接”。