In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how the CentOS management related system is applied, and the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
The characteristics of CentOS management system can be used not only as CentOS management learning for computer majors in colleges and universities, but also for CentOS management system open source enthusiasts and CentOS management system users. Here is an introduction to the use of nfs in openvz managed by CentOS.
CentOS management follows my steps ~ ~ server:192.168.11.205vim / etc/export/home/testnfs 192.168.11.204 (rw,no_root_squash,sync) # so that unsafe service nfs restartshowmount-e localhostvim / etc/hosts can add client's here. Then only allow it in / etc/hosts.allow.
Furthermore, because CentOS management portmap starts port 111by default. You can map in ports. Protect the nfs service.. OpenVZ system: 192.168.11.205 in / etc/sysctl.conf add: kernel.ve_allow_kthreads = 1sysctl-pmodprobe nfsecho "modprobe nfs" > > / etc/rc.localvzctl set 110-- features nfs:on-- savevzctl restart 110vzctl exec 110 cat / proc/filesystem to see if there is CentOS management nodev nfs, then OK!
Client:192.168.11.204service portmap restartyum install nfs-utils-yvim / etc/hostsadd: 192.168.11.205 nfs-server save, test: showmount-e 192.168.11.205
Will appear: Export list for 192.168.11.205:/testfs 192.168.11.205mount-t nfs nfs-server:/testfs / data
After completion, you can: cat / proc/mounts192.168.11.48:/home/testnfs / data nfs rw,vers=3,rsize=32768,wsize=32768,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=192.168.11.48 00 [root@honeyd data] # df-hFilesystem Size Used Avail Use% Mounted on/dev/simfs 1.0G 627M 398M 62% / none 125m 4.0K 125m 1% / dev192.168.11.48:/home/testnfs7.8G 4.6G 2.8G 63% / data and then go in to test touch aa
See if it fits. If possible, go to the server. Write one, too, and go to CLIENT to see if it is available. Done!
Vim / etc/fstab192.168.11.48:/home/testnfs / data nfs rsize=8192,wsize=8192,timeo=14,intr if mount.nfs: Input/output errorCentOS management appears, it is because the client also needs to start the portmap service.. if it is mount.nfs:No such device, it is because there is no startup support for NFS in the kernel. For example: modprobe nfs. See if there is nodev nfs in cat / proc/filesystem.
On how the application of CentOS management related system is shared 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.
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.