Difference between revisions of "FTP"

From vpsget wiki
Jump to: navigation, search
m (Protected "FTP" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
(No difference)

Revision as of 10:37, 2 September 2013

How to install ftp server on Centos 6.

Install ftp:

yum install vsftpd

Edit the config file /etc/vsftpd/vsftpd.conf. It is recommended to set the following strings like shown below:

anonymous_enable=NO
ascii_upload_enable=YES
ascii_download_enable=YES

User root is not allowed to connect to ftp server by default for security reason. So create a new user, for example "user".

useradd user
passwd user

Enable vsftpd to start at boot

chkconfig vsftpd on

Start vsftpd service

service vsftpd start