In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Take centos6 as an example
1.yum install-y vsftpd or download the rpm package offline, rpm-I
two。 Create an account for ftp login
Useradd ftpuser # create an account
Passwd ftpuser # set the password for the account
3. Create the directory where the ftp file is placed
Mkdir-p / data/ftp
Chmod otakw / data/ftp
4.vi / etc/vsftpd/vsftpd.conf
Anonymous_enable=YES / / allow anonymous login local_enable=YES / / allow local users to log in to write_enable=YES / / allow local users to have write permissions local_umask=022 / / set the backmask of file or directory permissions added by local users. Local_root=/data/ftp / / set ftp root directory / / after local users log in to FTP, you can change to another directory by default By setting chroot, restrict local users to the ftp root directory chroot_local_user=NO / / first prohibit all local users from executing chrootchroot_list_enable=YES / / activate the user list file for executing chroot chroot_list_file=/etc/vsftpd/chroot_list / / set the name of the user list file for executing chroot
5. Add the user used for ftp login to / etc/vsftpd/chroot_list
Vim / etc/vsftpd/chroot_list
Ftpuser
6. Restart vsftpd
Service vsftpd restart
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.