Installation apt or yum -y install vsftpd
Configuration adduser darin passwd darin password-here
cp /etc/vsftpd/vsftpd.conf /root/vsftpd.conf.default vim /etc/vsftpd/vsftpd.conf
#to enable root login, remove root line at /etc/vsftd/user_lists & ftpusers
anonymous_enable=[YES/NO] #disable anonymous login
local_enable=[YES/NO] #allow local user
write_enable=[YES/NO] #allow ftp command
local_umask=[number] #default umask for local user
anon_upload_enable=[YES/NO] #anonymous upload file
anon_mkdir_write_enable=[YES] #anonymous make directory
connect_from_port_20=[YES] #ftp-data port
idle_session_timeout=[second] #idle session time user
deny_email_enable=[YES/NO] #disable anonymous email address
max_clients=200 #max client can use ftp at same time
systemctl restart vsftpd systemctl enable vsftpd