---
title: "从头开始打造Ubuntu服务器(杂) － FTP Server(vsftp)"
author: "RobertLeeJesus"
date: "2008-12-02T13:49:06Z"
tags: []
slug: "ubuntu-ftp-server-vsftp"
draft: false
lastmod: "2008-12-02T13:57:42Z"
id: 284855
url: "https://hidefromall.iteye.com/blog/284855"
---

***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