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

边栏推荐
- system design
- Sword finger offer 05 (implemented in C language)
- 按键精灵打怪学习-识别所在地图、跑图、进入帮派识别NPC
- Talk about scalability
- RHCE - day one
- Rhcsa learning practice
- /*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*/
- Linked list operation can never change without its roots
- Debug:==42==ERROR: AddressSanitizer: heap-buffer-overflow on address
- /*Write a loop to output the elements of the list container in reverse order*/
猜你喜欢

uniapp 小于1000 按原数字显示 超过1000 数字换算成10w+ 1.3k+ 显示

BGP ---- border gateway routing protocol ----- basic experiment

leetcode1-3

Reasons and solutions for the 8-hour difference in mongodb data date display
如果不知道這4種緩存模式,敢說懂緩存嗎?

对于程序员来说,伤害力度最大的话。。。

OSPF summary

Add t more space to your computer (no need to add hard disk)

今日睡眠质量记录78分

OSPF comprehensive experiment
随机推荐
OSPF comprehensive experiment
VLAN part of switching technology
Lavel document reading notes -how to use @auth and @guest directives in lavel
Hlk-w801wifi connection
leetcode842. Split the array into Fibonacci sequences
按键精灵跑商学习-商品数量、价格提醒、判断背包
Rhsca day 11 operation
Safety reinforcement learning based on linear function approximation safe RL with linear function approximation translation 1
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
Rhcsa day 9
Vs201 solution to failure to open source file HPP (or link library file)
DML statement of MySQL Foundation
[200 opencv routines] 218 Multi line italic text watermark
Latex error: missing delimiter (. Inserted) {\xi \left( {p,{p_q}} \right)} \right|}}
MPLS: multi protocol label switching
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
DDL language of MySQL database: create, modify alter, delete drop of databases and tables
Latex arranges single column table pictures in double column format articles
MongoDB数据日期显示相差8小时 原因和解决方案
When I forget how to write SQL, I