FTP

From vpsget wiki
Revision as of 10:37, 2 September 2013 by Vq (talk | contribs)
Jump to: navigation, search

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