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

边栏推荐
- Write a program that uses pointers to set all elements of an int array to 4.18: 0.
- [Galaxy Kirin V10] [server] KVM create Bridge
- On binary tree (C language)
- 基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 2
- Use the data to tell you where is the most difficult province for the college entrance examination!
- Realsense d435 d435i d415 depth camera obtains RGB map, left and right infrared camera map, depth map and IMU data under ROS
- Rhcsa day 10 operation
- Devop basic command
- When I forget how to write SQL, I
- BGP advanced experiment
猜你喜欢

Realsense of d435i, d435, d415, t265_ Matching and installation of viewer environment

Recursion and divide and conquer strategy

Learning XML DOM -- a typical model for parsing XML documents

Number of relationship models

【Day1】 deep-learning-basics

Idea SSH channel configuration

Network connection (III) functions and similarities and differences of hubs, switches and routers, routing tables and tables in switches, why do you need address translation and packet filtering?

OSPF summary

From programmers to large-scale distributed architects, where are you (2)

Error C4996 ‘WSAAsyncSelect‘: Use WSAEventSelect() instead or define _ WINSOCK_ DEPRECATED_ NO_ WARN
随机推荐
MPLS: multi protocol label switching
A little feeling
[FAQ] summary of common causes and solutions of Huawei account service error 907135701
按键精灵跑商学习-商品数量、价格提醒、判断背包
/*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*/
Dynamic memory management
Quick sort (C language)
Sword finger offer 31 Stack push in and pop-up sequence
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.
The time difference between the past time and the present time of uniapp processing, such as just, a few minutes ago, a few hours ago, a few months ago
From programmers to large-scale distributed architects, where are you (I)
基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 2
Rhcsa learning practice
The future education examination system cannot answer questions, and there is no response after clicking on the options, and the answers will not be recorded
[Galaxy Kirin V10] [desktop and server] FRP intranet penetration
Architecture introduction
Lavel document reading notes -how to use @auth and @guest directives in lavel
Idea SSH channel configuration
/*Write a function to open the file for input, read the contents of the file into the vector container of string class 8.9: type, and store each line as an element of the container object*/
Velodyne configuration command