Home » Other

Debian 下配置vsftpd服务器

25 09月 2008 326 views No Comment Print This Post Print This Post Email This Post Email This Post

Vsftpd是现在主流Linux下的优秀FTP服务器软件之一,下面我们来看看怎么安装这个号称很安全的FTP服务器软件。

安装

apt-get install vsftpd

配置

安装好之后,配置文件应该在/etc/vsftpd.conf,编辑这个文件,修改如下几个地方:

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022

以上每行解释如下:

禁止匿名用户访问ftp
允许本地用户访问ftp
允许本地用户上载文件
上载文件的时候,使用的掩码是022
然后重启vsftpd就可以了

/etc/init.d/vsftpd restart

最后创建ftp用户并修改密码就全部搞定了:

adduser myftpuser
passwd myftpuser

下的安装方法大致相同

Related Posts

Tags: ,

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.