Vous êtes sur la page 1sur 5

RHEL 6 EXAM PREPERATION MODULE RHCSA : 2hrs 30mins RHCE : 2hrs 0mins

RHCSA Instructions: Candidate will have to work on KVM for the exam. Click on Virtual Console icon on your desktop to start with your exam. The physical machine contains questions. Check the boxes as you are done with the question. The user name for your machine is user and the password for user is widget Basic configuration settingsIPADDR 172.24.10.25 NETMASK 255.255.255.0 GATEWAY- 172.24.10.254 NAME SERVER 172.24.10.254 HOSTNAME OF YOUR MACHINE station.domain10.example.com For configuring yum client on your machine refer repository of packages in http://rhcert.domain10.example.com/pub/x86_64/server Change the password of root to widget.

Questions 1. Resize logical volume /dev/vol/my_vol to 120 MB. The size may vary from 100MB to 180MB. The logical volume my_vol is already mounted on /home 2. Create user natasha , susan and david with password as widget. User david should not have access to login shell of the system. 3. Create a group sysmanagers. Make this group a secondary group for users natasha and susan. 4. Create a collaborative directory /home/manager. The directory should be owned by user root and group sysmanagers only. User natasha should have read and write access to this directory. Susan should not have any access to this directory. The directory should be readable by all other users. 5. Set a cron job for user natasha. A message should get displayed at 14:30 daily /bin/echohiya 6. Configure NTP with server rhcert.domain10.example.com 7. Configure FTP server. All users should be able to access pub by name anonymous. 8. Download upgraded kernel package from ftp://rhcert.domain10.ecample.com/pub/x86_64/rhcsa. The upgraded kernel should be the default kernel of your system whereas the original kernel should also be there. 9. Copy /etc/fstab to /var/tmp/fstab such that all users have rwx access to the file but user susan has no access to this file. 10. Create a user jacqulin with user id 3553 11. Make a new swap partition of 986MB and permanently mount it on your system. The old swap partition should not get deleted. 12. Find all files of user Jason and copy these files to /root/limit/

13. Make a new lvm in a new volume group. Name your volume group as myvol and lvm as my_lvm. The size of lvm should be of 64 extents and base size should be 16MB. Permanently mount the logical volume on /common directory. 14. Configure LDAP with base DN = ldap://host.domain10.example.com a. dc= domain10,dc=example,dc=com b. Enable TLS certificate and download certificate from location http://host.domain10.example.com c. User ldapuser10 should be able to switch on your machine. The users home directory should get created as he login into yours system. The password for ldapuser10 is password 15. Configure autofs such that the LDAP users home directory should automatically get mounted on your system. 16. Mount the LDAP users home directory on /rhome directory of your system. 17. Locate all uncommented lines in file /usr/share/libvertd and copy the lines in a same order on /root/list file. 18. Configure http by downloading file ftp://rhcert.domain10.example.com/pub/x86_64/rhcsa/station .html , rename it to index.html. the file should be access able as http://station.domain10.example.com

RHCE Instructions

The system will take ip address from DHCP server. You lie in domain 172.24.10.0/255.255.255.0 . Your machines hostname is station.domain10.example.com. The other domain available is 172.25.10.0/255.255.255.0 and is named as my133.org Change the password of root to flactreg. The available user on your system is user with password flactreg.

Questions 1. Enable selinux on your machine and change its mode to enforcing. 2. Enable IP forwarding 3. Deny cron access to user mike. It should not affect other users 4. Configure ssh service such that user harry should be allowed to access your machine via ssh and only members of your domain should only be allowed. 5. Configure ftp such that anonymous should be able to access pub. Deny ftp access to all domains, only your domain members should be allowed access. 6. Change kernel parameter kernstack to 1. The change should be acceptable at boot and should be visible by /proc/cmdline 7. Enable http service. Download page ftp://host.domain10.example.com/pub/x86_64/rhce/station.ht ml and rename it to index.html(the contents of file should not be modified). Web page should be access able as http://station.domain10.example.com 8. Configure virtual http. Download page ftp://host.domain10.example.com/pub/x86_64/rhce/www.ht ml and rename it to index.html (do not modify page) . web

page should be access able as http://www.domain10.example.com 9. Configure NFS server. Share /common directory by nfs. Directory should be readable by all members of your domain only. 10. Configure SMTP. Users should be able to send ad receive mails from all local and remote hosts. User harry should get mails at /var/spool/harry 11. Create an alias such that mails of admin should be received by user harry. 12. Mount image /root/disk.iso to /mnt/sysimage/ permanently. 13. Share directory /common by samba in workgroup STAFF. The directory should be browse able by all. Authenticate user harry for access to this directory with a password a password. 14. Create a script named base.sh such that when a command given is bash.sh Python then it should display Perl as message. When bash.sh Perl is given as input it should display Python. In other cases the stderr should be sent to /var/spool/mail/ 15. Configure web content. Create a directory limited in DocumentRoot. Download file from ftp://server.domain10.example.com/pub/ehce/station.html and rename it as index.html . Move this file to limited directory. The file should be browse able by all. It should not affect your other http pages and settings. 16. Configure ISCSI. Server host.domain10.example.com, Make a partition of 1116Mb and mount it permanently on /mnt/disk. Move file from location ftp://server.domain10.example.com/pub/rhce/station.html to /mnt/disk. Change files permissions to 0664. It should get permanently mounted.

Vous aimerez peut-être aussi