RHCE試験無料問題集「RedHat Red Hat Certified Engineer - RHCE 認定」

CORRECT TEXT
Update the kernel from ftp://instructor.example.com/pub/updates.
According the following requirements:
The updated kernel must exist as default kernel after rebooting the system.
The original kernel still exists and is available in the system.
正解:
rpm-ivhkernel-firm...rpm-ivhkernel...
CORRECT TEXT
The system ldap.example.com provides an LDAP authentication service.
Your system should bind to this service as follows:
The base DN for the authentication service is dc=domain11, dc=example, dc=com LDAP is used to provide both account information and authentication information. The connection should be encrypted using the certificate at http://host.domain11.example.com/pub/domain11.crt
When properly configured, ldapuserX should be able to log into your system, but will not have a home directory until you have completed the autofs requirement. Username: ldapuser11
Password: password
正解:
system-config-authenticationLDAPuserDN=dc=domain11dc=exampledc=comServer=host.domain11.example.comCertificate=http://host.domain11.example.com/pub/domain11.crt(enterurlcarefullytheremaybe//or..)LDAPpasswordOKstartingsssd
su-ldapuser11DisplayBashprompt
#exit
CORRECT TEXT
We are working on /data initially the size is 2GB. The /dev/test0/lvtestvolume is mount on /data. Now you required more space on /data but you already added all disks belong to physical volume. You saw that you have unallocated space around 5 GB on your harddisk. Increase the size of lvtestvolume by 5GB.
正解:
Createapartitionhavingsize5GBandchangethesysteid'8e'.
usepartprobecommand
pvcreate/dev/hda9Supposeyourpartitionnumberishda9.
vgextendtest0/dev/hda9vgextendcommandaddthephysicaldiskonvolumegroup.
lvextend-L+5120M/dev/test0/lvtestvolume
verifyusinglvdisplay/dev/test0/lvtestvolume.
CORRECT TEXT
One Logical Volume named lv1 is created under vg0. The Initial Size of that Logical Volume is 100MB. Now you required the size 500MB. Make successfully the size of that Logical Volume 500M without losing any data. As well as size should be increased online.
正解:
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.
CORRECT TEXT
Download the document from ftp://instructor.example.com/pub/testfile, find all lines containing [abcde] and redirect to /MNT/answer document, then rearrange the order according the original content.
正解:
Downloadthefileto/tmpfirstgrep[abcde]/tmp/testfile>/mnt/answer
CORRECT TEXT
Configure your Host Name, IP Address, Gateway and DNS.
Host name: station.domain40.example.com
/etc/sysconfig/network
hostname=abc.com
hostname abc.com
IP Address:172.24.40.40/24
Gateway172.24.40.1
DNS:172.24.40.1
正解:
#cd/etc/syscofig/network-scripts/
#ls
#vimifcfg-eth0(ConfigureIPAddressGatewayandDNS)IPADDR=172.24.40.40GATEWAY=172.24.40.1DNS1=172.24.40.1
#vim/etc/sysconfig/network(ConfigureHostName)HOSTNAME=station.domain40.example.comORGraphicalInterfaces:System->Preference->NetworkConnections(ConfigureIPAddressGatewayandDNS)Vim/etc/sysconfig/network(ConfigureHostName)
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
CORRECT TEXT
Add users: user2, user3.
The Additional group of the two users: user2, user3 is the admin group Password: redhat
正解:
#useradd-Gadminuser2
#useradd-Gadminuser3
#passwduser2redhat
#passwduser3redhat
CORRECT TEXT
Create a catalog under /home named admins. Its respective group is requested to be the admin group. The group users could read and write, while other users are not allowed to access it. The files created by users from the same group should also be the admin group.
正解:
#cd/home/
#mkdiradmins/
#chown.adminadmins/
#chmod770admins/
#chmodg+sadmins/
CORRECT TEXT
Configure NTP.
Configure NTP service, Synchronize the server time, NTP server: classroom.example.com
正解:
Configuretheclient:Yum-yinstallchronyVim/etc/chrony.confAdd:serverclassroom.example.comiburstStart:systemctlenablechronydsystemctlrestartchronydValidate:timedatectlstatus