LINUX Server Setup (SAMBA SERVER)
Samba Server
service :samba
Find File
#cd /Media/(if using fedora CD)
# ls| grep (using for grabbing file only)
Install
#yum install samba (if there is No smb in fedora packages)
#rpm -ivh (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 stop -stop service
#service smb restart -restart service
Configuration File :#etc/samba/smb.conf
Parameter
Security = share | user | server
(Replace : security = share;no need smbpasssword)
create share folder
demo
path =/demo
writable = yes
browseable = yes
public = yes
Additional
Selinux turn off
#vim etc/selinux/config (set selinux = disabled)
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)
create user account & password
#adduser demo
#passwd demo
#smbpasswd -a demo
(restart samba)
uninstall samba
#yum uninstall samba
#rpm -e samba
No comments:
Post a Comment