SAMBA SERVER -untuk buat server
Service : Samba
Install : # yum –y install samba (if there is NO smb in fedora packages)
# rpm –ivh <samba file> (if there is smb in fedora packages)
Check Status : # rpm –q samba
Up service : # smb status – check status
# service smb start – start service
# service smb restart – restart service
# service smb stop - stop service
Configuration File : vim /etc/samba/smb.conf (link utk edit)
Parameter : security = share I user I server
( Replace : security = share; no need smbpassword)
Create share folder dibawah sekali:
[demo]
Path = /demo
Writable = yes
Browseable = yes
Public = yes
Restart samba : service smb restart
Additional info :
· SELinux turn off # vim /etc/selinux/config
- set selinux = disabled (reboot pc after set)
· Iptables turn off # service iptables stop

· give user authority : # mkdir /demo
# chmod –R 777 /demo (full access)
· create user account & samba password : # adduser demo
passwd demo
# smbpasswd –a demo
(restart samba)
· Uninstall samba : yum uninstall samba
rpm –e samba
No comments:
Post a Comment