当前位置:网站首页>[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. Currenttimemillis() and system Nanotime (), which is faster? Don't use it wrong!
- Number of relationship models
- If the uniapp is less than 1000, it will be displayed according to the original number. If the number exceeds 1000, it will be converted into 10w+ 1.3k+ display
- Rhcsa day 9
- Rhcsa12
- uniapp 小于1000 按原数字显示 超过1000 数字换算成10w+ 1.3k+ 显示
- System.currentTimeMillis() 和 System.nanoTime() 哪个更快?别用错了!
- When I forget how to write SQL, I
- 【Day2】 convolutional-neural-networks
- Student achievement management system (C language)
猜你喜欢
Two way process republication + routing policy
【FAQ】华为帐号服务报错 907135701的常见原因总结和解决方法
Four characteristics and isolation levels of database transactions
Latex error: missing delimiter (. Inserted) {\xi \left( {p,{p_q}} \right)} \right|}}
When I forget how to write SQL, I
Number of relationship models
Static comprehensive experiment ---hcip1
[FAQ] summary of common causes and solutions of Huawei account service error 907135701
Latex learning insertion number - list of filled dots, bars, numbers
From programmers to large-scale distributed architects, where are you (2)
随机推荐
【FAQ】华为帐号服务报错 907135701的常见原因总结和解决方法
/*Write a loop to output the elements of the list container in reverse order*/
Ruby time format conversion strftime MS matching format
uniapp 处理过去时间对比现在时间的时间差 如刚刚、几分钟前,几小时前,几个月前
C language - stack
Online troubleshooting
Rhcsa day 10 operation
IPv6 comprehensive experiment
Rhcsa learning practice
When I forget how to write SQL, I
Write a program to judge whether the two arrays are equal, and then write a similar program to compare the two vectors.
Tables in the thesis of latex learning
有老师知道 继承RichSourceFunction自定义读mysql怎么做增量吗?
uniapp---初步使用websocket(长链接实现)
Pod management
/*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*/
用数据告诉你高考最难的省份是哪里!
Reprint: summation formula of proportional series and its derivation process
The most detailed teaching -- realize win10 multi-user remote login to intranet machine at the same time -- win10+frp+rdpwrap+ Alibaba cloud server
For programmers, if it hurts the most...