在Linux系統下使用FileZilla設置共享文件夾,通常有兩種主要方法:通過FTP或SFTP協議。以下是詳細的步驟指南:
sudo apt update
sudo apt install filezilla
sudo apt update
sudo apt install samba
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.backup
sudo nano /etc/samba/smb.conf
[global]
workgroup = WORKGROUP
security = user
map to guest = bad user
sudo mkdir /home/ray/share
sudo chmod 777 /home/ray/share
[Share]
comment = Shared Folder with username and password
path = /home/ray/share
public = yes
writable = yes
valid users = newsfan
create mask = 0700
directory mask = 0700
force user = nobody
force group = nogroup
available = yes
browseable = yes
sudo useradd newsfan
sudo smbpasswd -a newsfan
sudo systemctl restart smbd
smb://服務器IP地址/Share
,然后輸入之前設置的用戶名和密碼即可訪問共享文件夾。請注意,以上步驟可能會隨著FileZilla版本的更新而有所變化,建議參考FileZilla官方網站的最新文檔進行配置。