Linux 常用工具
YUM
yum init system
create local repo yum
centos 7 init system
FTP
How to Install and Configure vsftpd on CentOS 6
vsftp install on centos 7
Email
aliyun ecs install email
postfix smtp on centos
centos 6 postfix smpt test
GIT
gogs install centos6
git command example
git format markdown
HTTP Web
apache exampe
h5ai web php file server
apache vhosgts code debug
Nginx Web
nginx install from source
nginx set directory autoindex
autoindex with h5ai web
nginx install pugin ngx-fancyindex
proxy internal vhost to web
dynamic and static by nginx
proxy directory second by nginx
nginx proxy gogs web
jenkns proxy from nginx
ssl certify by nginx
nginx threads fix to 9x
NTP
linux install ntp use asia date
VNC
vnc remote desktop
x11vnc on centos6
Firewall
iptables on centos 7
centos7 firewalld config
Kernel
centos kernel packages
kernel update to 3.10 on centos 6
SYSCTL 内核配置参数分析
NFS
centos6 install nfs servers
mount nfs to linux
mount nfs on centos 6
centos6 nfs verify permissions
SSH
ssh keygen rsa to client
ssh config diffent
Network
centos 7 config net-tool debug ifconfig
debug network card up or down
Samba
samba install on centos 6
samba config example
VIM
VIM using example
本文档使用 MrDoc 发布
-
+
首页
samba config example
## Samba的基本概念 Samba服务:是提供基于Linux和Windows的共享文件服务,服务端和客户端都可以是Linux或Windows操作系统。可以基于特定的用户访问,功能比NFS更强大。 Samba与ftp和nfs的区别: - ftp:基于Linux和Windows共享文件的服务,但是不安全,因为ftp可以匿名访问,匿名用户可以获取读写权限,所以不常用 - nfs:只能做Linux的共享文件服务,服务端和客户端都只能是Linux操作系统 samba的服务名、对应端口号及作用: - smbd:139 提供文件的共享访问 - nmbd:445 提供基于域名的访问 ## example ```ini #======================= Global Settings ===================================== [global] workgroup = Company server string = Samba Server Version %v log file = /var/log/samba/log.%m max log size = 50 security = user #backend = tdbsam passwd backend = smbpasswd smb passwd file =/etc/samba/smbpasswd username map =/etc/samba/smbusers #valid users = backups #load printers = yes cups options = raw #============================ Share Definitions ============================== [homes] comment = Home Directories browseable = no writable = no [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writable = no printable = no [backups] comment = Backups clonezilla path = /u/data/clonezilla writeable = yes directory mask = 0775 create mask = 0775 valid users = backups browseable = yes available = yes public = no [team] comment = Software Team doc path = /u/data/software_team directory mask = 0775 writeable = yes create mask = 0775 valid users = tester,backups browseable = yes available = yes public = no [cmdb] comment = CMDB path = /u/data/public/cmdb directory mask = 0775 public = yes readonly = yes valid users = cmdb max log size = 50 #min protocol = SMB2 #max protocol = SMB3 #client min protocol = SMB2 #client max protocol = SMB3 ```
Bobby
2021年12月21日 03:47
分享文档
收藏文档
阅读
359
上一篇
下一篇
微信扫一扫
复制链接
手机扫一扫进行分享
复制链接
关于 MrDoc
觅思文档MrDoc
是
州的先生
开发并开源的在线文档系统,其适合作为个人和小型团队的云笔记、文档和知识库管理工具。
如果觅思文档给你或你的团队带来了帮助,欢迎对作者进行一些打赏捐助,这将有力支持作者持续投入精力更新和维护觅思文档,感谢你的捐助!
>>>捐助鸣谢列表
微信
支付宝
QQ
PayPal
Markdown文件
分享
链接
类型
密码
更新密码