Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build VSFTP on CentOS7 Server

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the CentOS7 server how to build VSFTP, the article is very detailed, has a certain reference value, interested friends must read it!

As a server, it is a common requirement to activate FTP service. VSFTP is the most common FTP software, which is very secure, stable and easy to use.

Yum install vsftpd/ / install vsftpcd / etc/vsftpd/ enter the vsfptd configuration file directory cp vsftpd.conf vsftpd.conf.bak / / backup vsftpd.confvim / etc/vsftpd/vsftpd.conf / / modify the configuration file

Configuration file content (if you do not modify the port, it is easy to have some strange problems, such as the unavailability of the list command or the failure to create the file)

# prohibit anonymous users from logging in to anonymous_enable=NO#. Prevent users from changing their root directory. Can only access the user's own root directory, but not the system's root directory chroot_local_user=YES# uses chroot_list file settings to allow access to the system root user chroot_list_enable=YES# allows user access to the system root user list chroot_list_file=/etc/vsftpd/chroot_list

After you turn on chroot_local_user, you need to remove chmod UMurw / home/myname from the user root directory, or allow access to the system root directory in the chroot_list file. Otherwise, you will not be able to log in to ftp.

Vim / etc/vsftpd/chroot_list / / create the `chroot_ list` file

Ftp self-starting service

Systemctl start vsftpdsystemctl enable vsftpdsystemctl restart vsftpd

Client Settin

Character encoding: UTF-8

Data connection mode: active mode (port)

Site does not support FEAT command: check

The above is all the contents of the article "how to build VSFTP on CentOS7 Server". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report