CORRECT TEXT
Configure autofs.
Configure the autofs automatically mount to the home directory of LDAP, as required:
server.domain11.example.com use NFS to share the home to your system. This file system contains a pre
configured home directory of user ldapuserX.
Home directory of ldapuserX is:
server.domain11.example.com /home/guests/ldapuser
Home directory of ldapuserX should automatically mount to the ldapuserX of the local /home/guests Home directory's write permissions must be available for users ldapuser1's password is password
正解:
yuminstall-yautofsmkdir/home/rehome
/etc/auto.master/home/rehome/etc/auto.ldapKeepthenexitcp/etc/auto.misc/etc/auto.ldap
/etc/auto.ldapldapuserX-fstype=nfsrwserver.domain11.example.com:/home/guests/Keepthenexitsystemctlstartautofssystemctlenableautofssu-ldapuserX//testIftheabovesolutionscannotcreatefilesorthecommandpromptis-bash-4.2$itmaybeexistmulti-leveldirectorythisneedstochangetheserver.domain11.example.com:/home/guests/toserver.domain11.example.com:/home/guests/ldapuserX.Whatismulti-leveldirectory?ItmeansthereisadirectoryofldapuserXunderthe/home/guests/ldapuserXinthequestions.Thisdirectoryistherealdirectory.
質問 2:
CORRECT TEXT
You have a domain named www.rhce.com associated IP address is 192.100.0.2. Configure the Apache web server by implementing the SSL for encryption communication.
正解:
vi/etc/httpd/conf.d/ssl.conf<VirtualHost192.100.0.2>ServerNamewww.rhce.comDocumentRoot/var/www/rhceDirectoryIndexindex.htmlindex.htmServerAdminwebmaster@rhce.comSSLEngineonSSLCertificateFile/etc/httpd/conf/ssl.crt/server.crtSSLCertificateKeyFile/etc/httpd/conf/ssl.key/server.key</VirtualHost>
cd/etc/httpd/conf3maketestcert
Createthedirectoryandindexpageonspecifiedpath.(Indexpagecandownloadfromftp://server1.example.comatexamtime)
servicehttpdstart|restart
chkconfighttpdonApachecanprovideencryptedcommunicationsusingSSL(SecureSocketLayer).Tomakeuseofencryptedcommunicationaclientmustrequesttohttpsprotocolwhichisusesport443.ForHTTPSprotocolrequiredthecertificatefileandkeyfile.
質問 3:
CORRECT TEXT
One Logical Volume named /dev/test0/testvolume1 is created. The initial Size of that disk is 100MB now you required more 200MB. Increase the size of Logical Volume, size should be increase on online.
正解:
lvextend-L+200M/dev/test0/testvolume1Uselvdisplay/dev/test0/testvolume1)
ext2online-d/dev/test0/testvolume1lvextendcommandisusedtheincreasethesizeofLogicalVolume.Othercommandlvresizecommandalsoheretoresize.Andtobringincreasedsizeononlineweusetheext2onlinecommand.
質問 4:
CORRECT TEXT
Configure your NFS services. Share the directory by the NFS Shared services.
正解:
/etc/init.d/rpcbindstart/etc/init.d/nfslockstart/etc/init.d/nfsstartchkconfigrpcbindonchkconfignfslockonchkconfignfsonshowmount-elocalhost
質問 5:
CORRECT TEXT
Your System is configured in 192.168.0.0/24 Network and your nameserver is 192.168.0.254. Make successfully resolve to server1.example.com.
正解:
nameserverisspecifiedinquestion1.Vi/etc/resolv.confnameserver192.168.0.2542.hostserver1.example.com
質問 6:
CORRECT TEXT
Create the following users, groups, and group memberships:
A group named adminuser.
A user natasha who belongs to adminuser as a secondary group A user harry who also belongs to adminuser as a secondary group.
A user sarah who does not have access to an interactive shell on the system, and who is not a member of adminuser, natasha, harry, and sarah should all have the password of redhat.
正解:
groupaddsysmgrs
useradd-GsysmgrsNatasha
Wecanverifythenewlycreateduserbycat/etc/passwd)
#useradd-Gsysmgrsharry
#useradd-s/sbin/nologinsarrh
#passwdNatasha
#passwdharry
#passwdsarrah
質問 7:
CORRECT TEXT
Install a FTP server, and request to anonymous download from /var/ftp/pub catalog. (it needs you to configure yum direct to the already existing file server.)
正解:
#cd/etc/yum.repos.d
#vimlocal.repo[local]name=local.repobaseurl=file:///mntenabled=1gpgcheck=0
#yummakecache
#yuminstall-yvsftpd
#servicevsftpdrestart
#chkconfigvsftpdon
#chkconfig--listvsftpd
#vim/etc/vsftpd/vsftpd.confanonymous_enable=YES
質問 8:
CORRECT TEXT
A YUM source has been provided in the http://instructor.example.com/pub/rhel6/dvd
Configure your system and can be used normally.
正解:
/etc/yum.repos.d/base.repo[base]name=basebaseurl=http://instructor.example.com/pub/rhel6/dvdgpgcheck=0yumlist
Yamada -
RHCE初心者ですが、この問題集を読んで基礎を理解することができました。素敵な問題集です。