cp /etc/samba/smb.conf /etc/samba/herva (enter)
mv /etc/samba/herva smb.conf (enter)
nano /etc/samba/smb.conf (enter)
hapus semua isi, lalu isikan semua isi yang ada di bawah :
[Myshare]
path = /home/herva/Myshare
available = yes
valid users = herva
read only = no
browseable = yes
public = yes
writeable = yes
(ctrl+O enter ctrl+X)
adduser herva (enter)
smbpasswd -a herva (enter)
mkdir /home/herva/Myshare (enter)
nano /etc/samba/smbusers (enter)
system nameuser = alif
(ctrl+o enter ctrl+x)
smbd restart (enter)
testparm(enter)2x
mv /etc/samba/herva smb.conf (enter)
nano /etc/samba/smb.conf (enter)
hapus semua isi, lalu isikan semua isi yang ada di bawah :
[Myshare]
path = /home/herva/Myshare
available = yes
valid users = herva
read only = no
browseable = yes
public = yes
writeable = yes
(ctrl+O enter ctrl+X)
adduser herva (enter)
smbpasswd -a herva (enter)
mkdir /home/herva/Myshare (enter)
nano /etc/samba/smbusers (enter)
system nameuser = alif
(ctrl+o enter ctrl+x)
smbd restart (enter)
testparm(enter)2x
No comments:
Post a Comment