Cara install samba di centos 6

Posted on

cara mudah install samba di centos 6,sambah adalah sebuah aplikasi yang di gunakan untuk share folder di linux.. berikut ini cara instalasinya .

1. yum update (update centos)

2. yum -y install samba (untuk menginstall samba)

3. mkdir /home/share (membuat folder yang akan di share)

4. chmod -R 777 /home/share (memberi hak akseess penuh untuk folder share)

5. cp /etc/samba/smb.conf /ect/samba/smb.conf.asli (backup configurasi sambah asli)

6. gedit /etc/samba/smb.conf (mengedit file configurasi samba)

7. hapus semua isi file configirasi dan ganti dengan ini .


[Global]
workgroup = workgroup

domain logons = No

domain master = No

security =

netbios name = ICTSERVER

map to guest = bad user

backend = tdb

 

[Share]

comment = Share

path = /home/share

read only = no

browseable = yes

public = yes

writeable = yes

8. /etc/rc.d/init.d/smb restart (ini untuk merestart samba )

 

memberi password pada share samba

sudo groupadd kantor (kantor nama group)

cd /home

mkdir private

chown -R ict:kantor private/

ls -l

chmod -R 777 private/

ls -l

usermod -a -G kantor ict

smbpasswd -a ict

settingan di /etc/samba/smb.conf

 

[private]

path = /home/private

valid users = @kantor

guest ok = no

writable = yes

browsable = yes

 

kemudian save dan restart samba nya

 

sekian dari saya semoga membantu .

One thought on “Cara install samba di centos 6

  1. Pingback: DFB trikot WM 2014

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.