标签:sea lld uri har 目录 inf centos 使用 sys
一、前导说明经常有学员询问如何将centos\ubuntu目录映射到windows中以方便开发工作,因此写这个指导博客方便大家配置开发环境。
# yum install samba samba-clinet -y
#cd /etc/samba/
#mv smb.conf smb.conf.bak
#vi smb.conf
内容如下
[global]
workgroup = SAMBA
netbios name = 172.16.100.1
server string = samba server
log file = /var/log/samba/log%m
max log size = 50
security = user
map to guest = Bad User
[share]
comment = sharee source
path = /share
writable = yes
browseable = yes
guest ok = yes
# mkdir /share
# chmod 777 /share
# touch /share/test.file
# sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/g‘ /etc/selinux/config
# setenforce 0
# systemctl stop firewalld
# systemctl disable firewalld
# systemctl restart smb nmb
# systemctl enable smb nmb
结果
标签:sea lld uri har 目录 inf centos 使用 sys
原文地址:https://blog.51cto.com/54dev/2466220