Get FTP server running on Ubuntu, quick and easy [vsftpd]

If you are new to linux this might be a little difficult. Once you have some basics nailed, its super easy. Here’s how to get it working without worrying about usergroups etc etc. I just wanted to get it working with my WordPress setup (Apache).

First, install vsftpd

sudo apt-get install vsftpd

Configure your installation.

sudo nano /etc/vsftpd.conf
or
sudo vi /etc/vsftpd.conf

You need to have these to uncommented (Delete the initial “#”)
local_enable=YES
write_enable=YES

Setup password for your ubuntu user name
sudo passwd ubuntu

Give the permissions.
chown -R ubuntu /var/www/
Obviously, you can change the path with your requirement.

Restart the FTP service
sudo /etc/init.d/vsftpd restart

This enables the Uncomplicated Firewall built-in to Ubuntu on port 21. Don’t know about others.
sudo ufw allow 21

 

 

That’s it. Login to your FTP with “ubuntu” username and your password.


So lazy that he can't even fill this column out.

  • Vai

    Thanks for the tips! Finally got my server running quickly thanks to you. 🙂

  • Newbie

    Probably the dummiest question, but how to know server adress? I mean host
    and the other one, will it be available out of lan?

  • fam

    Maybe its just localhost (127.0.0.1)

  • Ricardo Fernandez

    says 530 invalid login 🙁

© 2011 Suhas Tech. All rights reserved.
Proudly powered by Wordpress.