RHCE certification tutoring: RHEL6 simple setup of autofs service
Source: Internet
Author: User
Autofs is a very heavy Mount mode and is also the most commonly used Mount mode. Let's talk a little bit about it. Preparations: 1. build an nis server. set up an nfs server. nis and nfs can be the same server. You can try different servers. In this article, two servers are used. 3. after completing the nis client configuration, we performed The autofs setting experiment on the nis client. First, we switched to the account niSUSEr1. Although we found that nisus Autofs is a very heavy Mount method, it is also the most commonly used mounting method. The following is a short description. Preparations: 1. build an nis server. set up an nfs server. nis and nfs can be the same server. You can try different servers. In this article, two servers are used. 3. after completing the nis client configuration, we performed The autofs setting experiment on the nis client. First, we switched to the account niSUSEr1. We can see that although the nisuser account has been found, there is no home directory, so there are corresponding prompts on the screen, such as 650) this. width = 650; "border = 0> # rpm-qa | grep autofs [Check whether autofs is installed. If not, install autofs in yum mode] 650) this. width = 650; "border = 0> # vim/etc/auto. add "/home/nishome/etc/auto. misc "650) this. width = 650; "border = 0> # vim/etc/auto. misc [edit autofs to add "*" from configuration file] -Ro, soft, intr 192.168.1.2:/nishome /&(650) this. width = 650; "border = 0> # service autofs restart [restart the service, which does not seem useful] 650) this. width = 650; "border = 0> # service autofs stop [stop service] # service autofs start [start service] 650) this. width = 650; "border = 0> switch to the nisuser1 account again, and find the Home Directory, such as 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.