Samba Share windoeslim&linux
Berikut cara untuk instaal dana setingan samba kamu agar bisa shared file denan pengunan windows.
1. sudo apt-get install samba
2. sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_default
3. vim /etc/samba/smb.conf
#####Global Settings#####
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORK_ADPIT
netbios name = yourservername.
######Share Definitions#######
;[homes]
;comment = Home Directories
;browseable = no
[myshare]
comment=myshare
path = /myshare
read only = no
quest ok = yes
available = yes
valid users = admin
browsable = yes
public = yes
writabel= yes
####### Authentication #######
#security = user (ubah jadi) security = share
4. sudo mkdir /myshare
5. sudo chmod 0777 /myshare
6. sudo /etc/init.d/samba restart
7. sudo chown ade:ade /myshare
8. sudo smbpasswd -a ade
9. ifconfig > catat IP kita.
*untuk akses fodlernya contoh
ade@linux:~$cd /myshare
Windows :
start > computer > properti > cek pada bagain komputer name, namanya apa harus sama dengan workgroup samba yang tadi kita buat.
start > run > \\192.168.0.xx\ atau bisa dicek di network.
selesai.
carauntuk.com