Fedora Linux 8系統(tǒng)下配置SAMBA
1、使用yum命令來(lái)安裝或更新你的SAMBA包。
yum install samba
2、samba的配置文件在如下
/etc/samba/smb.conf
修改其配置如下:
#======================= Global Settings =====================================
[global]
# ----------------------- Netwrok Related Options -------------------------
#
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
#
# server string is the equivalent of the NT Description field
#
# netbios name can be used to specify a server name not tied to the hostname
#
# Interfaces lets you configure Samba to use multiple interfaces
# If you have multiple network interfaces then you can list the ones
# you want to listen on (never omit localhost)
#
# Hosts Allow/Hosts Deny lets you-restrict who can connect, and you can
# specifiy it as a per share option as well
#
workgroup = robin
server string = MYSERVER
netbios name = MYSERVER
; hosts allow = 127. 192.168.
# --------------------------- Logging Options -----------------------------
#
# Log File let you specify where to put logs and how to split them up.
#
# Max Log Size let you specify the max size log files should reach
# logs split per machine
log file = /var/log/samba/log.%m
# max 50KB per log file, then rotate
max log size = 50
# ----------------------- Standalone Server Options ------------------------
#
# Scurity can be set to user, share(deprecated) or server(deprecated)
#
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
security = share
; encrypt passwords = yes
guest ok = yes
guest account = root
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
; valid users = %S
; valid users = MYDOMAIN\%S
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
; guest ok = no
; writable = No
printable = yes
# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /var/lib/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
; [Profiles]
; path = /var/lib/samba/profiles
; browseable = no
; guest ok = yes
# A publicly accessible directory, but read only, except for people in
# the "staff" group
; [public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = +staff
[temp]
path = /root/temp
writeable = yes
; browseable = yes
guest ok = yes
3、重啟SAMBA服務(wù)
/etc/init.d/smb restart
4、Enjoy
PS:Fedora Core從V2起都有預(yù)裝SELinux,這個(gè)不會(huì)配置的可以先把她關(guān)掉,關(guān)閉的方法如下:
修改/etc/selinux/config文件中的SELINUX="" 為 disabled ,然后重啟FC。
相關(guān)文章

fedora終端怎么自定義透明效果? linux透明效果的設(shè)置方法
fedora終端怎么自定義透明效果?fedora系統(tǒng)想要設(shè)置透明效果,該怎么設(shè)置呢?透明效果看上去很好看,下面我們就來(lái)看看linux透明效果的設(shè)置方法2021-10-09
Fedora音量很小怎么辦? Fedora音量調(diào)到最大聲音還是小的解決辦法
Fedora音量很小怎么辦?Fedora系統(tǒng)把聲音開(kāi)到最大還是很小,想要調(diào)大一些音量,該怎么辦你額?下面我們就來(lái)看看Fedora音量調(diào)到最大聲音還是小的解決辦法2021-07-12
Fedora怎么設(shè)置主菜單快捷鍵? Fedora快捷鍵的設(shè)置方法
Fedora怎么設(shè)置主菜單快捷鍵?Fedora系統(tǒng)中疆場(chǎng)使用主菜單,想要給主菜單添加快捷鍵,方便操作,該怎么添加呢?下面我們就來(lái)看看Fedora快捷鍵的設(shè)置方法,詳細(xì)請(qǐng)看下文介紹2021-07-12
Fedora怎么設(shè)置圖標(biāo)主題? Linux系統(tǒng)圖標(biāo)主題的設(shè)置方法
Fedora怎么設(shè)置圖標(biāo)主題?Fedora系統(tǒng)想要設(shè)置自己細(xì)化的圖標(biāo)主題,該怎么設(shè)置呢?下面我們就來(lái)看看Linux系統(tǒng)圖標(biāo)主題的設(shè)置方法,詳細(xì)請(qǐng)看下文介紹2021-06-11
Fedora文件歷史記錄怎么開(kāi)啟? Fedora歷史記錄的顯示方法
Fedora文件歷史記錄怎么開(kāi)啟?Fedora中想要顯示歷史記錄,該怎么顯示呢?下面我們就來(lái)看看Fedora歷史記錄的顯示方法,需要的朋友可以參考下2021-02-26
Linux怎么清屏? Fedora終端復(fù)位清屏的兩種方法
Linux怎么清屏?Linux中想要進(jìn)行復(fù)位清屏,該怎么操作呢?下面我們就來(lái)看看Fedora終端復(fù)位清屏的兩種方法,需要的朋友可以參考下2021-02-26
Fedora系統(tǒng)外觀(guān)怎么設(shè)置? Fedora Linux外觀(guān)主題設(shè)置技巧
Fedora系統(tǒng)外觀(guān)怎么設(shè)置?Fedora系統(tǒng)想要設(shè)置外觀(guān)主題,該怎么設(shè)置呢?下面我們就來(lái)看看Fedora Linux外觀(guān)主題設(shè)置技巧,需要的朋友可以參考下2021-02-07
Fedora輸入法切換快捷鍵怎么更改?想要設(shè)置設(shè)置輸入法切換快捷鍵,該怎么自己設(shè)置成常用的鍵呢?下面我們就來(lái)看看詳細(xì)的教程,需要的朋友可以參考下2021-02-07
Fedora系統(tǒng)怎么設(shè)置打開(kāi)新終端時(shí)默認(rèn)打開(kāi)新標(biāo)簽頁(yè)?
Fedora系統(tǒng)怎么設(shè)置打開(kāi)新終端時(shí)默認(rèn)打開(kāi)新標(biāo)簽頁(yè)?Fedora系統(tǒng)想要設(shè)置默認(rèn)打開(kāi)新的標(biāo)簽頁(yè),該怎么設(shè)置呢?下面我們就來(lái)看看詳細(xì)的教程,需要的朋友可以參考下2021-02-04
Fedora怎樣設(shè)置鎖屏?xí)r顯示通知內(nèi)容? Fedora打開(kāi)鎖屏通知的技巧
Fedora怎樣設(shè)置鎖屏?xí)r顯示通知內(nèi)容?Fedora自動(dòng)鎖屏后如果有消息通知,想要直接顯示,該怎么設(shè)置呢?下面我們就來(lái)看看Fedora鎖屏后顯示通知的技巧,需要的朋友可以參考下2021-01-22





