Alibaba Cloud centos6.9 fails to start using yum to install vsftpd
伊谢尔伦
伊谢尔伦 2017-05-24 11:32:44
0
2
575

Where should I go to find the problem?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(2)
世界只因有你

To configure.

1. yum -y install vsftpd.i*
2. Add user group groupadd wwwroot
Add user useradd -g wwwroot -M -d /var/www -s /sbin/nologin ftpflashgou
Set password passwd ftpflashgou

3. Create folder:
mkdir /var/www
mkdir /var/www/logs

4. Edit the vi /etc/vsftpd/vsftpd.conf file, press i to edit, change anonymous_enable=yes to no, and add after it:
user_config_dir=/etc/vsftpd
chroot_list_enable=YES
chroot_list_file=/etc /vsftpd/chroot_list
xferlog_file=/var/www/logs/vsftpd.log
ftpd_banner=welcome to flashgou vsftpd.
max_clients=4
max_per_ip=2
use_localtime=YES
Press esc, then :wq to exit.
5. Create the file vi /etc/vsftpd/chroot_list and add ftpflashgou user

6. Permissions, enter directly: chown -R ftpflashgou.wwwroot /var/www
chmod -R 755 /var/www

phpcn_u1582

Finally just restart linux, why. . . I always thought that Linux doesn’t need to be restarted

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!