User Tools

Site Tools


setupftp

How-to setup a FTP server

vsftpd is a secure and fast FTP using little system resources.

Installation

To install the FTP server vsftpd run this command:

sudo apt-get install vsftpd

Configuration

Here is a HTML version of the manual page which lists all vsftpd config options.

Recommendable

The following changes to the original config file (/etc/vsftpd.conf) are recommendable (only the differences to the original config file are mentioned here):

# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=NO
 
# Uncomment this to allow local users to log in.
local_enable=YES
 
# Uncomment this to enable any form of FTP write command.
write_enable=YES
 
# You may fully customise the login banner string:
ftpd_banner=Write here your personal welcome message

Default Path

The default path is the home directory of each user. This can be changed with the following config command.

local_root=/var/www
setupftp.txt · Last modified: 09.10.2013 19:21 by derk