This document provides instructions for configuring file sharing on a Debian system using Samba. It describes installing Samba, editing the smb.conf configuration file to set up anonymous sharing without a password or sharing with a specific user account and password, creating the necessary share folders, and adding a Samba user. The steps are to check the network and repositories, update the repositories, install Samba, edit smb.conf to configure the shares, create the share folders, add a Samba user if using one, and restart the Samba service.
This document provides instructions for configuring file sharing on a Debian system using Samba. It describes installing Samba, editing the smb.conf configuration file to set up anonymous sharing without a password or sharing with a specific user account and password, creating the necessary share folders, and adding a Samba user. The steps are to check the network and repositories, update the repositories, install Samba, edit smb.conf to configure the shares, create the share folders, add a Samba user if using one, and restart the Samba service.
This document provides instructions for configuring file sharing on a Debian system using Samba. It describes installing Samba, editing the smb.conf configuration file to set up anonymous sharing without a password or sharing with a specific user account and password, creating the necessary share folders, and adding a Samba user. The steps are to check the network and repositories, update the repositories, install Samba, edit smb.conf to configure the shares, create the share folders, add a Samba user if using one, and restart the Samba service.
2. Update Repository 3. Install Samba root@user# apt-get install samba 4. edit file smb.conf root@user# nano /etc/samba/smb.conf File /ect/samba/smb.conf Cari pada baris 102 # sercurity = user User diganti share dan hilangkan tanda pagar
Cari pada baris 275
valid user = %s berikan tanda pagar menjadi # valid users = %s File /ect/samba/smb.conf Konfigurasi sharing tanpa password / anonymous Tambahkan script berwarna kuning pada baris paling bawah
[Anonymous] Tampilan sharing di client
path = /home/anonymous/ lokasi folder yang di sharing browsable = yes bisa di akses writable = yes bisa di isi / tulis guest ok = yes akses user tamu > YA read only = no hanya bisa memlihat > TIDAK File /ect/samba/smb.conf Konfigurasi sharing menggunakan user dan password Tambahkan script berwarna kuning pada baris paling bawah
[Sharing] Tampilan sharing di client
path = /home/sharing/ lokasi folder yang di sharing browsable = yes bisa di akses valid users = alhuda akses user > alhuda security = user mode keamanan writable = yes bisa di isi / tulis read only = no hanya bisa memlihat > TIDAK Folder Share
Membuat folder di home
root@user# cd /home root@user:home# mkdir anonymous root@user:home# mkdir sharing root@user:home# chmod 777 sharing/ User samba
Membuat user sharing samba
root@home# adduser alhuda
root@home# smbpasswd -a alhuda Masukan password untuk user alhuda Restart Service