Google
 

Linux Distro Counter

Welcome to Open Source Software and Linux Blog.

Hi, everyone!. I just created this blog to share knowledge about open source software and Linux. If you all have knowledge and info related to open source / Linux, please share or send me an email. Thanks ^_^

Friday, August 10, 2007

How to: Install Network Storage Server on CentOS 5 (Samba)

This is the step to install Samba Server on CentOS 5.

1) Open your terminal and login as root

2) type yum install samba and wait until it complete install.

3) Edit /etc/samba/smb.conf with your favorite editor like vi

4) Find workgroup = (yourgroup), server string = (your description), security = share.

5) Go to the bottom of smb.conf and remove ; to enable the purpose.
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765

example:

[marketing_sharing_file]
comment = Saled Item
path = /home/marketing_department
; valid users = nobody
guest ok = yes
writeable = yes
; printable = no
create mask = 0777

After you edit, save and exit.

Thats all. Easy!


No comments: