Need FTP access on a CentOS machine? Easy.
sudo yum install vsftpd
sudo service vsftpd start
sudo chkconfig vsftpd on
chkconfig --list
sudo vi /etc/vsftpd/vsftpd.conf # edit default conf file to have these lines:
anonymous_enable=NO
chroot_local_user=YES
chroot_list_enable=NO
chroot_list_file=/etc/vsftpd/chroot_list
pasv_min_port=3000
pasv_max_port=3050
sudo touch /etc/vsftpd/chroot_list
sudo /sbin/service vsftpd restart
Done.
Note that these steps have been grabbed from this Rackspace article that includes much more detail:
http://www.rackspace.com/knowledge_center/article/rackspace-cloud-essentials-centos-installing-vsftpd
No comments:
Post a Comment