最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

Fedora Linux 8系統(tǒng)下配置SAMBA

  發(fā)布時(shí)間:2008-09-08 17:17:11   作者:佚名   我要評(píng)論
1、使用yum命令來安裝或更新你的SAMBA包。 yum install samba 2、samba的配置文件在如下 /etc/samba/smb.conf 修改其配置如下: #======================= Global Settings ===================================== [global] #

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服務(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)文章

最新評(píng)論

民勤县| 南昌县| 祁门县| 汉川市| 桓仁| 玉田县| 汉阴县| 宣汉县| 横峰县| 通化县| 桐梓县| 黎平县| 寻乌县| 潞城市| 浏阳市| 彰化市| 洞头县| 乌什县| 瓦房店市| 红河县| 五大连池市| 南部县| 商都县| 海伦市| 衢州市| 平陆县| 乡宁县| 怀宁县| 海安县| 巴彦淖尔市| 德昌县| 罗江县| 简阳市| 永清县| 开原市| 驻马店市| 澄迈县| 中江县| 济宁市| 桐乡市| 巫溪县|