How to Install & Configure Vsftpd Linux FTP Server in RHEL/CentOS/Fedora





What is FTP?


ftp server is used to transfer files between server and clients. All major operating system supports ftp. ftp is the most used protocol over internet to transfer files. Like most Internet operations, FTP works on a client/ server model. FTP client programs can enable users to transfer files to and from a remote system running an FTP server program.

Any Linux system can operate as an FTP server. It has to run only the server software—an FTP daemon with the appropriate configuration. Transfers are made between user accounts on client and server systems. A user on the remote system has to log in to an account on a server and can then transfer files to and from that account's directories only.

A special kind of user account, named ftp, allows any user to log in to it with the username “anonymous.” This account has its own set of directories and files that are considered public, available to anyone on the network who wants to download them.

The numerous FTP sites on the Internet are FTP servers supporting FTP user accounts with anonymous login. Any Linux system can be configured to support anonymous FTP access, turning them into network FTP sites. Such sites can work on an intranet or on the Internet.

Step by step Vsftpd Configuration


Step: 1 Install Vsftpd


First check required packages for Vsftpd is installed or not.


rpm -qa | grep vsftpd*

Install vsftpd with .rpm package


rpm -ivh vsftpd*.rpm

Install vsftpd with yum


yum -y install vsftpd*

Setp:2 Configure Vsftpd


vsftpd.conf is the main configuration file of Vsftpd Server which is located in /etc directory.


Let’s edit the configuration file for vsftpd:


nano /etc/vsftpd.conf

Subscribe to get more videos :