Linux FTP installation and simple configuration

Source: Internet
Author: User

1. Check whether the original boot
Ps-ef|grep vsftpd
2. Detect if there is an installation package
Rpm-qa|grep vsftpd
3. If there is output, check the status and start
Service VSFTP Status--View status
Service Vsftp Start--Open service
4. If no output is required, install
Yum Install vsftpd
5. Start Vsftp
Service Vsftp Start--Open service
6. Start vsftp service by default
Chkconfig vsftpd on--Open firewall
7. Confirm Startup
Chkconfig vsftpd--list--Determine 2,3,4,5 open,
8. Add User name
Useradd Ftper --Increase user
passwd Ftper --This is the password
9. Verify that the FTP client is installed
RPM-QA FTP
10. If no output is installed, install the Linux client
Yum Install vsftpd
11. Testing
FTP localhost --Follow the prompts to enter the user name, password login
Pwd --Display the current user path after successful login
Bye --Exit the FTP command line
12. Partial configuration (open the following configuration, remove the previous #), modify the VSFTPD configuration file, file path:/etc/vsftpd/vsftpd.conf
Anonymous_enable=no--Close Anonymous user
Chroot_list_enable=yes--ftp users are allowed to read and write only under the default path
Chroot_local_user=yes--Allow Local Users
Choot_list_file=/etc/vsftpd/chroot_list--which users are allowed to read and write only under the default path
13. Create a file under the/etc/vsftpd/path chroot-list
VI chroot-list--Create File
Ftper --Add a row of the user you just created and save the exit
14. Restart FTP
Service VSFTPD Restart
15. You can install Windows FTP client for testing

FlashFXP



My personal website: http://www.caicongyang.com

My csdn blog address: Http://blog.csdn.net/caicongyang



Linux FTP installation and simple configuration

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.