Install the FTP server and configuration in Centos, and use the centosftp Server

Source: Internet
Author: User

Install the FTP server and configuration in Centos, and use the centosftp Server
Install

yum install vsftpd
Start/restart/close
/sbin/service vsftpd start/sbin/service vsftpd restart/sbin/service vsftpd stop
Configuration File
/etc/vsftpd/vsftpd.conf
Upload and download anonymously

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 # disable anonymous local_enable = YES # Allow Local logon write_enable = YES # Allow write. to upload a file, you must use llocal_umask = 027 # Set the upload permission: authorization = YES # Allow virtual users and anonymous users to upload images = YES # Allow virtual users and anonymous users to modify file names and delete files dirmessage_enable = YES xferlog_enable = YES # Open the log record connect_from_port_20 = YESxferlog_file = /var/log/vsftpd. log # log storage location xferlog_std_format = YES # standard log format timeout = 600 # idle connection timeout data_connection_timeout = 120ftpd_banner = Welcome to ChinaRise FTP service # Welcome information chroot_local_user = NO timeout = YES # the above two limit the number of virtual users in their directories, cannot access other directories, or use chroot_local_user = YES listen = yes # listener/Passive mode listen_port = 21 # listener Port

Chroot_list_file =/etc/vsftpd. chroot_list # Save the virtual user name list in the file/etc/vsftpd. chroot_list
User_config_dir =/etc/vsftpd/vsftpd_user_conf # more detailed cultivation of each virtual user name is stored in/etc/vsftpd/vsftpd_user_conf

 

I am the dividing line of tiantiao

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.