当前位置:网站首页>[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
边栏推荐
- Knapsack problem and 0-1 knapsack problem
- /*The rewriter outputs the contents of the IA array. It is required that the type defined by typedef cannot be used in the outer loop*/
- Differences among opencv versions
- Debug:==42==ERROR: AddressSanitizer: heap-buffer-overflow on address
- /*Write a loop to output the elements of the list container in reverse order*/
- 基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 1
- Devop basic command
- 今日睡眠质量记录78分
- 【Day1】 deep-learning-basics
- Write a program to define an array with 10 int elements, and take its position in the array as the initial value of each element.
猜你喜欢
Remove linked list elements
用数据告诉你高考最难的省份是哪里!
Seven examples to understand the storage rules of shaped data on each bit
C language - stack
DML statement of MySQL Foundation
The bamboo shadow sweeps the steps, the dust does not move, and the moon passes through the marsh without trace -- in-depth understanding of the pointer
Summary of several job scheduling problems
DDL statement of MySQL Foundation
入职中国平安三周年的一些总结
Rhcsa - day 13
随机推荐
今日睡眠质量记录78分
How to use diff and patch to update the source code
Rhcsa12
用数据告诉你高考最难的省份是哪里!
When I forget how to write SQL, I
Check 15 developer tools of Alibaba
Laravel文档阅读笔记-How to use @auth and @guest directives in Laravel
Summary of several job scheduling problems
Rhcsa day 10 operation
leetcode842. Split the array into Fibonacci sequences
Ruby time format conversion strftime MS matching format
OSPF comprehensive experiment
20 minutes to learn what XML is_ XML learning notes_ What is an XML file_ Basic grammatical rules_ How to parse
Hlk-w801wifi connection
VLAN part of switching technology
【Day1】 deep-learning-basics
Deep learning 500 questions
RHCE day 3
Network disk installation
Service developers publish services based on EDAs