In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.