当前位置:网站首页>samba服务器配置
samba服务器配置
2022-07-28 10:25:00 【[email protected]】
一、Samba简介
Samba可以实现Linux系统之间及Linux和Windows系统之间的文件和打印共享。
1、SMB协议
SMB通信协议可以看作局域网上共享文件和打印机的一种协议。
2、Samba软件
两个后台守护进程------nmbd和smbd.
nmbd监听137和138UDP端口,smbd监听139TCP端口。
nmbd和smbd使用的配置信息全部保存在/etc/samba/smb.conf文件中。
二、配置Samba服务
1、安装、启动Samba服务
检测系统是否安装了Samba相关性软件包
rpm -qa|grep samba
(1)使用yum命令安装Samba服务
yum clean all //安装前先清除缓存
yum install samba -y
(2)使用rpm命令再次查询
rpm -qa|grep samba
查询结果:6个
(3)启动与停止Samba服务,设置开机启动
systemctl start smb
systemctl enable smb
systemctl restart smb
systemctl stop smb
systemctl start smb
注意:更改配置文件后,一定要重启服务,让新的配置生效
版权声明
本文为[[email protected]]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_44250317/article/details/111701465
边栏推荐
- GKConstantNoiseSource
- SQL Server 2016 learning records - single table query
- Codeforces Round #614 (Div. 2) A. ConneR and the A.R.C. Markland-N
- GKCircleObstacle
- ACM winter vacation training 7
- SDUT Round #9 2020-新春大作战
- GKLinearCongruentialRandomSource
- 逆元&组合数&快速幂
- Use of Ogg parameter filter [urgent]
- GKVoronoiNoiseSource
猜你喜欢

粒子群实现最优解的求解

Machine learning -- handwritten English alphabet 3 -- engineering features

GKVoronoiNoiseSource

安装office自定义项 安装期间出错 解决办法

ACM winter vacation training 5

Install Office customization. Troubleshooting during installation

Django celery redis send email asynchronously

The future of generating confrontation networks in deepfake

SDUT Round #9 2020-新春大作战

markdown转成word或者pdf
随机推荐
Solving the optimal solution of particle swarm optimization
Pyqt5 rapid development and practice 4.12 calendar and time
Inside story of Wu xiongang being dismissed by arm: did the establishment of a private investment company harm the interests of shareholders?
Add new startup logo and startup / shutdown animation in mt6735
Use of Ogg parameter filter [urgent]
20200229训练赛 L1 - 2 删除字符串中的子串 (20分)
GKCircleObstacle
Lucene query syntax memo
Advanced C language: pointer (1)
SDUT 2446 最终排名
Codeforces Round #614 (Div. 2) B. JOE is on TV!
Powerful and unique! Yingzhong technology 2020 10th generation core unique product launch
20200217 training match L1 - 7 2019 is coming (20 points)
Aike AI frontier promotion (7.28)
287. Find the Duplicate Number
Yarn报错:Exception message: /bin/bash: line 0: fg: no job control
2019年9月PAT甲级题目
C language input string with spaces
Redis-day01 common sense supplement and redis introduction
机器人技术(RoboCup 2D)实验五十题及主要函数含义