0

In this tutorial, we are going to see how to install an FTP server on Ubuntu.

Get Started

To install an FTP server on Ubuntu 11.04/10.10/10.04, launch the Terminal and issue this command:

 sudo apt-get install vsftpd

To configure your FTP server, you need to edit this conf file: /etc/vsftpd.conf. This can be done via the Terminal with this command:

gksu gedit /etc/vsftpd.conf

To enable/disable anonymous FTP, search for the following line in the /etc/vsftpd.conf file:

anonymous_enable=


YES -->  Enabled
NO --> Disabled

To allow users to upload files to your FTP server, edit this line:

write_enable=YES


To allow/disallow local users to connect to your server, search for this line:

local_enable=

YES -->  Allow
NO --> Disallow

For your modifications to be taken into account, you need to restart the FTP server with this command:

sudo /etc/init.d/vsftpd restart

Post a Comment

 
Top