麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 系統 > Fedora > 正文

Fedora Linux 8系統下配置SAMBA

2020-10-23 21:44:44
字體:
來源:轉載
供稿:網友

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。
 

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 一区二区免费看 | 欧美成人免费电影 | 欧美性精品videofree | 久久亚洲春色中文字幕久久 | 91成人在线免费 | 国产精品美女久久久久久不卡 | 羞羞的 | 国产成人精品午夜视频' | 一级毛片播放 | 久久久噜噜噜久久熟有声小说 | 国产精品观看在线亚洲人成网 | 丰满年轻岳中文字幕一区二区 | 久久一级 | 精品国产乱码久久久久久丨区2区 | ⅴideo裸体秀hd | 国产精品二区高清在线 | 国产精品99久久久久久久女警 | 久久久久久久一区 | 成年免费大片黄在线观看岛国 | 欧美一级特黄aaaaaa在线看首页 | 欧美亚洲国产一区二区三区 | 一区二区三区欧洲 | av老司机久久 | 久久国产精品网 | 日本爽快片100色毛片视频 | 国产88久久久国产精品免费二区 | 毛片在线播放视频 | 久久国产精品久久久久 | 美女又黄又www | chengrenzaixian| 精品国产一区二区三区在线 | 国产成人精品二区 | 一级黄色在线观看 | 色女人在线 | 国产精品av久久久久久久久久 | 亚洲国产高清自拍 | 得得啪在线 | 精品一区二区三区中文字幕老牛 | 黄在线免费看 | 成年人黄视频 | 国产亚洲精彩视频 |