在Ubuntu上共享GIMP作品,常用的是使用Samba服務,具體步驟如下:
sudo apt update
和sudo apt install samba
。sudo mkdir /path/to/shared_folder
,將/path/to/shared_folder
替換為你想要共享的文件夾路徑,然后設置權限,如sudo chmod -R 777 /path/to/shared_folder
。/etc/samba/smb.conf
,在文件末尾添加[shared_folder]
,并設置相關參數,如path
為共享文件夾路徑,browsable = yes
,writable = yes
等。sudo smbpasswd -a username
,將username
替換為實際用戶名,并按提示設置密碼。sudo systemctl restart smbd
和sudo systemctl restart nmbd
。\\Ubuntu的IP\shared_folder
訪問;Linux系統可使用sudo mount -t cifs //Ubuntu的IP/shared_folder /mnt/shared_folder -o username=用戶名,password=密碼
命令掛載共享文件夾來訪問。