#Install Pure-FTPd aptitude -y install pure-ftpd #run as a daemon echo "yes" > /etc/pure-ftpd/conf/Daemonize #prohibit Anonymous echo "yes" > /etc/pure-ftpd/conf/NoAnonymous #enable chroot echo "yes" > /etc/pure-ftpd/conf/ChrootEveryone #only IPV4 echo "yes" > /etc/pure-ftpd/conf/IPV4Only service pure-ftpd restart #Restarting ftp server: Running: /usr/sbin/pure-ftpd -l pam -E -A -8 UTF-8 -B -O clf:/var/log/pure-ftpd/transfer.log -u 1000 -4 -B
Remove (PURGE!!!) VSFTPD
#remove first: #Stop: Unknown instance #and when I used: ps -a | grep ftp #I can still see vsftpd was running, That meant the vsftpd was not stopped. #So I used: kill -9 25676 #the stop service vsftp stop sudo aptitude remove --purge vsftpd sudo aptitude install vsftpd #delete via rm -rf or FTP /etc/vsftpd.conf