搭建简单FTP

搭建简单FTP

环境

  • CentOS 7

安装

  • yum install vsftpd
  • 修改配置文件, 在/etc/vsftpd/vsftpd.conf中添加allow_writeable_chroot=YES, local_root=/home/ftpuser/share, chroot_local_user=YES
  • 创建ftpuser, useradd ftpuser, echo yourpass | passwd --stdin ftpuser

启动

  • systemctl start vsftpd
posted @ 2019-03-16 23:27  gogogo11  阅读(252)  评论(0编辑  收藏  举报