当前位置:网站首页>[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
边栏推荐
- VLAN part of switching technology
- Safety reinforcement learning based on linear function approximation safe RL with linear function approximation translation 1
- Linked list operation can never change without its roots
- Tables in the thesis of latex learning
- [200 opencv routines] 218 Multi line italic text watermark
- Latex arranges single column table pictures in double column format articles
- Servlet基本原理与常见API方法的应用
- From programmers to large-scale distributed architects, where are you (I)
- 【Day1】 deep-learning-basics
- Rhsca day 11 operation
猜你喜欢
Reprint: summation formula of proportional series and its derivation process
Vs201 solution to failure to open source file HPP (or link library file)
【OpenCV 例程200篇】218. 多行倾斜文字水印
On binary tree (C language)
OSPF summary
leetcode1-3
Latex learning insertion number - list of filled dots, bars, numbers
如果不知道這4種緩存模式,敢說懂緩存嗎?
VLAN part of switching technology
BGP advanced experiment
随机推荐
Laravel文档阅读笔记-How to use @auth and @guest directives in Laravel
Batch distribution of SSH keys and batch execution of ansible
Online troubleshooting
Software sharing: the best PDF document conversion tool and PDF Suite Enterprise version sharing | with sharing
Rhcsa operation
【OpenCV 例程200篇】218. 多行倾斜文字水印
/*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*/
Whether a person is reliable or not, closed loop is very important
Introduction to extensible system architecture
DML statement of MySQL Foundation
For programmers, if it hurts the most...
Occasional pit compiled by idea
leetcode1229. Schedule the meeting
Architecture introduction
Latex learning insertion number - list of filled dots, bars, numbers
Vs201 solution to failure to open source file HPP (or link library file)
Latex error: missing delimiter (. Inserted) {\xi \left( {p,{p_q}} \right)} \right|}}
C language structure to realize simple address book
如果不知道這4種緩存模式,敢說懂緩存嗎?
Rhcsa learning practice