In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1.nfs shared memory
1.1 the role of storage services
Unified shared storage of data to save disk storage space
1.2. Storage service deployment process
1.2.1. Server deployment
The first course: installing software programs
Yum install-y nfs-utils
The second course: writing configuration files
Vim / etc/exports
/ data/www 172.16.1.0 Compact 24 (rw,sync)
/ data/bbs 172.16.1.0 Compact 24 (rw,sync)
/ data/blog 172.16.1.0 Compact 24 (rw,sync)
The third course: creating a storage directory
Mkdir / data/ {www,bbs,blog}-p
Chown www,www / data/www
Chown www,www / data/bbs
Chown www,www / data/blog
Ps: change the name of the owner and group to www, and then create the www user to make it the same as the owner of the web server's site directory.
The fourth course: start the service program
Systemctl start rpcbind
Systemctl start nfs
1.2.2. Client deployment
The first course: installing software programs
Yum install-y nfs-utils
The second course: mounting storage devices
Mount-t nfs 172.16.1.7:/data/www / html/www
Mount-t nfs 172.16.1.7:/data/bbs / html/bbs
Mount-t nfs 172.16.1.7:/data/blog / html/blog
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.