Install and Configure Very Secure FTP Daemon, or vsftpd - dummies

Install and Configure Very Secure FTP Daemon, or vsftpd

FTP is one of the oldest and still most common methods for sending files over the Internet. This article shows you how to install and configure Very Secure FTP Daemon (vsftpd), which is the basic FTP server that comes with most Linux distributions. For complete information about this server, visit the official website at Vsftpd.

Installing vsftpd

You can quickly find out whether vsftpd is installed on your system by entering the following command from a shell prompt:

rpm -q vsftpd

If vsftpd has been installed, the package version is displayed. If not, the message package vsftpd is not installed is displayed.

If vsftpd isn’t installed, you can install it by following these steps:

  1. Choose System→Administration→Add/Remove Software.

    This summons the Add/Remove Software program.

    1. Type vsftpd in the search box and click Find.

    This locates the vsftp package.

  2. Select the package named Very Secure Ftp Daemon and click Apply.

    The Add/Remove Software program installs the vsftp package.

  3. Close the Add/Remove Software program.

    The vsftp package is now installed.

Starting the vsftpd Service

After you’ve installed the vsftpd package, you can start the FTP service by following these steps:

  1. Choose System→Administration→ Services.

    This brings up the Service Configuration tool.

  2. Select the vsftpd service.

    You have to scroll through the list of services to find it.

  3. Click the Start button.

  4. Wait for the service to start.

    It should take only a few seconds to start up. A dialog box confirming that the service has started will appear.

Whenever you make a change to any of the vsftpd configuration files, you should use the Service Configuration tool to restart the vsftpd service.

You can also start the vsftpd service from a terminal window by typing this command:

/etc/init.d/vsftpd start

To restart the service, use this command:

/etc/init.d/vsftpd restart