当前位置:网站首页>NFS share
NFS share
2022-07-21 19:29:00 【1701y】
Catalog
NFS summary
NFS It's based on TCP/IP Transport network file system protocol , By the first sun Companies to develop . By using NFS agreement , The directory can be accessed as a remote client NFS Shared resources in the server
NFS It's also NAS A protocol that storage devices must support , But because there is no user authentication mechanism , And the data is transmitted in plain text over the network , The security is very poor , So it can only be used in LAN .
NFS working principle
NFS The server can make PC The NFS Server shared directory mount To the local file system , And in the local system , The directory of the remote host is like a partition of its own , It's quite convenient to use
FNS characteristic
use TCP/IP Transfer network files
Low security
Easy to operate
Suitable for LAN environment
NFS To configure
systemctl stop firewalld Turn off firewall
systemctl disable firewalld Do not turn on the firewall
setenforce 0 Turn off core protection
yum install -y nfs-utils rpcbind Download the installation package
mkdir -p /opt/ Catalog name
chmod 777 /opt/ Catalog name ## Create a directory to share and give permissions
vim /etc/exports ## Go to configuration file
Changing configuration files
systemctl start rpcbind start-up
systemctl start nfs start-up
showmount -e Check out the NFS
Then we switch to another virtual machine
yum install -y nfs-utils rpcbind
systemctl start rpcbind Start the service
Create mount directory
vim /etc/fstab
Mount
After completion To test use 128 Machine stay /xiaoyun Create files and write data in
131 Your machine can also see
Reuse 131 The machine writes data
128 May see
边栏推荐
- Peripheral driver library development notes 44:ddc114 ADC driver
- [QT入门篇]窗口类的应用
- 如何解决wget命令出现Unable to establish SSL connection.
- mysql安装提示应用程序无法正常启动(0xc000007b,如何解决?
- 建议收藏 | 可实操,数据中台选型示例
- H5 customized sharing in wechat
- Distributed High performance
- [qt beginner] timer qtimer class
- C language file operation
- regular expression
猜你喜欢
随机推荐
Distributed Cap theory
Plantuml draw link diagram
Metahuman Face材质球总结
Software testing interview questions: black box testing and white box testing are two basic methods of software testing. Please explain their advantages and disadvantages respectively!
JWT (JSON web token) authentication: the most popular cross domain authentication solution at present
Software testing interview question: how do you think to improve the efficiency and effect of communication between testers and developers? What is the key to maintaining a good interpersonal relation
Distributed General service layer cache design
SAP IDoc tutorial: definition, structure, type, format and table-019
Distribué. ID Builder
Create high-performance applications and continuously optimize the user experience
strcspn、strchr特殊字符校验
The first lesson of programmers is "Hello word". Do you know the first lesson of network engineering?
分布式.容量评估
2022 software testing skills jmeter+ant+jenkins continuous integration and test report generation tutorial
TiDB 分布式批量解决方案
Distributed Database schema
The reason why "typeerror: 'STR' object does not support item assignment" appears
QT (37) -mosquitto mqtt client
[QT入门篇]定时器QTimer类
出现“TypeError: ‘str‘ object does not support item assignment”的原因