February 21, 2009

How to: Configure FTP Server on CentOS 5

To check if you have installed the very secure FTP server or not run this command:

# rpm -q vsftpd

If it is not installed,then use the following command to install it

# yum install vsftpd

The vsFTP server is configured by default.

The configuration file is /etc/vsftpd/vsftpd.conf.

To start the FTP server run the command:

# service vsftpd start

To Start FTP Server when the system is booted:

# chkconfig vsftpd on

Make sure the firewall does not block access to the FTP port by running:

# system-config-securitylevel
 Allow (FTP) as "Trusted Services"

If the configuration file is modified after the server started use this command:

# service vsftpd restart

The FTP server is configured by default to allow users to access files without having username and password, the user enters the username anonymous.

RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)

Spread the word

del.icio.us Digg Furl Reddit Help

Permalink • Print

Related Entries

Made with WordPress and Semiologic • Sky Gold skin by Denis de Bernardy