歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> samba簡單配置

samba簡單配置

日期:2017/3/1 13:40:33   编辑:關於Linux

SAMBA 這個軟件幾乎在所有的 Linux distributions 上面都有提供,因為即使你的 Linux 僅做為個人桌面計算機使用時,你依舊可能會需要聯機到遠程的 Windows 網芳,那個時候就得要 samba 提供的客戶端軟件功能啰

1 install
yum install samba samba-client

2 securlinux
 setenforce 0 
iptables
service iptables stop

3 vi /etc/samba/smb.conf
    security = share
    ; passdb backend = tdbsam

     load printers = no
    ; cups options = raw
     [public]
     comment = Public Stuff
     path = /home/samba
     public = no
     writable = yes
     browseable = yes

4 add user to samba

pdbedit -a -u root

5 start service

service smb start
service nmb start
chkconfig smb on
chkconfig nmb on




Copyright © Linux教程網 All Rights Reserved