vsftpd 安装以及简单配置
os: ubuntu 10.10
ftp:vsftpd 2.30

安装:
apt-get install vsftpd
安装完成之后,ftp 目录为 /srv/ftp 755

简单配置:
开启匿名上传下载
1. 备份配置文件
cp /etc/vsftpd.conf /etc/vsftpd.conf.bak

2. 打开配置文件
/etc/vsftpd.conf
确保如下几项存在:
1)anonymous_enable=YES
2)local_enable=YES
3)write_enable=YES
4)local_umask=022
5)anon_upload_enable=YES
6)anon_mkdir_write_enable=YES

3. 建立一个子目录,权限打开
mkdir /srv/ftp/pub
chmod 777 /srv/ftp/pub

4. 然后就可以在/ftp/pub 中匿名上传下载文件了

相关文章:

  • 2021-12-13
  • 2021-09-27
  • 2021-07-24
  • 2021-11-17
  • 2021-06-25
  • 2021-11-21
  • 2022-12-23
  • 2021-12-17
猜你喜欢
  • 2021-09-09
  • 2022-12-23
  • 2022-02-03
  • 2021-05-09
  • 2021-12-23
  • 2021-10-17
  • 2022-12-23
相关资源
相似解决方案