当前位置:网站首页>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

边栏推荐
- 探秘GaussDB,听听客户和伙伴怎么说
- QT Chinese garbled code
- 使用MySqlBulkLoader批量插入数据
- Postman 汉化教程(Postman中文版)
- 从指令交读掌握函数调用堆栈详细过程
- UE4随笔:FString、FName 与 FText
- [bug] there is an error uploading the picture (413 request entity too large)
- MongoDB简介及典型应用场景
- UE4实现长按功能
- Mobile low code development theme month | visual development one click generation of professional source code
猜你喜欢
随机推荐
[bug] there is an error uploading the picture (413 request entity too large)
[array]bm99 clockwise rotation matrix - simple
微信iOS版8.0.24更新发布 缓存细分清理上线
Pointers and structs
键入网址到网页显示,期间发生了什么?
最佳实践:优化Postgres查询性能(下)
【STL编程】【竞赛常用】【part 2】
Ble Bluetooth module nrf518/nrf281/nrf528/nrf284 chip scheme comparison
刷题记录:Easy 数组(持续更新)
Redis data structure
openssl客户端编程:一个不起眼的函数导致的SSL会话失败问题
Installation and configuration of grayog new generation log collection early warning system
二叉树相关问题2
Redis cluster Series III
CSDN skill tree experience and product analysis (1)
At 19:00 on Tuesday evening, the 8th live broadcast of battle code Pioneer - how to participate in openharmony's open source contribution in multiple directions
Character interception triplets of data warehouse: substrb, substr, substring
北汽制造全新皮卡曝光,安全、舒适一个不落
Csdn Skills Tree use Experience and Product Analysis (1)
BAIC makes a brand new pickup truck, which is safe and comfortable








