麟の随笔

  • 游戏
  • 影视
  • Tech
  1. 首页
  2. 科技
  3. 技巧
  4. 正文

CentOS 7 安装vsftpd

2021年10月29日 956点热度 0人点赞 0条评论

1、查看是否已经安装了vsftpd

vsftpd -version

file

2、安装vsftpd(CentOS7)

yum install -y vsftpd

file

3、新建FTP目录及用户

useradd -d /var/ftp/public_root -g ftp -s /sbin/nologin ftpuser

file
4、修改密码

passwd ftpuser

file

5、修改vsftpd的配置文件
1.不允许匿名访问

vi /etc/vsftpd/vsftpd.conf

file
2.允许使用本地帐户进行FTP用户登录验证

local_enable=YES

file

file
在最后添加

allow_writeable_chroot=YES

file

标签: 暂无
最后更新:2021年10月29日

晓虎

必须有人浴血奋战,世上才有自由可言!

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

COPYRIGHT © 2024 kirinz.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

闽ICP备19013981号