In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces how to set up a shared file server in Linux system, the content is very detailed, interested friends can refer to, hope to be helpful to you.
The server used by the Liunx shared file server is samba, so the linux shared server is the samba server.
1. You need to check whether linux has been installed. The samba; check command is: rpm-qa | if grep samba; does not output any information, it indicates that it has not been installed. You need to download and install it from Baidu. Download as follows:
2. Below, you can see that samba is installed on my linux system, so you can proceed to the next step.
3. Create a shared folder with the following command: Mkdir / home/fileshare; as shown below:
4. As shown in the figure below, the folder has been established
5. Set folder permissions. The commands are as follows: Chmod 755 fileshare
6. Establish samba users
Copy the contents to the clipboard
Groupadd fileshare
Useradd-s / sbin/nologin file
Smbpasswd-a file
Note: the user accessing the share must be a samba user and cannot use other users
7. Modify sambe configuration file. The commands are as follows:
Vim / etc/samba/smb.conf
eight
Modify samba profile global settings
Copy the contents to the clipboard
# = = Global settings=
[global] workgroup = WORKGROUP server string = Samba Server security = share
9. Set folder sharing as follows:
[sharefile] path = / home/sharefile public = yes read only = yes
10. Restart the smb service
Service smb restart
11. Windows access and sharing succeeded. As follows:
12. The linux sharing server has been set up perfectly. I will continue to share other experiences of linux with you next time.
On the Linux system how to set up a shared file server to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
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.