RHCE 無料問題集「RedHat Red Hat Certified Engineer - RHCE」

CORRECT TEXT
Create a user alex with a userid of 3400. The password for this user should be redhat.
正解:
useradd-u3400alex
passwdalex
su-alex
CORRECT TEXT
Create a user named alex, and the user id should be 1234, and the password should be alex111.
正解:
#useradd-u1234alex
#passwdalexalex111alex111ORechoalex111|passwd-stdinalex
CORRECT TEXT
Create a volume group, and set 8M as a extends. Divided a volume group containing 50 extends on volume group lv (lvshare), make it as ext4 file system, and mounted automatically under /mnt/data. And the size of the floating range should set between 380M and 400M.
正解:
#fdisk
#partprobe
#pvcreate/dev/vda6
#vgcreate-s8Mvg1/dev/vda6-s
#lvcreate-nlvshare-l50vg1-l
#mkfs.ext4/dev/vg1/lvshare
#mkdir-p/mnt/data
#vim/etc/fstab/dev/vg1/lvshare/mnt/dataext4defaults00
#mount-a
#df-h
CORRECT TEXT
Create a backup file named /root/backup.tar.bz2, which contains the contents of /usr/local, bar must use the bzip2 compression.
正解:
cd/usr/localtar-jcvf/root/backup.tar.bz2*mkdir/testtar-jxvf/root/backup.tar.bz2-C/test/
CORRECT TEXT
Create a swap space, set the size is 600 MB, and make it be mounted automatically after rebooting the system (permanent mount).
正解:
if=/dev/zeroof=/swapfilebs=1Mcount=600mkswap/swapfile/etc/fstab:/swapfileswapswapdefaults00mount-a
CORRECT TEXT
Binding to an external validation server.
System server.domain11.example.com provides a LDAP validation service, your system should bind to this service as required:
Base DN of validation service is dc=example,dc=com
LDAP is used for providing account information and validation information Connecting and using the certification of http://server.domain11.example.com/pub/EXAMPLE-CA-CERT to encrypt
After the correct configuration, ldapuser1 can log into your system, it does not have HOME directory until you finish autofs questions, ldapuser1 password is password.
正解:
yum-yinstallsssdauthconfig-gtkkrb5-workstationauthconfig-gtk//openthegraphicalinterfaceModifyuseraccountdatabasetoldapfillupDNandLDAPSERVERasquestionsrequireduseTLStoencryptconnectionsmakingtickwritehttp://server.domain11.example.com/pub/EXAMPLE-CA-CERTtodownloadcaauthenticationmethodchooseldappassword.Youcantestiftheldapuserisaddedbythefollowingcommand:Idldapuser1Note:userpassworddoesn'tnotneedtoset
CORRECT TEXT
Make a swap partition having 100MB. Make Automatically Usable at System Boot Time.
正解:
Usefdisk/dev/hda->Tocreatenewpartition.
Typen->ForNewpartition
ItwillaskforLogicalorPrimaryPartitions.Presslforlogical.
ItwillaskfortheStartingCylinder:UsetheDefaultbypressingEnterKey.
TypetheSize:+100M->YoucanSpecifyeitherLastcylinderofSizehere.
PressPtoverifythepartitionslistsandrememberthepartitionsname.DefaultSystemIDis83thatmeansLinuxNative.
TypettochangetheSystemIDofpartition.
TypePartitionNumber
Type82thatmeansLinuxSwap.
Presswtowriteonpartitionstable.
EitherRebootorusepartprobecommand.
mkswap/dev/hda?->TocreateSwapFilesystemonpartition.
swapon/dev/hda?->ToenabletheSwapspacefrompartition.
free-m->VerifyEitherSwapisenabledornot.
vi/etc/fstab/dev/hda?swapswapdefaults00
ReboottheSystemandverifythatswapisautomaticallyenabledornot.
CORRECT TEXT
The firewall must be open.
正解:
/etc/init.d/iptablesstartiptables-Fiptables-Xiptables-Z/etc/init.d/iptablessavechkconfigiptableson
CORRECT TEXT
Configure /var/tmp/fstab Permission.
Copy the file /etc/fstab to /var/tmp/fstab. Configure var/tmp/fstab permissions as the following:
Owner of the file /var/tmp/fstab is Root, belongs to group root
File /var/tmp/fstab cannot be executed by any user
User natasha can read and write /var/tmp/fstab
User harry cannot read and write /var/tmp/fstab
All other users (present and future) can read var/tmp/fstab.
正解:
cp/etc/fstab/var/tmp/
/var/tmp/fstabviewtheownersetfacl-mu:natasha:rw-/var/tmp/fstabsetfacl-mu:haryy:---/var/tmp/fstabUsegetfacl/var/tmp/fstabtoviewpermissions
CORRECT TEXT
Install the Kernel Upgrade.
Install suitable kernel update from:
http://server.domain11.example.com/pub/updates.
Following requirements must be met:
Updated kernel used as the default kernel of system start-up.
The original kernel is still valid and can be guided when system starts up.
正解:
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

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡