In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "redhat7 how to configure file sharing service", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "redhat7 how to configure file sharing service" this article.
File sharing can be realized by NFS service among linux hosts, and it is also very convenient to implement.
Introduction to NFS
Nfs relies on RPC protocol in the process of message passing. When using NFS, the client only needs to use the mount command to mount the directory of the remote host locally. For example, mount / home/test of 10.10.0.12 to the local / home/test directory of 10.10.0.11
[root@localhost ~] # mount 10.10.0.12:/home/test / home/test configure NFS server
NFS requires nfs-utils*.rpm rpcbind*.rpm to be installed
The version number varies depending on the system version.
[root@localhost ~] # yum install-y nfs-utils rpcbind.exports parameter description
-a mount all settings in / etc/exports file,-r remount settings in / etc/exports file,-u unmount a directory
Shownmount parameter description
-a lists the full directory information for the nfs share,-d lists the directory where the client is remotely installed, and-e displays a list of exported directories
Nfs parameter description
Ro read-only permissions, rw read and write permissions, all_squash anonymous users or groups, no_all_squash non-anonymous users or groups, root_squash maps root users and groups to anonymous users and groups, no_root_squash is contrary to root_squash, sync writes data synchronously to the buffer, and async saves the data in the memory buffer before writing to disk
Set up the expoprts file [root@localhost ~] # cat / etc/exports/home/test *. * (rw) start the service [root@localhost ~] # systemctl start rpcbind [root@localhost ~] # systemctl start nfs-server configuration NFS client [root@localhost ~] # mount-t nfs- o rw 10.10.0.12:/home/test / home/test is all the content of this article "how to configure file sharing service for redhat7". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.