新网创想网站建设,新征程启航

为企业提供网站建设、域名注册、服务器等服务

Linux服务器的ftp配置方法-创新互联

这篇文章主要介绍“Linux服务器的ftp配置方法”,在日常操作中,相信很多人在Linux服务器的ftp配置方法问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”Linux服务器的ftp配置方法”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

成都创新互联公司坚持“要么做到,要么别承诺”的工作理念,服务领域包括:成都做网站、成都网站建设、企业官网、英文网站、手机端网站、网站推广等服务,满足客户于互联网时代的长汀网站设计、移动媒体设计的需求,帮助企业找到有效的互联网解决方案。努力成为您成熟可靠的网络建设合作伙伴!

其他配置

在配置文件中,还有一些关于vsftpd的其他设置,这里列出来

# Example config   file /etc/vsftpd/vsftpd.conf

# Allow anonymous   FTP? (Beware - allowed by default if you comment this out).

anonymous_enable=YES       //是否允许匿名登录

#

# Uncomment this   to allow local users to log in.

local_enable=YES         //是否允许本地用户登录

#

# Uncomment this   to enable any form of FTP write command.

write_enable=YES        //是否允许写操作

#

# Default umask   for local users is 077. You may wish to change this to 022,

# if your users   expect that (022 is used by most other ftpd's)

local_umask=022      //本地用农户权限掩码

#

# Uncomment this   to allow the anonymous FTP user to upload files. This only

# has an effect   if the above global write enable is activated. Also, you will

# obviously need   to create a directory writable by the FTP user.

#anon_upload_enable=YES     //是否允许匿名用户上传

#

# Uncomment this   if you want the anonymous FTP user to be able to create

# new   directories.

#anon_mkdir_write_enable=YES      //是否允匿名用户创建目录

#

# Activate   directory messages - messages given to remote users when they

# go into a   certain directory.

dirmessage_enable=YES    //是否允许获取目录信息

# If you want,   you can arrange for uploaded anonymous files to be owned by

# a different   user. Note! Using "root" for uploaded files is not

# recommended!

#chown_uploads=YES        //是否允许其他用户拥有匿名用户上传的文件

#chown_username=whoever

# You may change   the default value for timing out an idle session.

#idle_session_timeout=600    //连接空闲超时

#

# You may change   the default value for timing out a data connection.

#data_connection_timeout=120      //数据请求超时

# You may   activate the "-R" option to the builtin ls. This is disabled by

# default to   avoid remote users being able to cause excessive I/O on large

# sites. However,   some broken FTP clients such as "ncftp" and "mirror" assume

# the presence of   the "-R" option, so there is a strong case for enabling it.

#ls_recurse_enable=YES    //是否允许ls命令使用-R参数,递归

# You may specify   an explicit list of local users to chroot() to their home

# directory. If   chroot_local_user is YES, then this list becomes a list of

# users to NOT   chroot().

#chroot_local_user=YES    //是否允许用户切换目录

#chroot_list_enable=YES    //是否允许指定的用户切换目录,用户名单在/etc/vsftpd/chroot_list文件中

# (default   follows)

#chroot_list_file=/etc/vsftpd/chroot_list  //这个文件中的用户不能切换目录

到此,关于“Linux服务器的ftp配置方法”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注创新互联-成都网站建设公司网站,小编会继续努力为大家带来更多实用的文章!


新闻名称:Linux服务器的ftp配置方法-创新互联
本文链接:http://wjwzjz.com/article/ddpdgh.html
在线咨询
服务热线
服务热线:028-86922220
TOP