• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • bios
  • 系统安装
  • 系统进程
  • Windows
  • LINUX
  • RedHat/Centos
  • Ubuntu/Debian
  • Fedora
  • Solaris
  • 麒麟系统
  • 红旗Linux
  • 苹果MAC
  • 注册表
  • 其它系统
您的位置:首页 > 操作系统 >Fedora > Fedora Linux 8系统下配置SAMBA

Fedora Linux 8系统下配置SAMBA

作者:佚名 字体:[增加 减小] 来源:互联网 时间:2017-05-12

佚名 通过本文向大家介绍了linux系统fedora,linux fedora,linux fedora下载,fedora linux官网,linux fedora 25等相关知识,希望对您有所帮助,也希望大家多多支持linkedu.com

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。
 

</div>
分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

  • Fedora Linux下安装套件的方法
  • (linux新手指南)手把手教你安装Ubuntu和Fedora
  • 在Fedora系统上配置Proftpd服务器的教程
  • 在Fedora系统上设置和取消IPv6地址使用的方法详解
  • 装完Fedora 9后系统的简单设置
  • Fedora linux启动时网卡eth0激活慢
  • 重装Windows系统,修复Fedora Linux启动
  • Fedora Linux系统中挂载NTFS分区的方法
  • fedora 7下配置postfix邮件系统
  • Fedora 8 Linux系统下运行QQ2008Beta1

相关文章

  • 2017-05-12Fedora 4.0 播放机支持mp3、wma的解决办法
  • 2017-05-12解决Putty输入中文的方法
  • 2017-05-12Fedora22如何安装Adobe Flash Player?
  • 2017-05-12设置Linux系统文件权限
  • 2017-05-12 Fedora23如何安装fcitx拼音输入法?
  • 2017-05-12安装Fedora作为工作环境后的一些配置建议
  • 2017-05-12Fedora 9.0下触摸板不能点击的解决方案
  • 2017-05-12Fedora 9官方最终稳定版下载地址集合
  • 2017-05-12Fedora系统的管理员root密码怎么重置?
  • 2017-05-12Fedora 9.0 Apache+PHP+MYSQL 环境安装

文章分类

  • bios
  • 系统安装
  • 系统进程
  • Windows
  • LINUX
  • RedHat/Centos
  • Ubuntu/Debian
  • Fedora
  • Solaris
  • 麒麟系统
  • 红旗Linux
  • 苹果MAC
  • 注册表
  • 其它系统

最近更新的内容

    • Fedora 9.0 详细安装图解
    • 在Fedora系统上配置Proftpd服务器的教程
    • Fedora 7 (FC-7)下载地址,比较快
    • Fedora20 32位系统中安装搜狗拼音输入法图文教程
    • Fedora Core 5(FC-5)正式版下载
    • FC7中用yum自动搜索安装软件
    • Fedora25踏上Wayland的路上讲解
    • fedora phpMyAdmin 安装方法及介绍
    • fedora8下安装aircard750的gprs无线网卡驱动
    • 将Fedora24升级至最新的Fedora25版的教程

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有