In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)05/31 Report--
Today Xiaobian to share with you how to install the Centos7.3 vsftp service related knowledge points, detailed content, clear logic, I believe most people still know too much about this knowledge, so share this article for everyone to refer to, I hope you read this article after some harvest, let's learn about it together.
We choose mainstream vsftp
Step 1: Install vsftp
yum install -y vsftpd
Step 2: Set startup
systemctl enable vsftpd
Step 3: Start FTP service
systemctl start vsftpd.service
Step 4: Open 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 firewall)
Step 5: Add Users
useradd -g root -d /home/data -s /sbin/nologin java1234
Add java1234 user to root group
However, users are not allowed to log in, only ftp logins are allowed
The default directory for ftp logins is/home/data
Step 6: Set user password
passwd java1234
Step 7: Set permissions
chown -r java1234:root /home/datasetsebool -p ftpd_full_access on
Step 8: Modify vsftp configuration file to prohibit anonymous login
vi /etc/vsftpd/vsftpd.conf
For anonymous_enable=yes read anonymous_enable=no
Enter---> :wq! save and exit
Finally, verification:
I usually use ftp rush software
Configuration can be connected;
The above is "how to install vsftp service under Centos 7.3" all the contents of this article, thank you for reading! I believe everyone has a great harvest after reading this article. Xiaobian will update different knowledge for everyone every day. If you want to learn more knowledge, please pay attention to 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.
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.