In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
NFS shared storage service
NFS: (Network File System) Network File system
1. Dependent on RPC (remote procedure call)
two。 Nfs-utils,rpcbind package needs to be installed
3. System service: nfs,rpcbind
4. Shared profile: / etc/exports
Specific steps for establishing NFS shared storage service
1. Create a new disk, format the partition and mount it to the / mnt directory
two。 Install the nfs-utils rpcbind package
[root@promote ~] # yum install nfs-utils rpcbind-y
3. Modify nfs service profile
[root@promote ~] # vim / etc/exports
4. Start the service
[root@promote ~] # systemctl start nfs
[root@promote ~] # systemctl start rpcbind
5. Turn off the firewall
[root@promote ~] # systemctl stop firewalld.service
[root@promote ~] # setenforce 0
6. Check whether the / mnt directory is provided by yourself.
[root@promote] # showmount-e
7. Turn on the client virtual machine and turn off the firewall
[root@promote ~] # systemctl stop firewalld.service
[root@promote ~] # setenforce 0
8. Install the httpd service
[root@promote ~] # yum install httpd-y
9. Mounting
[root@promote ~] # mount 192.168.100.128:/mnt / var/www/html
10. View the capacity of the site
Add: automatically mount modified configuration file
[root@promote ~] # vim / etc/fstab
Use mount-a to execute
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.