Chinaunix首页 | 论坛 | 博客
  • 博客访问: 523468
  • 博文数量: 95
  • 博客积分: 1415
  • 博客等级: 上尉
  • 技术积分: 1202
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-20 01:23
文章分类

全部博文(95)

文章存档

2010年(28)

2009年(67)

我的朋友

分类: LINUX

2009-07-26 15:49:37

从头开始打造Ubuntu服务器(杂) - FTP Server(vsftp)

Server Side

 

1. Install the vsftpd with the package manager.

 

     apt-get install vsftpd

 

2. Configure the conf file.

 

    Open /etc/vsftpd.conf. And add the following lines,

 

    ###Enable anonymous read

    anonymous_enable=YES

    anon_root=/
    anon_world_readable_only=YES

 

    #anon_mkdir_write_enable=YES
    #anon_upload_enable=YES

    ###Enable local user read and write
    local_enable=YES
    write_enable=YES

 

3. Restart the server.

 

    /etc/init.d/vsftpd restart

 

Client Side

 

    ftp localhost

    user: ftp

    password:

 

    ftp localhost

    user:robert

    password: robet's password

阅读(1664) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~