Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

NFS shared storage service

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Brief introduction

NFS (Network File System), the network file system, is one of the file systems supported by FreeBSD, which allows computers in the network to share resources. In the application of NFS, the client application of the local NFS can read and write files located on the remote NFS server transparently, just like accessing the local file.

Build process

1 install nfs-ntils and rpcbind software packages to provide NFS sharing services. After the installation is complete, it can be set to boot mode

2 add a storage device, partition, format and mount on the server

3 the configuration file of NFS sets the shared directory for / etc/exprts, starts the service, turns off the firewall, and enhances the security function.

4 install the httpd service on another server, turn off the firewall and enhance the security features

5 the httpd service website site directory is / var/www/html, and mount the / mnt directory of the previous server to the site directory

You can also use permanent mount

6 create a document in the site directory, start the httpd service, and access it

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report