在 Debian 上配置 FTP 服务器,常用工具和方案如下:
vsftpd(Very Secure FTP Daemon) ✅ 推荐
sudo apt update
sudo apt install vsftpd
ProFTPD
sudo apt install proftpd
Pure-FTPd
sudo apt install pure-ftpd
sudo apt install ufw
sudo systemctl status vsftpd
sudo apt install webmin
sudo nano /etc/vsftpd.conf
常见配置:
anonymous_enable=NO
local_enable=YES
write_enable=YES
chroot_local_user=YES
重启服务:
sudo systemctl restart vsftpd
如果你说明使用场景(内网/公网/用户数/是否加密),我可以给你一套具体配置。