101 questions and answers for RHCE (8) and 101 questions and answers for rhce
To make it easier for people who plan to perform RedHat certification and O & M work to learn more systematically, I have selected 101 RHCE questions and answers from the Internet. Considering that the daily learning volume is large, therefore, we extract 10 questions every day for pushing until the push is complete. I hope it will be useful to you. Thank you.
71. Configure the pop3 Service
Yum install dovecot-y
Vim/etc/dovecot. conf
Comment out comments in line 20: protocols = imap imaps pop3 pop3s
/Etc/init. d/dovecot restart
Chkconfig dovecot on
72. Allow all hosts in example.com to access the local ssh service.
73. All Hosts in hack.org are denied access to the local ssh service.
Vim/etc/hosts. deny
Sshd: 172.25.0.0/255.255.255.0.0
74. Configure The autofs automatic mounting function to enable all NIS to automatically mount their home directories after logging on to the system. The share path of the Home Directory through the NFS Network File System is: /rhome/stationx (x indicates the current station number) Automatic mount point:/rhome (for example, station1, after the configuration is successful, it should be automatically mounted to/rhome/station1)
Vim/etc/auto. master
Add a line/rhome/etc/auto. nis at any location
Cp/etc/auto. misc/etc/auto. nis
Vim/etc/auto. nis
Add a line of stationX-rw, soft, intr server1.example.com:/rhome/stationX at any location
/Etc/init. d/autofs restart
Chkconfig autofs on
Check su to see if shell exists
75. copy the file/etc/fstab to the/var/tmp directory and set the relevant permissions to meet the following requirements:
Cp/etc/fstab/var/tmp
A. The file/var/tmp/fstab belongs to the root user.
B. The group is root.
Cd/var/tmp
Chown root: root fstab
C. Any user has no permission to execute fstab.
Chmod a-x fstab
D. The user usr-1 has read and write permissions on this file
Setfacl-m u: usr-1: rw fstab
E. The user usr-2 does not have read and write permissions on this file
Setfacl-m u: usr-2: -- fstab
F. All other users have read permission on this file
Chmod a + r fstab
Verify ll and getfacl fstab
Custom scheduled tasks, user usr-2 run the following tasks at every day/bin/echo good_luck
Crontab-eu usr-2
30 14 ***/bin/echo good_luck (minute, hour, day, month, week)
/Etc/inid. t/crond restart
Chkconfig crond on
Detecting crontab-lu usr-2
77. Configure the NIS client to obtain NIS user information from the NIS Server server1.example.com. The NIS domain name is rhcss. All NIS user passwords are stationx (x is the current station number)
Authconfig-tui
Select NIS → domain: rhcss → server: server1.example.com
Check: yptest
78.
Wget ftp://server1.example.com/pub/update/developer.rpm
Rpm-ivh *. rpm
Vim/etc/grub. conf
Modify default = 0 (new kernel is generally)
79. enable the local IP forwarding function (route forwarding)
Vim/etc/sysctl. conf
Net. ipv4.ip _ forward = 1
Sysctl-p (if the modified content proves successful)
80. Add a network printer. The printer is located at server1.example.com and the print queue is stationx (x is the current station number)
/Etc/init. d/cups start (start the printer service)
Chkconfig cups on (automatically started upon startup)
System-management-printing-new printer-printer name as required (forward) -- ipp enter host name printer name (forward) -- model select last (forward) -- Application
Select printer-set as default printer
Free Linux cloud computing courses are on course,5 days freeO & M dry goods content free of charge,Click the end of the article"Read original"Free O & M courses!Speed to grab ~~~~
PS: Check out the free gift package provided by xiaobian ~
Benefits | more than 10 thousand sets of PPT templates for free! Unconditional receipt!
Free | more than 1000 sets of resume templates are offered free of charge, and a resume creation tutorial is provided!
Free of charge | the "Shell script 100 cases" ebook is free of charge and must be used for O & M ~
Click 【Read original], Free to listen to five days of Linux O & M Dry Goods sharing courses, hot discussion, come to grab!