In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Server installs sudo yum install-y nfs-utilssudo systemctl enable rpcbindsudo systemctl start rpcbindsudo systemctl enable nfssudo systemctl start nfs configuration shared directory mkdir / data/nfs
Configure / etc/exports and add the following
/ data/nfs * (rw,sync,no_root_squash,no_all_squash) / data/nfs: shared directory location. *: client IP (18.8.1.0) range, * means all, that is, there is no limit. Rw: permission setting, readable and writable. Sync: synchronize the shared directory. No_root_squash: you can use root authorization. No_all_squash: normal user authorization can be used.
Restart the nfs service. Check the local shared directory
Showmount-e localhost client installs sudo yum install-y nfs-utilssudo systemctl enable rpcbindsudo systemctl start rpcbind to create a shared directory mkdir / data/nfs
Mount directory
Sudo mount-t nfs 18.8.1.1:/data/nfs / data/nfs
Add automatic mount
Sudo vi / etc/fstab
Add a row
18.8.1.1:/data/nfs / data/nfs nfs defaults 0 0
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.