当前位置:网站首页>[Galaxy Kirin V10] [server] NFS setup
[Galaxy Kirin V10] [server] NFS setup
2022-07-04 10:33:00 【GUI Anjun @kylinos】
step 1: install
Turn off the firewall first , close selinux
# yum install -y nfs-utils
# yum install -y rpcbind
step 2: Server configuration
a. Create shared directory ( Modify according to the actual situation )
# mkdir /share
b. Modify shared directory permissions
# chmod 777 -R /share
c. edit exports file
# vim /etc/exports
add to Content
/share *(rw,no_root_squash,no_all_squash,sync)
#exportfs -r // The amendment takes effect

d. Permanently start the service
#systemctl enable rpcbind
#systemctl start rpcbind
#systemctl enable nfs
#systemctl start nfs
e. View validation
#showmount -e localhost
The contents are as follows :

step 3: Client connection
a. see
# showmount -e Server side ip
The display is as follows

b. Client create directory , And mount
# mkdir /share
# mount -t nfs Server side ip:/share /share
c. Automatically mount
#vim /etc/fstab
# Mount... In this file , The system can be automatically mounted every time it is started
Server side ip:/share /share nfs defaults 0 0
#mount -a Make the document /etc/fstab take effect
d. Client view
#df -Th

边栏推荐
- Rhcsa learning practice
- Dos:disk operating system, including core startup program and command program
- Online troubleshooting
- Talk about scalability
- Dichotomy search (C language)
- [FAQ] summary of common causes and solutions of Huawei account service error 907135701
- 有老师知道 继承RichSourceFunction自定义读mysql怎么做增量吗?
- Uniapp--- initial use of websocket (long link implementation)
- Vs201 solution to failure to open source file HPP (or link library file)
- Reasons and solutions for the 8-hour difference in mongodb data date display
猜你喜欢

Delayed message center design

How to use diff and patch to update the source code
![[FAQ] summary of common causes and solutions of Huawei account service error 907135701](/img/73/c4ee842475f05e2e67297fcac68779.png)
[FAQ] summary of common causes and solutions of Huawei account service error 907135701

Devop basic command

A little feeling

Doris / Clickhouse / Hudi, a phased summary in June
![[200 opencv routines] 218 Multi line italic text watermark](/img/3e/537476405f02f0ebd6496067e81af1.png)
[200 opencv routines] 218 Multi line italic text watermark

Basic data types of MySQL

Architecture introduction

Work order management system OTRs
随机推荐
MFC document view framework (relationship between classes)
Write a program that uses pointers to set all elements of an int array to 4.18: 0.
Jianzhi offer 04 (implemented in C language)
Work order management system OTRs
Deep learning 500 questions
How to use diff and patch to update the source code
Software sharing: the best PDF document conversion tool and PDF Suite Enterprise version sharing | with sharing
Learning XML DOM -- a typical model for parsing XML documents
DDL language of MySQL database: create, modify alter, delete drop of databases and tables
/*Rewrite the program, find the value of the element, and return the iterator 9.13: pointing to the found element. Make sure that the program works correctly when the element you are looking for does
OSPF summary
Network disk installation
Introduction to extensible system architecture
Communication layer of csframework
基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 2
Basic data types of MySQL
What is an excellent architect in my heart?
How to quickly parse XML documents through C (in fact, other languages also have corresponding interfaces or libraries to call)
Dynamic memory management
Ruby time format conversion strftime MS matching format