≡ Menu

How to Instal FTP Server Using VsFTPd on Ubuntu Server

Here i want to discuss about How to Install an secure and Stabil FTP Server on Ubuntu Server.

Vsftpd which is short for “Very Secure FTP Daemon” is one of the options application to run an FTP server. Why use Vsftpd for Ubuntu Server? because Vsftpd is described as an ftp server that is secure and fast. According to the author, Chris Evans, a network security expert, vsftpd is an FTP server is stable. In addition, vsftpd developed under the GNU licenses so Vsftpd provide a harmonious combination between performance and security.

Here are some features vsftpd

  • Virtual IP configurations
  • Virtual users
  • Standalone or inetd operation
  • Powerful per-user configurability
  • Bandwidth throttling
  • Per-source-IP configurability
  • Per-source-IP limits
  • IPv6
  • Encryption support through SSL integration
  • etc.

There are several reasons why you should try vsftpd

  • Security
  • Performance
  • Stability

This tutorial will explain how to install vsftpd on Ubuntu Server.

Installation

Vsftpd Installation is as easy as installing other applications from the Ubuntu repositories.

To run the service vsftpd

To turn off the service vsftpd

Anonymous FTP Configuration

Anonymous FTP means that a user can enter the ftp server without having to enter login and password. Usually used by the ftp server that provides the file to the public, such as mirrors or application server provider linux distro repository.

By default vsftpd configuration in Ubuntu already allow anonymous ftp access. And the location of the ftp user’s home directory in /home/ftp, and this is the place to store files that will be provided via ftp.

If you intend to move the location of a place to store files for anonymous ftp before, you just change the location of the ftp user’s home directory.

For example, we will move to /data/ftp

After that, restart the vsftpd service

FTP to User Configuration

If you want to let a user who is on linux servers to login via ftp and users were able toupload a file to the server, create a configuration as follows.

Files that you need to edit is /etc/vsftpd.conf

After that restart the vsftpd service

Restricting Users at Home Directory

By default user can enter via ftp, can access all the files on a server (of course withthe appropriate permissions to the user). If you want to restrict users who log inthrough ftp can only access files in the home directory only, use the followingconfiguration.

Edit the file /etc/vsftpd.conf

Or if you just want to restrict certain users only, use the configuration as below

Then you enter a user who wants to be limited to the file /etc/vsftpd.chroot_list.

And do not forget, to apply the earlier configuration, you must restart the vsftpdservice.

To add new users to access the directory specified by us, can by using the following command:

Thus the discussion of how to install a ftp server that is secure and stable within a ubuntu server

{ 1 comment… add one }

Leave a Comment