Debian下FileZilla配置指南(客户端+服务器)
sudo apt update && sudo apt upgrade,确保系统软件包为最新版本。sudo apt install filezilla,通过APT包管理器安装官方提供的FileZilla客户端。sudo dpkg -l | grep filezilla,若输出包含filezilla则说明安装成功。filezilla直接启动。Ctrl+S。192.168.1.100);21,若使用SFTP(更安全)则填写22;FileZilla_Server_x.x.x_x86_64-linux-gnu.deb);sudo dpkg -i FileZilla_Server_x.x.x_x86_64-linux-gnu.deb安装。sudo systemctl start filezilla-server.service;sudo systemctl enable filezilla-server.service;sudo systemctl status filezilla-server.service(显示“active (running)”则为正常)。FileZilla Server Interface(通常在应用程序菜单中);ftpuser);/var/ftp),并设置用户权限(如“读取”“写入”)。sudo ufw allow 21/tcp;sudo ufw allow ssh;sudo ufw status。若需要通过代理连接FTP服务器,可通过以下方式设置:
proxy.example.com)、端口(如8080),若需身份验证则填写用户名和密码。~/.config/filezilla/filezilla.xml文件;<Proxy>标签内添加代理配置(如HTTP代理:<Type>HTTP</Type><Host>proxy.example.com</Host><Port>8080</Port>;SOCKS5代理:<Type>SOCKS5</Type><Host>proxy.example.com</Host><Port>1080</Port>);sudo apt install openssh-server);~/.config/filezilla,Server配置位于/etc/filezilla(需root权限访问);filezilla.xml、users.xml),避免数据丢失。