校园春色亚洲色图_亚洲视频分类_中文字幕精品一区二区精品_麻豆一区区三区四区产品精品蜜桃

主頁 > 知識庫 > Fedora Linux 8系統下配置SAMBA

Fedora Linux 8系統下配置SAMBA

熱門標簽:怎樣使用奧維地圖標注位置 臨沂ai電銷機器人價格 鳳城市地圖標注app 黃石外呼saas系統 地圖標注怎么上交呢 濟南呼叫中心外呼系統如何 菏澤監獄親情電話機器人 模型地圖標注 揭陽外呼系統收費

1、使用yum命令來安裝或更新你的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服務

/etc/init.d/smb restart

4、Enjoy

PS:Fedora Core從V2起都有預裝SELinux,這個不會配置的可以先把她關掉,關閉的方法如下:

修改/etc/selinux/config文件中的SELINUX="" 為 disabled ,然后重啟FC。
 

標簽:阿壩 齊齊哈爾 哈密 黔西 韶關 廣州 六安 大興安嶺

巨人網絡通訊聲明:本文標題《Fedora Linux 8系統下配置SAMBA》,本文關鍵詞  Fedora,Linux,系統,下,配置,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《Fedora Linux 8系統下配置SAMBA》相關的同類信息!
  • 本頁收集關于Fedora Linux 8系統下配置SAMBA的相關信息資訊供網民參考!
  • 推薦文章
    主站蜘蛛池模板: 荔浦县| 临高县| 家居| 双城市| 阜阳市| 祁阳县| 和田县| 阜新市| 德阳市| 布尔津县| 张掖市| 梁河县| 江华| 湖口县| 柏乡县| 阳江市| 蛟河市| 长治县| 威信县| 那坡县| 满洲里市| 祁连县| 西畴县| 宁强县| 安阳县| 洪洞县| 大连市| 双鸭山市| 兴化市| 晋宁县| 盈江县| 保康县| 舞钢市| 依兰县| 九龙城区| 海兴县| 龙游县| 扶风县| 小金县| 郁南县| 延长县|