1. Install Samba dengan cara
sudo apt install samba -y
2. Buat konfigurasi folder mana yg bisa di sharing dengan mengedit file berikut ini.
sudo vim /etc/samba/smb.conf
Tambahkan dibawah seperti ini.
[Nginx] path = /mnt/www valid users = @smbuser guest ok = no writable = yes browsable = yes
3. Buat user
sudo useradd smbuser
4 Set password user
sudo smbpasswd -a smbuser
5. Restart samba
sudo systemctl restart smbd
6. Setting permission directory
Cara shutdown server
sudo systemctl stop mariadb
shutdown now
sudo systemctl stop nginx
systemctl stop docker