nano /etc/samba/smb.conf
lakukan pengeditan script:
1. terletak di global setting
workgroup = isi workgroup
server string =
NB: pastikan tidak ada tanda #
2. terletak di global setting
ketikkan script dibawah ini:
guest only = yes
guest ok = yes
guest account = andrian-tkj
3. terletak di authentication
pastikan script:
security = share
4. sharing cd-rom
hilangkan tanda ;
sehingga tampilan:
[cd-rom]
comment = samba server's CD-ROM
read only = yes
locking = no
path = /cdrom
guest ok = yes
5. sharing folder tekaje
tambahkan script :
[tekaje]
path = /home/andrian-tkj/Dekstop/tekaje
comment = Share Directories
browseable = yes
writable = yes
public = yes
available = yes
6. restart samba
/etc/init.d/samba restart
copykan folder web yang akan dicopy dari laptop
7. kembali ke linux, masuk terminal
pengkopian file dari folder tekaje:
cp -r /home/andrian-tkj/Dekstop/tekaje/var/www
8.uji coba





0 komentar:
Posting Komentar