Selasa, 15 April 2014

Cara menginstal Samba server di Debian 7


Install Samba dan Buat direktori bersama bahwa siapapun dapat membaca dan menulis, dan otentikasi tidak diperlukan.
[1] Install Samba
root @ lan: ~ #
  apt-get install samba
[2] Konfigurasi Samba
root@lan:~#
mkdir /home/share

root@lan:~#
chmod 777 /home/share

root@lan:~#
vi /etc/samba/smb.conf
# line 34: add

unix charset = UTF-8
# line 39: change if needed (same one to Windows)

workgroup =
WORKGROUP
# line 64: uncomment and change IP address you allow

interfaces = 127.0.0.0/8
10.0.0.0/24
# line 71: uncomment

bind interfaces only = yes
# line 103: change (no auth)

security =
share
# add at the last line

[Share]
# any name you like

   path = /home/share
# shared directory

   writable = yes
# writable

   guest ok = yes
# guest OK

   guest only = yes
# guest only

   create mode = 0777
# fully accessed

   directory mode = 0777
# fully accessed

   share modes = yes
# warn if some people access to a file
root@lan:~#
/etc/init.d/samba restart

Stopping Samba daemons: nmbd smbd.
Starting Samba daemons: nmbd smbd.
[3] Konfigurasi pada Windows client
Tentukan tempat berbagi folder di bagian Folder seperti contoh dan klik tombol 'Finish' untuk masuk.
 [4] Selesai untuk akses ke folder bersama.
sumber

0 komentar:

Posting Komentar