没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Easy Samba installation on RHEL/CentOS 7
by rasho · 23/09/2014
Samba is a client/server system that implements network resource sharing for Linux and other
UNIX computers. With Samba, UNIX files and printers can be shared with Windows clients and
vice versa. Samba supports the Session Message Block (SMB) protocol. Nearly all Windows
computers include SMB support with their internal network subsystems (NetBIOS in particular).
With an appropriately-configured Samba server on Linux, Windows clients can map drives to the
Linux filesystems. Likewise, theSamba client on UNIX can connect to Windows shares by their UNC
name. Although differences among various operating systems (such as filesystem naming conventions,
end-of-line conventions, and authentication) can limit interoperability, Samba offers a generally
serviceable mechanism for resource sharing on a heterogenous network.
In this tutorial we will show you how to install and configure Samba server on RHEL and CentOS
7 linux.
Install and configure Samba on Rhel/CentOS 7
To install samba packages enter following command:
yum install samba samba-client samba-common -y
Now configure samba edit the file /etc/samba/smb.conf
mv /etc/samba/smb.conf /etc/samba/smb.conf.bkp
vi /etc/samba/smb.conf
and paste following line:
[global]
workgroup = WORKGROUP
server string = Samba Server %v
netbios name = centos
security = user
map to guest = bad user
dns proxy = no
#============================ Share Definitions ======================
[Anonymous]
path = /samba/anonymous
browsable =yes
writable = yes
guest ok = yes
read only = no
Save the smb.conf file and restart the service:
mkdir -p /samba/anonymous
systemctl enable smb.service
资源评论
bengbengxiaoxin
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功