In This Chapter
Installing and starting the
FTP is one of the oldest and still most common methods for sending files over the Internet. This chapter shows you how to install and configure the basic FTP server that comes with most Linux distributions, Very Secure FTP Daemon (
vsftpd). For complete information about this server, visit the official website at
If you need to access files from someone’s FTP site or need instructions on setting up an FTP server on a Windows machine, please see Book III, Chapter 6.
vsftpd, open a console or terminal window and enter the following commands:
sudo dnf install vsftpd
vsftpd is not already installed,
dnf will ask for your permission to install it. Enter y to proceed. Be patient while the package downloads and installs.
After you install the
vsftpd package, you can start the FTP service by entering the following command at a console prompt:
To restart the service, use this command:
vsftpd via a configuration file named
vsftpd.conf, located in
/etc. The default
vsftpd.conf file is shown in Listing 8-1 ...