SETUP SAMBA SERVER

(LINUX OS: Fedora 14)


Service
:
Samba
Find File
:
# cd /Media/<Folder located name>(if using Fedora CD)
# ls | grep <file name> ( using for grabbing file only)
Install
:
# yum –y install samba (if there is NO smb in fedora packages)
   ( kena ada connection internet )
 # rpm –ivh <samba file> (if there is smb in fedora packages)
Check Status
:
# rpm –q samba
Up service 
:
# 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
Parameter
:
security = share I user I server
(Replace : security = share; no need smbpassword)
Create share folder:
:
[demo]
Path = /demo
Writable = yes
Browseable = yes
Public = yes
Additional info
:
Failed dependencies       
  -       Find the file that it depends
  -       Install the file
SELinux turn off
:
# vim  /etc/selinux/config
- set selinux = disabled (reboot pc after set)
IPtables (firewall) turn off
:
# service iptables stop
   (Also can set by using command #setup ---> service tool)
Give user authority
:
# mkdir /demo
# chmod –R 777 /demo (full access)-read,write and execute.
Create user account & samba password
:
#  adduser demo
#  passwd demo
#  smbpasswd –a demo
    (restart samba)
Uninstall samba
:
# yum uninstall samba
# rpm –e samba

0 comments: