ITeye博客

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

RobertLeeJesus · 2008-12-02 13:49 · Linux - Adiministration · Markdown

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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。