In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Build samba by centos7 The file path for win10 to access the centos7 share first installs the samba-related service yum install-y samba* configuration samba configuration file cp / etc/samba/smb.conf/ etc/samba/smb.conf.bakvim / etc/samba/smb.conf// modifies the configuration file smb.conf as follows: [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 configures the maximum number of system file openings (because a large number of files will be opened later through samba files Therefore, this parameter needs to be modified) the following content needs to be added at the end of the vim / etc/security/limits.conf// file * soft nofile 65535 * hard nofile 65535 pm / reboot is required after the file is modified. Reboot is not available here. After closing the firewall, you also need reboot to close the firewall vim / etc/selinux/config # permanently turn off selinuxset SELINUX=disabled # SELINUX=enforcing and change it to SELINUX=disabled// to turn off firewallsystemctl stop firewalldsystemctl disable firewalld//. Here you need reboot to activate reboot start SAMBAsystemctl restart smb # restart systemctl enable smb # change to boot systemctl status smb # View status enter\ your samba server ipwin10 in the window file browser to enable network discovery.
May not be able to access shared folder under https://jingyan.baidu.com/article/c275f6ba3ef050e33d756702.htmlwin10 / / Administrator permission to enter cmd// enable SMBv1sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi sc.exe config mrxsmb10 start= auto// turn off SMBv2 and SMBv3sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi sc.exe config mrxsmb20 start= disabled (need to restart win10) over
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.