In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to configure ftp service in CentOS7 system". The content of this article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to configure ftp service in CentOS7 system".
1. Download vsftpdyum install-y vsftpd2. Set the boot self-boot systemctl enable vsftpd.service3. Start systemctl start vsftpd.service4. Check the listening port netstat-antup | grep ftp5. Configure vsftpd local user mode (that is, configure username, password, modify permissions) useradd ftptestpasswd ftptestmkdir / var/ftp/test # create a file directory for ftp services chown-R ftptest:ftptest / var/ftp/test # modify the owner of this directory to ftptest6. Modify the configuration file: except for the parameters mentioned below, vim / etc/vsftpd/vsftpd.conf# can keep the default values. # modify the value of the following parameters anonymous_enable=NO # disable anonymous login to the FTP server local_enable=YES # allow local users to log in to the FTP server listen=YES # listen IPv4 sockets# add # comment out the following parameter # listen_ipv6=YES # turn off the listening IPv6 socketslocal_root=/var/ftp/testchroot_local_user=YESchroot_list_enable=YESchroot_list_file=/etc/vsftpd/chroot_listallow_writeable_chroot=YESpasv_enable=YESpasv_min_port=50000pasv_max_port=51000pasv_address=49.235.71.507. Create an exception user file vim / etc/vsftpd/chroot_list # even if there is no exception user must create
8. Restart
Systemctl restart vsftpd.service
Note: if you are using a cloud server, be sure to remember to open the response port.
Thank you for reading, the above is the content of "how to configure ftp service in CentOS7 system". After the study of this article, I believe you have a deeper understanding of how to configure ftp service in CentOS7 system. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.