RHCE certification Tutorial: RHEL6 simple NFS service
Source: Internet
Author: User
What is the role of the NFS service? Please use Baidu for the time being and write a full version later. This article mainly describes how to build a simple NFS service, for your reference only # rpm-qa | grepnfs [check whether the nfs service-related installation package is installed] # yuminstallnfs * [install the nfs service package in yum mode] Because "nfs *" is used with an asterisk, indicates that all related file packages are installed. Therefore, what is the role of the three installation packages & n NFS service? Please enter Baidu for the time being and write the full version later, this document describes how to build a simple NFS service for your reference only # rpm-qa | grep nfs [check whether the nfs service-related installation package is installed] 650) this. width = 650; "border = 0> # yum install nfs * [install nfs service package in yum mode] 650) this. width = 650; "border = 0> because" nfs * "is used with an asterisk, it indicates that all related file packages are installed. Therefore, three installation packages 650 are displayed.) this. length = 650; "border = 0> # chkconfig nfs-list [view the Enable status of nfs service in different modes] # chkconfig nfs on [Enable nfs service in the 2, 3, 4, and 5 statuses automatically enable upon startup] # chkconfig nfs-list [confirm the enabling status again, it is found that it has changed from "off" to "on"] 650) this. width = 650; "border = 0> # mkdir/test [create a directory named test under the root directory] # vim/etc/exports [edit nfs configuration file] 650) this. width = 650; "border = 0> asterisk * represents all network segments ro represents read-only sync represents synchronization 650) this. width = 650; "border = 0> # service nfs restart [start nfs] 650) this. width = 650; "border = 0> # showmount-e 192.168.1.2 [test on another client and find that the server has normally shared the test directory] 650) this. width = 650; "border = 0>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service