Setup Samba Server Di Debian
Daftar Isi
Proses Instalasi SMB server di Debian
Konfigurasi Thunar File Explorer pada Debian
Konfigurasi Security Policy pada Windows 10
Proses Instalasi SMB server di Debian
Install package Samba dengan menjalankan perintah di CLI:
| |
Buat Folder untuk Sharing
Lakukan backup file smb.conf, kemudian bersihkan dan buat konfigurasi smb.conf dari awal seperti berikut:
| |
Pada shares.conf inilah kita akan membuat parameter folder sharing.
Isi konfigurasi shares.conf, contohnya untuk 1 folder music di bawah ini. Konfigurasi folder
lainnya dapat di duplikasi mengikuti contoh di bawah:
| |
Create mask dan force create mode dibuat menjadi 0664 untuk tujuan kompatibilitas Windows OS dalam pengaturan hak akses. Karena terkadang ketika pengguna membuat file .txt di windows, file .txt bisa menjadi executable jika tidak diset demikian.
Konfigurasi Samba
Buat Grup
create group
| |
check the group
| |
Buat User
create user
| |
check the user
| |
Konfigurasi Share Folder
change ownership of the shared folder
| |
add write permission to the group for the shared folder
| |
Konfigurasi Thunar File Explorer pada Debian
Jika Thunar File Explorer di Debian tidak bisa membuka SMB, tambahkan package sbb:
| |
Konfigurasi Security Policy pada Windows 10
| |
Edit atau tambahkan binary DWORD AllowInsecureGuestAuth dan ubah value data menjadi 1.
Referensi
- Learn Linux TV tentang Samba File Sharing Made Easy: Step-by-Step Linux Guide
- Novaspirit Tech YT tentang DIY NAS Server Setup with Debian / Plex / Raid 5 / Steam Library Caching / UrBackup / SMB Part 2
- Tech Review Tech YT tentang Windows 10 You Can’t Access This Shared Folder Because Your Organization’s Security Policies Block Unauthenticated Guest Access.