root@admin:/home/starlits# apt-get install vsftpd
root@admin:/home/starlits# vi /etc/vsftpd.conf
# os account local_enable=YES write_enable=YES #This function is to enable passive mode pasv_enable=YES #This function is to limite passive mode range from 50000 to 51000 TCP ports pasv_min_port=5001 pasv_max_port=5010 port_enable=YES
root@admin:/home/starlits# /etc/init.d/vsftpd restart