經(jīng)常有學(xué)員詢問(wèn)如何將centos\ubuntu目錄映射到windows中以方便開(kāi)發(fā)工作,因此寫(xiě)這個(gè)指導(dǎo)博客方便大家配置開(kāi)發(fā)環(huán)境。
創(chuàng)新互聯(lián)成都企業(yè)網(wǎng)站建設(shè)服務(wù),提供網(wǎng)站制作、網(wǎng)站設(shè)計(jì)網(wǎng)站開(kāi)發(fā),網(wǎng)站定制,建網(wǎng)站,網(wǎng)站搭建,網(wǎng)站設(shè)計(jì),響應(yīng)式網(wǎng)站設(shè)計(jì),網(wǎng)頁(yè)設(shè)計(jì)師打造企業(yè)風(fēng)格網(wǎng)站,提供周到的售前咨詢和貼心的售后服務(wù)。歡迎咨詢做網(wǎng)站需要多少錢(qián):18982081108
# yum install samba samba-clinet -y
#cd /etc/samba/
#mv smb.conf smb.conf.bak
#vi smb.conf
內(nèi)容如下
[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
結(jié)果