SIMULATION
Configure the web server, which can be accessed by http://station.domain30.example.com.
A.
SIMULATION
You are giving RHCE exam. Examiner gave you the Boot related problem and told to you that make successfully boot the System. When you started the system, System automatically asking the root password for maintenance. How will you fix that problem?
A.
SIMULATION
There were two systems:
system1, main system on which most of the configuration take place
system2, some configuration here
Configure repository.
Create a Repository for your virtual machines. The URL is http://station.network.0.example.com/content/
rhel7.0/x86_64/dvd
A.
Create Logical volumes with lvm.yml in all nodes according to following
requirements.
*
Create a new Logical volume named as 'data'
*
LV should be the member of 'research' Volume Group
*
LV size should be 1500M
*
It should be formatted with ext4 file-system.
--> If Volume Group does not exist then it should print the message "VG Not found"
--> If the VG can not accommodate 1500M size then it should print "LV Can not be
created with
following size", then the LV should be created with 800M of size.
--> Do not perform any mounting for this LV.
A. Answer: See the for complete Solution below.
Create a file called packages.yml in /home/sandy/ansible to install some packages for the following hosts. On dev, prod and webservers install packages httpd, mod_ssl, and mariadb. On dev only install the development tools package. Also, on dev host update all the packages to the latest.
A. Answer: See the for complete Solution below.
Create a file called requirements.yml in /home/sandy/ansible/roles to install two roles. The source for the first role is geerlingguy.haproxy and geerlingguy.php. Name the first haproxy-role and the second php-role. The roles should be installed in /home/sandy/ansible/roles.
A. Answer: See the for complete Solution below.
Configure a mail alias to your MTA, for example, send emails to harry but mary actually is receiving emails.
A. Answer: See the for complete Solution below.
Shutdown the /root/cdrom.iso under /opt/data and set as boot automatically mount.
A. Answer: See the for complete Solution below.
Configure cron and don't allow the user tom to use.
A. Answer: See the for complete Solution below.
There are Mail servers, Web Servers, DNS Servers and Log Server. Log Server is already configured. You should configure the mail server, web server and dns server to send the logs to log server.
A. Answer: See the for complete Solution below.