CentOS installation FTP Server and configuration

Source: Internet
Author: User

installation
Yum Install vsftpd
Start/restart/shutdown
/sbin/service vsftpd start/sbin/service vsftpd restart/sbin/service vsftpd stop
configuration file
/etc/vsftpd/vsftpd.conf
anonymous upload Download

Modify the configuration file to vsftpd.conf

anonymous_enable=yesanon_upload_enable=yesanon_mkdir_write_enable=Yesanon_umask= 022
Configure vsftpd.conf
anonymous_enable=NO #禁止匿名local_enable=YES #允许本地登录write_enable=YES #允许写, if you want to upload, you must llocal_umask=027#将上传文件的权限设置为:777-local_umaskanon_upload_enable=YES #允许虚拟用户和匿名用户上传anon_other_write_enable=YES #允许虚拟用户和匿名用户修改文件名和删除文件dirmessage_enable=YES xferlog_enable=YES #打开日志记录connect_from_port_20=Yesxferlog_file=/var/log/Vsftpd.log #日志存放位置xferlog_std_format=YES #标准日志格式idle_session_timeout= -#空闲连接超时data_connection_timeout= -Ftpd_banner=Welcome to chinarise FTP service #欢迎信息chroot_local_user=NO chroot_list_enable=yes# more than two rows of virtual users in their directory, no access to other directories, or directly with Chroot_local_user=YES Listen=yes #监听/Passive Mode Listen_port= +#监听端口

Chroot_list_file=/etc/vsftpd/vsftpd.chroot_list #虚拟用户名单保存在文件/etc/vsftpd/vsftpd.chroot_list
user_config_dir=/etc/vsftpd/vsftpd_user_conf #每个虚拟用户名的更加详细的培植保存在/etc/vsftpd/vsftpd_user_conf

I'm the dividing line of the king of the land Tiger.

CentOS installation FTP Server and configuration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.