最新的RedHat Red Hat Certified Engineer - RHCE (RHCE Korean Version) - RHCE Korean免費考試真題
올바른 텍스트
시스템 동기를 172.24.40.10으로 구성합니다.
시스템 동기를 172.24.40.10으로 구성합니다.
正確答案:
GraphicalInterfaces:System-->Administration-->Date&TimeOR
#system-config-date
#system-config-date
올바른 텍스트
커널 업그레이드를 설치합니다.
다음에서 적합한 커널 업데이트를 설치하세요.
http://server.domain11.example.com/pub/updates.
다음 요구 사항을 충족해야 합니다.
업데이트된 커널을 시스템 시작의 기본 커널로 사용합니다.
원래 커널은 여전히 유효하며 시스템이 시작될 때 안내될 수 있습니다.
커널 업그레이드를 설치합니다.
다음에서 적합한 커널 업데이트를 설치하세요.
http://server.domain11.example.com/pub/updates.
다음 요구 사항을 충족해야 합니다.
업데이트된 커널을 시스템 시작의 기본 커널로 사용합니다.
원래 커널은 여전히 유효하며 시스템이 시작될 때 안내될 수 있습니다.
正確答案:
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
올바른 텍스트
방화벽이 열려 있어야 합니다.
방화벽이 열려 있어야 합니다.
正確答案:
/etc/init.d/iptablesstartiptables-Fiptables-Xiptables-Z/etc/init.d/iptablessavechkconfigiptableson
올바른 텍스트
autofs를 구성합니다.
필요에 따라 autofs가 LDAP 홈 디렉토리에 자동으로 마운트되도록 구성합니다.
server.domain11.example.com은 NFS를 사용하여 홈을 시스템에 공유합니다. 이 파일 시스템에는 사전
사용자 ldapuserX의 홈 디렉토리가 구성되었습니다.
ldapuserX의 홈 디렉토리는 다음과 같습니다.
server.domain11.example.com /홈/게스트/ldapuser
ldapuserX의 홈 디렉토리는 로컬 /home/guests의 ldapuserX에 자동으로 마운트되어야 합니다. 홈 디렉토리의 쓰기 권한은 사용자 ldapuser1에게 사용 가능해야 합니다. 비밀번호는 password입니다.
autofs를 구성합니다.
필요에 따라 autofs가 LDAP 홈 디렉토리에 자동으로 마운트되도록 구성합니다.
server.domain11.example.com은 NFS를 사용하여 홈을 시스템에 공유합니다. 이 파일 시스템에는 사전
사용자 ldapuserX의 홈 디렉토리가 구성되었습니다.
ldapuserX의 홈 디렉토리는 다음과 같습니다.
server.domain11.example.com /홈/게스트/ldapuser
ldapuserX의 홈 디렉토리는 로컬 /home/guests의 ldapuserX에 자동으로 마운트되어야 합니다. 홈 디렉토리의 쓰기 권한은 사용자 ldapuser1에게 사용 가능해야 합니다. 비밀번호는 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.
/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.
올바른 텍스트
사용자 소유자와 그룹 소유자 멤버만 전체에 접근할 수 있는 데이터를 만듭니다.
사용자 소유자와 그룹 소유자 멤버만 전체에 접근할 수 있는 데이터를 만듭니다.
正確答案:
chmod770/data
Verifyusing:ls-ld/dataPreviewshouldbelike:drwxrwx---2rootsysadmin4096Mar1618:08/dataTochangethepermissionondirectoryweusethechmodcommand.Accordingtothequestionthatonlytheowneruser(root)andgroupmember(sysadmin)canfullyaccessthedirectoryso:chmod770/data
Verifyusing:ls-ld/dataPreviewshouldbelike:drwxrwx---2rootsysadmin4096Mar1618:08/dataTochangethepermissionondirectoryweusethechmodcommand.Accordingtothequestionthatonlytheowneruser(root)andgroupmember(sysadmin)canfullyaccessthedirectoryso:chmod770/data
올바른 텍스트
데이터 그룹 소유자에 파일/디렉토리를 만든 사람은 자동으로 데이터와 같은 그룹 소유자에 속해야 합니다.
데이터 그룹 소유자에 파일/디렉토리를 만든 사람은 자동으로 데이터와 같은 그룹 소유자에 속해야 합니다.
正確答案:
1.chmodg+s/data2.Verifyusing:ls-ld/dataPermissionshouldbelikethis:drwxrws---2rootsysadmin4096Mar1618:08/dataIfSGIDbitissetondirectorythenwhoeveryuserscreatesthefilesondirectorygroupownerautomaticallytheownerofparentdirectory.TosettheSGIDbit:chmodg+sdirectoryToRemovetheSGIDbit:chmodg-sdirectory
올바른 텍스트
시스템이 192.168.0.0/24 네트워크로 구성되어 있고 네임서버는 192.168.0.254입니다. server1.example.com으로 성공적으로 연결되도록 하세요.
시스템이 192.168.0.0/24 네트워크로 구성되어 있고 네임서버는 192.168.0.254입니다. server1.example.com으로 성공적으로 연결되도록 하세요.
正確答案:
nameserverisspecifiedinquestion1.Vi/etc/resolv.confnameserver192.168.0.2542.hostserver1.example.com
올바른 텍스트
vg0 아래에 lv1이라는 논리 볼륨 하나가 생성됩니다. 이 논리 볼륨의 초기 크기는 100MB입니다. 이제 필요한 크기는 500MB입니다. 데이터 손실 없이 논리 볼륨의 크기를 500MB로 성공적으로 조정합니다. 또한, 크기를 온라인으로 늘려야 합니다.
vg0 아래에 lv1이라는 논리 볼륨 하나가 생성됩니다. 이 논리 볼륨의 초기 크기는 100MB입니다. 이제 필요한 크기는 500MB입니다. 데이터 손실 없이 논리 볼륨의 크기를 500MB로 성공적으로 조정합니다. 또한, 크기를 온라인으로 늘려야 합니다.
正確答案:
TheLVMsystemorganizesharddisksintoLogicalVolume(LV)groups.Essentiallyphysicalharddiskpartitions(orpossiblyRAIDarrays)aresetupinabunchofequalsizedchunksknownasPhysicalExtents(PE).AsthereareseveralotherconceptsassociatedwiththeLVMsystemlet'sstartwithsomebasicdefinitions:PhysicalVolume(PV)isthestandardpartitionthatyouaddtotheLVMmix.Normallyaphysicalvolumeisastandardprimaryorlogicalpartition.ItcanalsobeaRAIDarray.PhysicalExtent(PE)isachunkofdiskspace.EveryPVisdividedintoanumberofequalsizedPEs.EveryPEinaLVgroupisthesamesize.DifferentLVgroupscanhavedifferentsizedPEs.LogicalExtent(LE)isalsoachunkofdiskspace.EveryLEismappedtoaspecificPE.LogicalVolume(LV)iscomposedofagroupofLEs.Youcanmountafilesystemsuchas/homeand/varonanLV.VolumeGroup(VG)iscomposedofagroupofLVs.ItistheorganizationalgroupforLVM.Mostofthecommandsthatyou'lluseapplytoaspecificVG.
VerifythesizeofLogicalVolume:lvdisplay/dev/vg0/lv1
VerifytheSizeonmounteddirectory:df-hordf-hmounteddirectoryname
Use:lvextend-L+400M/dev/vg0/lv1
ext2online-d/dev/vg0/lv1tobringextendedsizeonline.
AgainVerifyusinglvdisplayanddf-hcommand.
VerifythesizeofLogicalVolume:lvdisplay/dev/vg0/lv1
VerifytheSizeonmounteddirectory:df-hordf-hmounteddirectoryname
Use:lvextend-L+400M/dev/vg0/lv1
ext2online-d/dev/vg0/lv1tobringextendedsizeonline.
AgainVerifyusinglvdisplayanddf-hcommand.
올바른 텍스트
다음과 같이 LDAP 사용자의 홈 디렉토리를 자동으로 마운트하도록 autofs를 구성합니다.
host.domain11.example.com은 /home을 시스템으로 NFS로 내보냅니다.
이 파일 시스템에는 사용자 ldapuser11에 대한 미리 구성된 홈 디렉토리가 포함되어 있습니다. ldapuser11의 홈 디렉토리는 host.domain11.example.com /rhome/ldapuser11입니다. ldapuser11의 홈 디렉토리는 /rhome/ldapuser11로 로컬로 자동 마운트되어야 합니다.
홈 디렉토리는 사용자가 쓸 수 있어야 합니다.
ldapuser11의 비밀번호는 'password'입니다.
다음과 같이 LDAP 사용자의 홈 디렉토리를 자동으로 마운트하도록 autofs를 구성합니다.
host.domain11.example.com은 /home을 시스템으로 NFS로 내보냅니다.
이 파일 시스템에는 사용자 ldapuser11에 대한 미리 구성된 홈 디렉토리가 포함되어 있습니다. ldapuser11의 홈 디렉토리는 host.domain11.example.com /rhome/ldapuser11입니다. ldapuser11의 홈 디렉토리는 /rhome/ldapuser11로 로컬로 자동 마운트되어야 합니다.
홈 디렉토리는 사용자가 쓸 수 있어야 합니다.
ldapuser11의 비밀번호는 'password'입니다.
正確答案:
vim/etc/auto.master/rhome/etc/auto.miscwq!
#vim/etc/auto.miscldapuser11--rwsynchost.domain11.example.com:/rhome/ldpauser11:wq!
#serviceautofsrestart
serviceautofsreload
chkconfigautofson
su-ldapuser11Loginldapuserwithhomedirectory
#exit
#vim/etc/auto.miscldapuser11--rwsynchost.domain11.example.com:/rhome/ldpauser11:wq!
#serviceautofsrestart
serviceautofsreload
chkconfigautofson
su-ldapuser11Loginldapuserwithhomedirectory
#exit
올바른 텍스트
사용자 3명을 추가하세요: 해리, 나타샤, 톰.
요구 사항: 두 사용자의 추가 그룹:
해리, 나타샤가 관리자 그룹이에요.
사용자: tom의 로그인 셸은 대화형이 아니어야 합니다.
사용자 3명을 추가하세요: 해리, 나타샤, 톰.
요구 사항: 두 사용자의 추가 그룹:
해리, 나타샤가 관리자 그룹이에요.
사용자: tom의 로그인 셸은 대화형이 아니어야 합니다.
正確答案:
#useradd-Gadminharry
#useradd-Gadminnatasha
#useradd-s/sbin/nologintom
#idharry;idNatasha(Showadditionalgroup)
#cat/etc/passwd(Showtheloginshell)OR
#system-config-users
#useradd-Gadminnatasha
#useradd-s/sbin/nologintom
#idharry;idNatasha(Showadditionalgroup)
#cat/etc/passwd(Showtheloginshell)OR
#system-config-users