当前位置:网站首页>[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
边栏推荐
- Sword finger offer 31 Stack push in and pop-up sequence
- 用数据告诉你高考最难的省份是哪里!
- RHCE day 3
- Three schemes of ZK double machine room
- Rhcsa day 9
- Jianzhi offer 04 (implemented in C language)
- 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
- Realsense d435 d435i d415 depth camera obtains RGB map, left and right infrared camera map, depth map and IMU data under ROS
- Occasional pit compiled by idea
- Write a program to judge whether the two arrays are equal, and then write a similar program to compare the two vectors.
猜你喜欢
C language structure to realize simple address book
Occasional pit compiled by idea
Number of relationship models
【Day2】 convolutional-neural-networks
[Galaxy Kirin V10] [server] KVM create Bridge
PHP code audit 3 - system reload vulnerability
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
Linked list operation can never change without its roots
对于程序员来说,伤害力度最大的话。。。
Safety reinforcement learning based on linear function approximation safe RL with linear function approximation translation 2
随机推荐
Vs201 solution to failure to open source file HPP (or link library file)
Use C to extract all text in PDF files (support.Net core)
基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 2
leetcode1-3
System. Currenttimemillis() and system Nanotime (), which is faster? Don't use it wrong!
Talk about scalability
Virtual machine configuration network
/*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
system design
Ruby时间格式转换strftime毫秒匹配格式
Service developers publish services based on EDAs
When I forget how to write SQL, I
Safety reinforcement learning based on linear function approximation safe RL with linear function approximation translation 2
【FAQ】华为帐号服务报错 907135701的常见原因总结和解决方法
leetcode842. Split the array into Fibonacci sequences
[untitled]
Remove linked list elements
【Day2】 convolutional-neural-networks
Two way process republication + routing policy
Use the data to tell you where is the most difficult province for the college entrance examination!