在Ubuntu上设置vsftpd自动启动,可使用以下命令:
sudo apt update
sudo apt install vsftpd
sudo systemctl start vsftpd
sudo systemctl enable vsftpd
若使用较旧版本Ubuntu,也可用sudo chkconfig vsftpd on命令设置开机自启。
sudo chkconfig vsftpd on