Linux SAMBA 共享服务器搭建

来源:互联网 发布:淘宝怎么买高仿包包 编辑:程序博客网 时间:2024/05/17 07:57

yum install samba

service smb start

chkconfig smb on

1、给要共享的文件夹赋权限 777

2、修改 smb 的配置文件:/etc/samba/smb.conf

默认 security = user,改成 security = share ,表示匿名共享。

然后配置共享目录:

[share_show_name]
comment = 提示语句
path = /share
public = yes
read only = no

然后重启 smb 服务即可。

crond 服务,与 crontab配置

222.65.212.190

54.213.159.184

0 0