CrownCloud Wiki

CrownCloud - Internet Services

User Tools

Site Tools


installing_vsftpd_on_ubuntu

Installing vsftpd on Ubuntu

vsftpd is a FTP server client which allows FTP connections to the server.

Step 1 : Update your VPS sources

sudo apt-get update

Step 2 : Install vsftpd

sudo apt-get install vsftpd

Step 3 : Edit the config file

nano /etc/vsftpd.conf

Step 4 : Find the line, anonymous_enable=YES and change it to the following

anonymous_enable=NO

Step 5 : Find the line, local_enable=NO and write_enable=NO and change it to the following

local_enable=YES
write_enable=YES

Step 6 : Restart your vsftpd service

sudo service vsftpd restart

Step 7 : Verify vsftpd is listening on port 21

netstat -tulpn | grep :21

Step 8 : Enable root user for FTP (Optional)

sudo nano /etc/ftpusers or just nano /etc/ftpusers 
Comment out the line with root on it by placing a # at the start. Save the file, 
#root
sudo service vsftpd restart

Done!

installing_vsftpd_on_ubuntu.txt · Last modified: 2015/05/28 17:47 by speedbus