当前位置:网站首页>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
边栏推荐
- GKNoiseMap
- Install mysql5.7 under centos7
- AP Autosar平台设计 1-2 导言、技术范围与方法
- Attention attention mechanism flow chart
- Machine learning -- handwritten English alphabet 3 -- engineering features
- Yarn报错:Exception message: /bin/bash: line 0: fg: no job control
- Inverse element & combinatorial number & fast power
- SQL Server 2016 learning record - nested query
- SDUT Round 9 2020 Spring Festival campaign
- GKCoherentNoiseSource
猜你喜欢

Inverse element & combinatorial number & fast power

粒子群实现最优解的求解

PyQt5快速开发与实战 4.13 菜单栏、工具栏与状态栏 and 4.14 QPrinter

乱打日志的男孩运气怎么样我不知道,加班肯定很多

markdown转成word或者pdf

Excel word simple skills sorting (continuous update ~)

QT generation Exe file and run without QT environment (enigma virtual box for green executable software packaging) graphic tutorial

Django celery redis send email asynchronously

AP AUTOSAR platform design 3 architecture

机器学习--手写英文字母2--导入与处理数据
随机推荐
Powerful and unique! Yingzhong technology 2020 10th generation core unique product launch
GKBillowNoiseSource
Excel word simple skills sorting (continuous update ~)
Machine learning -- handwritten English alphabet 3 -- engineering features
Shortest path topic
Install mysql5.7 under centos7
GKSphereObstacle
How to play a ball game with RoboCup 2D
Andorid development
C语言 输入带空格的字符串
ACM winter vacation training 7
GKObstacle
287. Find the Duplicate Number
GKCircleObstacle
GKSpheresNoiseSource
8、Yarn系统架构与原理详解
产品端数据分析思维
10_ue4进阶_添加倒地和施法动作
Uni app project directory, file function introduction and development specification
Pyqt5 rapid development and practice 4.11 drag and clipboard