vsftpd server installation in debian
#apt-get install vsftpd
that's it this will complete the installation.
vsftpd configuration file
vsftpd configuration file is located at /etc/vsftpd.conf.This is the main configuration file where you need to configure all the required options.
I am going to give the some of the configuration options as follows.This is only example configuration options only.
This option is the name of a file containing text to display when someone connects to the server
ftpd_banner=example.com FTP server
If enabled, vsftpd will run in standalone mode. This means that vsftpd must not be run from an inetd of some kind. Instead, the vsftpd executable is run once directly. vsftpd itself will then take care of listening for and handling incoming connections.
If enabled, a log file will be maintained detailling uploads and downloads. By default, this file will be placed at /var/log/vsftpd.log, but this location may be overridden using the configuration setting vsftpd_log_file.
This controls whether PORT style data connections use port 20 (ftp-data) on the server machine. For security reasons, some clients may insist that this is the case. Conversely, disabling this option enables vsftpd to run with slightly less privilege.
If enabled, all user and group information in directory listings will be displayed as "ftp".
If vsftpd is in standalone mode, this is the maximum number of clients which may be connected. Any additional clients connecting will get an error message.
If vsftpd is in standalone mode, this is the maximum number of clients which may be connected from the same source internet address. A client will get an error message if they go over this limit.
This option represents a directory which vsftpd will try to change into after an anonymous login. Failure is silently ignored.
Controls whether anonymous logins are permitted or not. If enabled, both the usernames ftp and anonymous are recognised as anonymous logins.
anonymous_enable=YES (be careful when you enable this option)
This controls whether any FTP commands which change the filesystem are allowed or not. These commands are: STOR, DELE, RNFR, RNTO, MKD, RMD, APPE and SITE.
If set to YES, anonymous users will be permitted to upload files under certain conditions. For this to work, the option write_enable must be activated, and the anonymous ftp user must have write permission on desired upload locations.
anon_upload_enable=YES (be careful when you enable this option)
If set to YES, anonymous users will be permitted to create new directories under certain conditions. For this to work, the option write_enable must be activated, and the anonymous ftp user must have write permission on the parent directory.
anon_mkdir_write_enable=YES (be careful when you enable this option)
If you want to know about more configuration options check the man page of vsftpd.conf file. man page of vsftpd.conf file click here
Note:-If are dealing with anonymous options be careful about those options.
After changing these settings you need to restart vsftpd server to take the effect of our new changes
vsftpd server Web interface or GUI tool
vsftpd Webmin module
Vsftpd Webmin module is a Webmin module that configures the vsftpd.conf file from your vsftpd FTP server.You can download from here