Fedora Linux 8系统下配置SAMBA
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透明效果的设置方法
fedora终端怎么自定义透明效果?fedora系统想要设置透明效果,该怎么设置呢?透明效果看上去很好看,下面我们就来看看linux透明效果的设置方法2021-10-09
Fedora音量很小怎么办? Fedora音量调到最大声音还是小的解决办法
Fedora音量很小怎么办?Fedora系统把声音开到最大还是很小,想要调大一些音量,该怎么办你额?下面我们就来看看Fedora音量调到最大声音还是小的解决办法2021-07-12
Fedora怎么设置主菜单快捷键? Fedora快捷键的设置方法
Fedora怎么设置主菜单快捷键?Fedora系统中疆场使用主菜单,想要给主菜单添加快捷键,方便操作,该怎么添加呢?下面我们就来看看Fedora快捷键的设置方法,详细请看下文介绍2021-07-12
Fedora怎么设置图标主题? Linux系统图标主题的设置方法
Fedora怎么设置图标主题?Fedora系统想要设置自己细化的图标主题,该怎么设置呢?下面我们就来看看Linux系统图标主题的设置方法,详细请看下文介绍2021-06-11
Fedora文件历史记录怎么开启? Fedora历史记录的显示方法
Fedora文件历史记录怎么开启?Fedora中想要显示历史记录,该怎么显示呢?下面我们就来看看Fedora历史记录的显示方法,需要的朋友可以参考下2021-02-26
Linux怎么清屏?Linux中想要进行复位清屏,该怎么操作呢?下面我们就来看看Fedora终端复位清屏的两种方法,需要的朋友可以参考下2021-02-26
Fedora系统外观怎么设置? Fedora Linux外观主题设置技巧
Fedora系统外观怎么设置?Fedora系统想要设置外观主题,该怎么设置呢?下面我们就来看看Fedora Linux外观主题设置技巧,需要的朋友可以参考下2021-02-07
Fedora输入法切换快捷键怎么更改?想要设置设置输入法切换快捷键,该怎么自己设置成常用的键呢?下面我们就来看看详细的教程,需要的朋友可以参考下2021-02-07
Fedora系统怎么设置打开新终端时默认打开新标签页?Fedora系统想要设置默认打开新的标签页,该怎么设置呢?下面我们就来看看详细的教程,需要的朋友可以参考下2021-02-04
Fedora怎样设置锁屏时显示通知内容? Fedora打开锁屏通知的技巧
Fedora怎样设置锁屏时显示通知内容?Fedora自动锁屏后如果有消息通知,想要直接显示,该怎么设置呢?下面我们就来看看Fedora锁屏后显示通知的技巧,需要的朋友可以参考下2021-01-22






最新评论