天天看點

Ubuntu安裝vsftpd伺服器

1.首先檢視你是否安裝了vsftpd伺服器

需要在etc目錄下尋找是否存在vsftpd.conf的配置檔案

2.若不存在需要按照以下步驟進行操作

(1)需要先建立一個共享檔案夾,我的是建在/home/flash/ftpserver

(2)其次對vsftpd進行下載下傳 sudo apt-get install vsftpd

(3)然後對vsftpd.conf配置檔案進行修改(需要使用root使用者權限才能修改)

在末尾添加

anonymous_enable=YES

anon_ root=/home/flash/ftpserver

mo_anon_password=YES

write_enable=YES

anon_upload_enable=YES

anon_mkdir_write_enable=YES

anon_umask=0022

3.啟動vsftpd

service vsftpd start 啟動

service vsftpd stop 停止

service vsftpd status 檢查

繼續閱讀