Difference between revisions of "Instalasi Samba"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 1: | Line 1: | ||
− | Instalasi SAMBA | + | Instalasi [[SAMBA]] |
# apt-get install samba smbfs | # apt-get install samba smbfs | ||
Line 49: | Line 49: | ||
# umount /mnt/tempatnempelfolder | # umount /mnt/tempatnempelfolder | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==Pranala Menarik== | ||
+ | |||
+ | * [[Linux Howto]] |
Revision as of 08:17, 23 August 2009
Instalasi SAMBA
# apt-get install samba smbfs
Edit file /etc/samba/smb.conf
Pastikan ada parameter
netbios name = namakomputeranda workgroup = namajaringan security = share
Pastikan ada folder yang di share, misalnya seperti
[public] comment = Directory Public Samba server writable = yes locking = yes path = /home/public public = yes
Ubah owner folder yang di share /home/public agar bisa di write
# chown -Rf nobody.nogroup /home/public
Restart server samba
# /etc/init.d/samba restart
Di sisi client, jika kita ingin me-nempel-kan sebuah folder yang di share, kita perlu melakukan langkah berikut,
Buat folder untuk menempelkan folder yang akan di share
# mkdir /mnt/tempatmenempelfolder
Selanjutnya lakukan mount folder komputer lain ke komputer kita
# mount -t cifs //ip-address-server-samba/public /mnt/tempatmenempelfolder -o password=
Untuk melepaskan folder yang tadinya di mount / di tempel
# umount /mnt/tempatnempelfolder