Instalare Samba share pe Centos

Configurare noua (How To)

Situatie

Pe distributia CentOs vrem sa instalam Samba file share.

Solutie

Se deschide terminalul cu drept de root si se tasteaza linia de comanda:

#yum install samba samba-client samba-common

Configuram serviciul sa porneasca la boot:

# chkconfig smb on
# chkconfig nmb on

Se modifica fisierul smb.conf in functie de permisiuni:

#======================= Global Settings =====================================

[global]

workgroup = WORKGROUPsecurity = sharemap to guest = bad user#============================ Share Definitions ==============================
[MyShare]
path = /home/samba/share
browsable =yes
writable = yes
guest ok = yes
read only = no

Se restarteaza Samba:

# service smb restart
# service nmb restart

Tip solutie

Permanent

Voteaza

(13 din 27 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?