CentOS / RHEL 5 : How to install and configure vsftpd server

In RHEL 5, you can simply install the ftp server package using the following steps without modifying anything in the configuration file, and then you can logon to the ftp server with any user account in your system. If you want to add more control to your vsftp server, modify the configuration files under the directory /etc/vsftpd. The main configuration file is vsftpd.conf.

Install and configure vsftpd

1. Make sure the vsftpd package is installed by issuing the following command as root:

# rpm -q vsftpd

2. If it is not installed, install the FTP server rpm from the Red Hat Network by running the following command:

# yum install vsftpd

If your system cannot connect to Red Hat Network, please find the vsftpd package in the installation media and use the following command:

# rpm -ivh vsftpd-xxxx.rpm

Here xxxx is the version number of vsftpd package.

3. Once installed, start the vsftpd service by issuing the following command:

# service vsftpd start

4. To make the service available for the next boot sequence, use the chkconfig command.

# chkconfig vsftpd on
Related Post