84669 Lernen von Personen
152542 Lernen von Personen
20005 Lernen von Personen
5487 Lernen von Personen
7821 Lernen von Personen
359900 Lernen von Personen
3350 Lernen von Personen
180660 Lernen von Personen
48569 Lernen von Personen
18603 Lernen von Personen
40936 Lernen von Personen
1549 Lernen von Personen
1183 Lernen von Personen
32909 Lernen von Personen
Entschuldigung, wo sollte ich sonst nach Problemen suchen?
小伙看你根骨奇佳,潜力无限,来学PHP伐。
要配置。
1、yum -y install vsftpd.i* 2、增加用户组groupadd wwwroot增加用户useradd -g wwwroot -M -d /var/www -s /sbin/nologin ftpflashgou设置密码passwd ftpflashgou
3、创建文件夹:mkdir /var/www mkdir /var/www/logs
4、编辑vi /etc/vsftpd/vsftpd.conf文件,按i进行编辑,将anonymous_enable=yes改为no,并在其后增加: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按esc,再按:wq退出。5、创建文件vi /etc/vsftpd/chroot_list,新增ftpflashgou用户
6、权限,直接输入:chown -R ftpflashgou.wwwroot /var/www chmod -R 755 /var/www
最后重启linux就可以了,why。。。我一直以为linux不用重启的
要配置。
1、yum -y install vsftpd.i*
2、增加用户组groupadd wwwroot
增加用户useradd -g wwwroot -M -d /var/www -s /sbin/nologin ftpflashgou
设置密码passwd ftpflashgou
3、创建文件夹:
mkdir /var/www
mkdir /var/www/logs
4、编辑vi /etc/vsftpd/vsftpd.conf文件,按i进行编辑,将anonymous_enable=yes改为no,并在其后增加:
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
按esc,再按:wq退出。
5、创建文件vi /etc/vsftpd/chroot_list,新增ftpflashgou用户
6、权限,直接输入:chown -R ftpflashgou.wwwroot /var/www
chmod -R 755 /var/www
最后重启linux就可以了,why。。。我一直以为linux不用重启的