In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces how to replace PureFTPd by enabling vsftpd in CentOS. The content is very detailed. Interested friends can refer to it for reference. I hope it can help you.
Unloading PureFTPd Method
Log in to the host using SSH,
1. Stop the pureftpd process and run the command:
The code is as follows:
/root/pureftpd stop
2. Delete the file and run the command (if it is not installed in the default path, please modify the correct path):\
The code is as follows:
rm -r /usr/local/pureftpd
rm -r /home/wwwroot/ftp
(Please set the location of the management program according to the actual situation)
The code is as follows:
rm /root/pureftpd
PureFTPd State Management
The code is as follows:
/root/pureftpd {start|stop|restart|kill|status}
Start vsftpd service
The code is as follows:
#chkconfig vsftpd on //boot-up vsftpd service
#/etc/init.d/vsftpd start //start vsftpd service
#vi /etc/vsftpd/vsftpd.conf //Edit vsftp configuration file
Find the following and disable it:
The code is as follows:
anonymous_enable=NO //Disable anonymous user login
Add another line:
The code is as follows:
local_enable=YES //Enable local user login
Create User:
The code is as follows:
#adduser -d /var/ftp/test -g ftp -s /sbin/nologin test
#passwd test
iptables Firewall Settings:
The code is as follows:
#system-config-securitylevel
About CentOS how to use vsftpd instead of PureFTPd to share here, I hope the above content can be of some help to everyone, you can learn more knowledge. If you think the article is good, you can share it so that more people can see it.
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.