[Linux] How to install FTP 

//All of the First Step
sudo apt-get install vsftpd ||
sudo dnf install vsftpd ||
sudo yum install vsftpd

//Second for edit configuration
sudo vi /etc/vsftpd.conf
The biggest change you need to make is to switch the Anonymous_enable from YES to NO:
anonymous_enable=NO
local_enable=YES
write_enable=YES
//For bring all user who login success to the root directory.
chroot_local_user=YES

//Third to add user
Ref: https://www.neverj.com/linux-add-user-set-to-sudo/
And set the right permission for them

//Final to kick the source restart XD
sudo service vsftpd restart

Done.


Back