无码av一区二区三区无码,在线观看老湿视频福利,日韩经典三级片,成 人色 网 站 欧美大片在线观看

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

搭建 samba,win10訪問centos7共享的文件路徑

2021-11-09 11:26 作者:Vecloud_  | 我要投稿


centos7?搭建?samba,win10訪問centos7共享的文件路徑首先安裝samba相關的服務yum install -y samba*配置samba的配置文件cp /etc/samba/smb.conf /etc/samba/smb.conf.bakvim /etc/samba/smb.conf//修改配置文件smb.conf的內(nèi)容為下述內(nèi)容[global]log file = /var/log/samba/log.%mmax log size = 50security = usermap to guest = Bad User[sambadir]path=/home/readonly=yesbrowseable=yeswritable = yes guest ok=yes配置系統(tǒng)文件打開數(shù)目上限(因為后續(xù)會通過samba文件打開大量文件,所以需要修改此參數(shù))vim /etc/security/limits.conf//文件末尾需要添加如下內(nèi)容* soft nofile 65535* hard nofile 65535//修改該文件后,需要reboot,這里暫不reboot,后面關閉防火墻后也需要reboot關閉防火墻vim /etc/selinux/config ?????????????????????#永久關閉selinuxset SELINUX=disabled ??????#SELINUX=enforcing改為SELINUX=disabled//關閉firewallsystemctl stop firewalldsystemctl disable firewalld//這里需要reboot才能生效reboot啟動SAMBAsystemctl restart smb #重啟systemctl enable smb #修改為開機啟動systemctl status smb #查看狀態(tài)在window文件瀏覽器里輸入\your samba server ipwin10?下開啟網(wǎng)絡發(fā)現(xiàn)。?
https://jingyan.baidu.com/article/c275f6ba3ef050e33d756702.htmlwin10下可能無法訪問共享文件夾解決//管理員權(quán)限進入cmd//開啟SMBv1sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi sc.exe config mrxsmb10 start= auto//關閉SMBv2 and SMBv3sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi sc.exe config mrxsmb20 start= disabled(需要重啟win10)完畢

了解更多網(wǎng)絡知識關注:http://www.vecloud.com/

搭建 samba,win10訪問centos7共享的文件路徑的評論 (共 條)

分享到微博請遵守國家法律
襄城县| 镇宁| 班戈县| 西安市| 辰溪县| 万州区| 漳浦县| 台山市| 象山县| 陵水| 郓城县| 阳城县| 定远县| 泾川县| 双桥区| 临湘市| 山阴县| 鄂伦春自治旗| 芒康县| 德昌县| 增城市| 万荣县| 宜兴市| 鹿邑县| 龙江县| 彭阳县| 贵溪市| 陇西县| 惠来县| 罗甸县| 兴城市| 临武县| 奇台县| 池州市| 崇义县| 乌鲁木齐县| 建平县| 孟连| 岳西县| 平顶山市| 裕民县|