天天看點

Raspberry 3B+:安裝pure-ftpd

安裝pure-ftpd

sudo apt-get install pure-ftpd
           

先備份一下pure-ftpd.conf 設定檔案

sudo cp -r /etc/pure-ftpd/pure-ftpd.conf /etc/pure-ftpd/pure-ftpd.conf.oribak
           

修改操作:

修改項 修改内容
#UnixAuthentication yes 去除 “#”注釋
MinUID 100 加“#”注釋

說明:

  • UnixAuthentication yes表示系統使用者可以登入FTP。
  • MinUID 100表示使用者的ID大于100才能登入,我們注釋掉它,任何的使用者ID都能登入了。
    Raspberry 3B+:安裝pure-ftpd
    Raspberry 3B+:安裝pure-ftpd
    檢視pure-ftpd狀态
service pure-ftpd status
           
Raspberry 3B+:安裝pure-ftpd

利用FTP 用戶端登陸測試

Raspberry 3B+:安裝pure-ftpd
Raspberry 3B+:安裝pure-ftpd

啟動停止pure-ftpd服務

service pure-ftpd start
service pure-ftpd stop
           

此處不做任何安全考慮,隻是平時調試程式友善。