Install And Configure VSFTPD On Ubuntu

VSFTPD

As the name suggest vsftpds stands for Very Secure File Transfer protocol Daemon Server. This is the default FTP server in Ubuntu and many other linux systems.

Installation

Mostly vsftpd is installed on you system by default and if not you can do the same by entering following commands in terminal 

First of all update your linux 

sudo apt-get updateNow to install vsftpd input

sudo apt-get install vsftpd 

Configuration 

Now after you have successfully installed vsftpd

Start configuring its conf file located in etc folder

Note : Be extra cautious while editing vsftpd.conf file in nano editor, because if you make any mistake altering server configuration it will be a tedious process to troubleshoot. For safety you can backup original configuration file

Backup original vsftpd configuration file

Sudo cp /etc/vsftpd.conf /etc/vsftpd.conf.bak

Now open original conf file

sudo nano /etc/vsftpd.conf

Main configuration parameters 

After editing configuration file do not forget to restart vsftpd by typing

sudo /etc/init.d/vsftpd restart

Check vsftpd status

sudo systemctl status vsftpd

Check Firewall Status

sudo ufw status

Now to access your newly created ftp server enter following 

ftp://localhost

Here localhost is the IP address of your server machine

To know IP address enter following command

hostname -I | awk ‘{print $1}’

This will output your IP address which you can use in place of localhost

With the above configuration you can access your ftp server on your local network from different devices.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *