In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to install vsftp service under Centos7.3, which has a certain reference value. Interested friends can refer to it. I hope you will gain a lot after reading this article.
The details are as follows
We choose the mainstream vsftp.
Step 1: install vsftp
Yum install-y vsftpd
Step 2: set boot up
Systemctl enable vsftpd
Step 3: start the ftp service
Systemctl start vsftpd.service
Step 4: turn on the firewall
Firewall-cmd-zone=public-add-port=21/tcp-permanent firewall-cmd-permanent-zone=public-add-service=ftp firewall-cmd-reload
(permanently add tcp 21 port)
(add ftp service)
(restart the firewall)
Step 5: add users
Useradd-g root-d / home/data-s / sbin/nologin java1234
Add a new java1234 user to the root group
But users are not allowed to log in, only ftp login is allowed.
The default directory after ftp login is / home/data
Step 6: set the user password
Passwd java1234
Step 7: set permissions
Chown-R java1234:root / home/datasetsebool-P ftpd_full_access on
Step 8: modify the vsftp configuration file to prohibit anonymous login
Vi / etc/vsftpd/vsftpd.conf
Change: anonymous_enable=YES to: anonymous_enable=NO
Enter-- >: wq! Save exit
Finally, there is verification:
I usually use the software FTP Rush.
You can connect under configuration.
When we have OK and then have more detailed requirements, we can configure / etc/vsftpd/vsftpd.conf, and we can study it by ourselves.
Thank you for reading this article carefully. I hope the article "how to install vsftp Services under Centos7.3" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.