当前位置:网站首页>Installing services for NFS
Installing services for NFS
2022-06-27 20:27:00 【Ink Sky Wheel】
Click on the above “IT That job ” official account , Learn more after following , No matter IT What job , Dry is finished !!!
01
rpm -qa | grep nfs

rpm -qa | grep rpcbind

yum -y install nfs-utils rpcbind

vim /etc/exports
/NFS XX.XXX.34.0(rw,sync,no_root_squash)

Detailed description of shared directory options :
ro The directory is readable rw The directory is readable and writable sync Write data synchronously to memory buffer and disk async Write the data to the memory buffer first , Write to disk only if necessary all_squash Map all remote access users and groups to default users or user groups nfsnobody( or nobody) no_all_squash And all_squash The configuration is reversed root_squash take root Users and their groups are mapped to default users or user groups no_root_squash And root_squash The configuration is reversed anonuid Map the remote access user to the specified user and ID Users of anongid Map the remote access user group to the specified user group ID User group
4. start-up NFS And RPCbind
systemctl start rpcbind
systemctl start nfs

showmount -e

02
yum -y install nfs-utils rpcbind

systemctl start rpcbind
systemctl start nfs


mount -t nfs XX.XXX.34.208:/app/share/ /app/share
vim etc/rc.local
mount -t nfs XX.XXX.34.208:/app/share/ /app/share
or :
write in /etc/fstab
XX.XXX.34.208:/app/share/ /app/share nfs defaults 0 0


The author of this article : Yangzepeng ( Shanghai xinju Wang Jian team )
In this paper, the source :“IT That job ” official account

边栏推荐
- Pointers and structs
- Source code analysis of golang map concurrent read / write problem
- 数仓的字符截取三胞胎:substrb、substr、substring
- Data intelligence enters the "deep water area", and data governance is the key
- Crontab's learning essays
- Web APLS phase - Section 14 - local storage
- 云原生存储解决方案Rook-Ceph与Rainbond结合的实践
- Backtracking related issues
- 1023 Have Fun with Numbers
- 数智化进入“深水区”,数据治理是关键
猜你喜欢

Data intelligence enters the "deep water area", and data governance is the key

muduo

BAIC makes a brand new pickup truck, which is safe and comfortable

openssl客户端编程:一个不起眼的函数导致的SSL会话失败问题
![[debug] platform engineering interface debugging](/img/bc/ec630358b039c2a9551b7ae99d7fb3.png)
[debug] platform engineering interface debugging

数据库锁问题

Hash table - Review

最佳实践:优化Postgres查询性能(下)

SQL审核平台权限模块介绍和账号创建教程

Database log
随机推荐
Installation and configuration of grayog new generation log collection early warning system
Redis data structure
Linux system plays Oracle database multi table query connection query with a smile
Bit.Store:熊市漫漫,稳定Staking产品或成主旋律
【STL编程】【竞赛常用】【part 2】
Rust 中的枚举和控制流运算
Common shell script commands (4)
ABAP essays - interview memories hope that everyone's demand will not increase and the number of people will soar
pfSense Plus22.01中文定制版发布
什么是堆栈?
Manage rust project through cargo
MASS幸运哈希游戏系统开发丨冲突解决方法(代码分析)
Grasp the detailed procedure of function call stack from instruction reading
Binary tree related problems 2
探秘GaussDB,听听客户和伙伴怎么说
Pointers and structs
UE4-Actor基础知识
UE4 realizes long press function
Longitude and latitude analysis
最佳实践:优化Postgres查询性能(下)