In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Environment introduction
CentOS 6.6
Install vsftpd
Yum-y install vsftpd
View the installation package
Rpm-Q vsftpd
Modify configuration file / etc/vsftpd/vsftpd.conf
Anonymous_enable=NO # turn off anonymous users
Ascii_upload_enable=YES
Ascii_download_enable=YES
Userlist_deny=NO # this line needs to be added manually
Add ftp user
Adduser-g ftp-d / var/ftp ftpuser # username ftpuser,ftp directory is specified as / var/ftp, if not specified, the default directory is the user's home directory / home/ftpuser
Passwd ftpuser # set user password
Modify the file / etc/vsftpd/user_list, clear the file, and add the newly created ftp user
Ftpuser
Configure the firewall to allow FTP services
The configuration of vsftpd is complete, but when the client accesses the ftp server, a 500 OOPS:cannot change directory error occurs.
This is because SELinux is installed on the CentOS system, and FTP is not enabled by default, so access is blocked.
View the settings for SELinux
Getsebool-a | grep ftp
Ftp_home_dir-- > off
Turn on ftp_home_dir status
Setsebool ftp_home_dir 1
Open the vsftpd service
Service vsftpd restart
Boot self-start
Chkconfig vsftpd on
Client access
Ftp://ftpserverip
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.