RedHat RHCE Actual Free Exam Questions & Community Discussion
CORRECT TEXT
/data Directory is shared from the server1.example.com server. Mount the shared directory that:
a. when user try to access, automatically should mount
b. when user doesn't use mounted directory should unmount automatically after 50 seconds.
c. shared directory should mount on /mnt/data on your machine.
/data Directory is shared from the server1.example.com server. Mount the shared directory that:
a. when user try to access, automatically should mount
b. when user doesn't use mounted directory should unmount automatically after 50 seconds.
c. shared directory should mount on /mnt/data on your machine.
Correct Answer:
1.vi/etc/auto.master/mnt/etc/auto.misc--timeout=50
vi/etc/auto.misc
data-rwsoftintrserver1.example.com:/data
serviceautofsrestart
chkconfigautofsonWhenyoumounttheotherfilesystemyoushouldunmountthemountedfilesystemAutomountfeatureoflinuxhelpstomountataccesstimeandaftercertainsecondswhenuserunaccessthemounteddirectoryautomaticallyunmountthefilesystem./etc/auto.masteristhemasterconfigurationfileforautofsservice.Whenyoustarttheserviceitreadsthemountpointasdefinedin/etc/auto.master.
vi/etc/auto.misc
data-rwsoftintrserver1.example.com:/data
serviceautofsrestart
chkconfigautofsonWhenyoumounttheotherfilesystemyoushouldunmountthemountedfilesystemAutomountfeatureoflinuxhelpstomountataccesstimeandaftercertainsecondswhenuserunaccessthemounteddirectoryautomaticallyunmountthefilesystem./etc/auto.masteristhemasterconfigurationfileforautofsservice.Whenyoustarttheserviceitreadsthemountpointasdefinedin/etc/auto.master.
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.
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.
Correct Answer:
nameserverisspecifiedinquestion1.Vi/etc/resolv.confnameserver192.168.0.2542.hostserver1.example.com
CORRECT TEXT
Resize the logical volume vo and its filesystem to 290 MB. Make sure that the filesystem contents remain intact.
Note: Partitions are seldom exactly the same size requested, so a size within the range of 260 MB to 320 MiB is acceptable.
Resize the logical volume vo and its filesystem to 290 MB. Make sure that the filesystem contents remain intact.
Note: Partitions are seldom exactly the same size requested, so a size within the range of 260 MB to 320 MiB is acceptable.
Correct Answer:
df-hTlvextend-L+100M/dev/vg0/volvscanxfs_growfs/home///homeisLVMmounteddirectoryNote:Thisstepisonlyneedtodoinourpracticeenvironmentyoudonotneedtodointherealexamresize2fs/dev/vg0/vo//Usethiscomandtoupdateintherealexamdf-hTORe2fsck-f/dev/vg0/voumount/homeresize2fs/dev/vg0/vorequiredpartitioncapacitysuchas100Mlvreduce-l100M/dev/vg0/vomount/dev/vg0/vo/homedf-Ht
CORRECT TEXT
Configure a user account.
Create a user iar , uid is 3400. Password is redhat
Configure a user account.
Create a user iar , uid is 3400. Password is redhat
Correct Answer:
useradd-u3400iarpasswdiar
CORRECT TEXT
Upgrading the kernel as 2.6.36.7.1, and configure the system to Start the default kernel, keep the old kernel available.
Upgrading the kernel as 2.6.36.7.1, and configure the system to Start the default kernel, keep the old kernel available.
Correct Answer:
#cat/etc/grub.conf
#cd/boot
#lftpit
#getdr/dom/kernel-xxxx.rpm
#rpm-ivhkernel-xxxx.rpm
#vim/etc/grub.confdefault=0
#cd/boot
#lftpit
#getdr/dom/kernel-xxxx.rpm
#rpm-ivhkernel-xxxx.rpm
#vim/etc/grub.confdefault=0
CORRECT TEXT
Configure your NFS services. Share the directory by the NFS Shared services.
Configure your NFS services. Share the directory by the NFS Shared services.
Correct Answer:
/etc/init.d/rpcbindstart/etc/init.d/nfslockstart/etc/init.d/nfsstartchkconfigrpcbindonchkconfignfslockonchkconfignfsonshowmount-elocalhost
CORRECT TEXT
Change the logical volume capacity named vo from 190M to 300M. and the size of the floating range should set between 280 and 320. (This logical volume has been mounted in advance.)
Change the logical volume capacity named vo from 190M to 300M. and the size of the floating range should set between 280 and 320. (This logical volume has been mounted in advance.)
Correct Answer:
#vgdisplay(Checkthecapacityofvgifthecapacityisnotenoughneedtocreatepvvgextendlvextend)
#lvdisplay(Checklv)
#lvextend-L+110M/dev/vg2/lv2
#resize2fs/dev/vg2/lv2mount-a(Verify)-------------------------------------------------------------------------------(Decreaselvm)
#umount/media
#fsck-f/dev/vg2/lv2
#resize2fs-f/dev/vg2/lv2100M
#lvreduce-L100M/dev/vg2/lv2
#mount-a
#lvdisplay(Verify)OR
#e2fsck-f/dev/vg1/lvm02
#resize2fs-f/dev/vg1/lvm02
#mount/dev/vg1/lvm01/mnt
#lvreduce-L1G-n/dev/vg1/lvm02
#lvdisplay(Verify)
#lvdisplay(Checklv)
#lvextend-L+110M/dev/vg2/lv2
#resize2fs/dev/vg2/lv2mount-a(Verify)-------------------------------------------------------------------------------(Decreaselvm)
#umount/media
#fsck-f/dev/vg2/lv2
#resize2fs-f/dev/vg2/lv2100M
#lvreduce-L100M/dev/vg2/lv2
#mount-a
#lvdisplay(Verify)OR
#e2fsck-f/dev/vg1/lvm02
#resize2fs-f/dev/vg1/lvm02
#mount/dev/vg1/lvm01/mnt
#lvreduce-L1G-n/dev/vg1/lvm02
#lvdisplay(Verify)
0
0
0
10
