加入收藏 | 设为首页 | 会员中心 | 我要投稿 辽源站长网 (https://www.0437zz.com/)- 云专线、云连接、智能数据、边缘计算、数据安全!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

centos nfs配置--转载

发布时间:2021-01-20 14:14:24 所属栏目:Linux 来源:网络整理
导读:h2 class="title"http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-nfs-client-config.html h2 class="title"18.6.?NFS Server Configuration There are three ways to configure an NFS server under Red Hat Enterprise Linux: using the ( )

The mount point must exist on the client machine before this command can be executed. After adding this line to on the client system,type the command at a shell prompt,and the mount point is mounted from the server.

The file is referenced by the service at boot time,so lines referencing NFS shares have the same effect as manually typing the command during the boot process.

A sample line to mount an NFS export looks like the following example:

:    0 0

Replace with the hostname,IP address,or fully qualified domain name of the server exporting the file system.

Replace with the path to the exported directory.

Replace with the local file system on which the exported directory is mounted. This mount point must exist before is read or the mount fails.

Replace with either for NFSv2 or NFSv3 servers,or for NFSv4 servers.

Replace with a comma separated list of options for the NFS file system (refer to for details). Refer to the man page for additional information.

(编辑:辽源站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

推荐文章
    热点阅读