RedHat Red Hat Certified Engineer - RHCE (RHCE Korean Version) - RHCE Korean Exam Practice Test

올바른 텍스트
랩에 하나의 도메인 RHCE가 구성되어 있으며, 도메인 서버는 server1.example.com입니다. nisuser2001, nisuser2002, nisuser2003 사용자는 192.168.0.254:/rhome/stationx/nisuser2001 서버에 생성됩니다. NIS 사용자가 시스템에 로그인할 때 홈 디렉터리가 자동으로 마운트되도록 하세요. 홈 디렉터리는 /rhome/stationx/ 서버에서 별도로 공유되며, 여기서 x는 스테이션 번호입니다.
Correct Answer:
usetheauthconfig--nisserver=<NISSERVER>--nisdomain=<NISDOMAIN>--updateExample:authconfig--niserver=192.168.0.254--nisdomain=RHCE--updateorsystem-config-authentication
ClickonEnableNIS
TypetheNISDomain:RHCE
TypeServer192.168.0.254thenclickonnextandok
Youwillgetaokmessage.
CreateaDirectory/rhome/stationxwherexisyourstationnumber.
vi/etc/auto.masterandwriteattheendoffile/rhome/stationx/etc/auto.home--timeout=60
vi/etc/auto.homeandwrite*-rwsoftintr192.168.0.254:/rhome/stationx/&Note:pleasespecifyyourstationnumberintheplaceofx.
Serviceautofsrestart
Loginasthenisuser2001ornisuser2002onanotherterminalwillbeSuccess.AccordingtoquestionRHCEdomainisalreadyconfigured.WehavetomakeaclientofRHCEdomainandautomaticallymountthehomedirectoryonyoursystem.Tomakeamemberofdomainweusetheauthconfigwithoptionorsystem-configauthenticationcommand.Thereaarelotsofauthenticationserveri.eNISLDABSMBetc.NISisaRPCrelatedServicesnoneedtoconfiguretheDNSweshouldspecifytheNISserveraddress.HereAutomountfeatureisavailable.Whenusertriedtologinhomedirectorywillautomaticallymount.Theautomountserviceusedthe/etc/auto.masterfile.On/etc/auto.masterfilewespecifiedthemountpointtheconfigurationfileformountpoint.
올바른 텍스트
/usr/share/dict/words 파일에서 seismic 문자열이 포함된 모든 줄을 찾습니다. 이 모든 줄을 원래 순서대로 /root/wordlist 파일에 복사합니다. /root/wordlist 파일에는 빈 줄이 없어야 하며, 모든 줄은 /usr/share/dict/words 파일의 원본 줄과 정확히 일치해야 합니다.
Correct Answer:
grepseismic/usr/share/dict/words>/root/wordlist
올바른 텍스트
문자열 검색
/usr/share/dict/words에서 seismic 문자열이 포함된 모든 열을 찾은 다음, 모든 열을 원래 순서대로 /root/lines.tx에 복사합니다. 빈 줄이 없어야 하며, 모든 열은 원본 열의 정확한 복사본이어야 합니다.
Correct Answer:
grepseismic/usr/share/dict/words>/root/lines.txt
올바른 텍스트
1. /etc 디렉토리에서 10k 크기의 모든 파일이나 디렉토리를 찾아 /tmp/findfiles 디렉토리로 복사합니다.
2. Lucy가 소유자인 모든 파일이나 디렉토리를 찾아 /tmp/findfiles 디렉토리로 복사합니다.
Correct Answer:
(1)find/etc-size10k-execcp{}/tmp/findfiles\;(2)find/-userlucy-execcp-a{}/tmp/findfiles\;Note:Iffindusersandpermissionsyouneedtousecp-aoptionstokeepfilepermissionsanduserattributesetc.
올바른 텍스트
외부 검증 서버에 바인딩합니다.
시스템 server.domain11.example.com은 LDAP 검증 서비스를 제공하며, 시스템은 필요에 따라 이 서비스에 바인딩해야 합니다.
검증 서비스의 기본 DN은 dc=example,dc=com입니다.
LDAP는 계정정보 및 검증정보 제공에 사용되며 http://server.domain11.example.com/pub/EXAMPLE-CA-CERT 인증을 이용하여 암호화 연결 및 사용
올바른 구성 후, ldapuser1은 시스템에 로그인할 수 있으며, autofs 질문을 마칠 때까지 HOME 디렉토리가 없습니다. ldapuser1 비밀번호는 비밀번호입니다.
Correct Answer:
yum-yinstallsssdauthconfig-gtkkrb5-workstationauthconfig-gtk//openthegraphicalinterfaceModifyuseraccountdatabasetoldapfillupDNandLDAPSERVERasquestionsrequireduseTLStoencryptconnectionsmakingtickwritehttp://server.domain11.example.com/pub/EXAMPLE-CA-CERTtodownloadcaauthenticationmethodchooseldappassword.Youcantestiftheldapuserisaddedbythefollowingcommand:Idldapuser1Note:userpassworddoesn'tnotneedtoset
올바른 텍스트
커널 업그레이드를 설치합니다.
다음에서 적합한 커널 업데이트를 설치하세요.
http://server.domain11.example.com/pub/updates.
다음 요구 사항을 충족해야 합니다.
업데이트된 커널을 시스템 시작의 기본 커널로 사용합니다.
원래 커널은 여전히 ​​유효하며 시스템이 시작될 때 안내될 수 있습니다.
Correct Answer:
UsingthebrowseropentheURLinthequestiondownloadkernelfiletorootorhomedirectory.uname-r//checkthecurrentkernelversionrpm-ivhkernel-*.rpmvi/boot/grub.conf//checkSomequestionsare:Installandupgradethekernelasrequired.Toensurethatgrub2isthedefaultitemforstartup.Yumrepo:http://content.example.com/rhel7.0/x86-64/errataORuname-r//checkkernelYum-config-manager--add-repo="http://content.example.com/rhel7.0/x86-64/errata"YumcleanallYumlistkernel//installdirectlyYum-yinstallkernel//stuckwithitdonotpipe!Pleasedonotpipe!Defaultenablenewkernelgrub2-editenvlist//checkModifygrub2-set-default"kernelfullname"Grub2-mkconfig-o/boot/grub2/grub.cfg//Refresh
올바른 텍스트
harry가 소유한 파일을 찾아 카탈로그에 복사합니다: /opt/dir
Correct Answer:
#cd/opt/
#mkdirdir
#find/-userharry-execcp-rfp{}/opt/dir/\;
올바른 텍스트
YUM 저장소는 http://server.domain11.example.com/pub/x86_64/Server에서 제공되었습니다.
이 위치를 기본 저장소로 사용하도록 시스템을 구성합니다.
Correct Answer:
vim/etc/yum.repos/base.repo[base]name=basebaseurl=http://server.domain11.example.com/pub/x86_64/Servergpgcheck=0enable=1SaveandExitUseyumlistforvalidationtheconfigurationiscorrectiflistthepackageinformation.IftheYumconfigurationisnotcorrectthenmaybecannotanswerthefollowingquestions.
올바른 텍스트
NTP를 구성합니다.
NTP 서비스 구성, 서버 시간 동기화, NTP 서버: classroom.example.com
Correct Answer:
Configuretheclient:Yum-yinstallchronyVim/etc/chrony.confAdd:serverclassroom.example.comiburstStart:systemctlenablechronydsystemctlrestartchronydValidate:timedatectlstatus