Quantcast
Channel: 服务器运维与网站架构|Linux运维|X研究 »安装配置
Viewing all articles
Browse latest Browse all 2

(总结)Linux的vsFTPD快速安装配置

$
0
0
一、安装: RedHat系: yum install vsftpd -y Debian系: apt-get install vsftpd 二、配置: 编辑vsFTPD配置文件: vim /etc/vsftpd/vsftpd.conf 1、禁止匿名用户登录: anonymous_enable=NO 2、允许系统用户登录: local_enable=YES 3、开启写权限: write_enable=YES 4、设置掩码: local_umask=022 5、建议把默认的空闲时间设置的长一些,单位为秒: idle_session_timeout=1800 data_connection_timeout=1800 6、把FTP用户限制在自己的主目录: chroot_local_user=YES 7、指定用户shell: vim /etc/passwd www:x:33:33:www:/home:/bin/false 把shell改为 /bin/sh 未指定用户shell会导致 “530 Login incorrect” 错误。 关于vsFTPD服务器的更详细配置请参考:Linux的vsFTPd服务器详解

Viewing all articles
Browse latest Browse all 2

Latest Images

HANGAD

HANGAD

MAKAKAALAM

MAKAKAALAM

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Vimeo 10.6.2 by Vimeo.com, Inc.

Vimeo 10.6.2 by Vimeo.com, Inc.

Vimeo 10.6.1 by Vimeo.com, Inc.

Vimeo 10.6.1 by Vimeo.com, Inc.





Latest Images

Vimeo 10.7.0 by Vimeo.com, Inc.

Vimeo 10.7.0 by Vimeo.com, Inc.

HANGAD

HANGAD

MAKAKAALAM

MAKAKAALAM

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Vimeo 10.6.1 by Vimeo.com, Inc.

Vimeo 10.6.1 by Vimeo.com, Inc.