There are five problems on the RHCT part of this section. You have to reconfigure your computer to address all five problems appropriately, within the first hour of your exam. In this exercise, you'll set up five different problems on the same computer or virtual machine.
Ideally, you'll have a friend or classmate who can help you prepare your computer. Assume that you have a network server with the RHEL installation files. When you install RHEL on this text computer, assume that you're on a network with an IP address of 172.16.32.0 (you can substitute a different network IP address if you desire). Include the K Desktop Environment in the installation. Then have your colleague take the following steps:
Install RHEL with at least 256MB of space that is unallocated to any partition. Create a /data directory on a logical volume.
Make sure RHEL boots from the command line, by setting the id directive in /etc/inittab to runlevel 1.
Set up Firefox to open automatically in the default GNOME Desktop Environment, using the Sessions manager (which you can open with the gnome-session-properties command in the GUI). Remember, this is user dependent, so you'll have to specify the user whose GUI the candidate is to configure.
Open /etc/X11/xorg.conf; create a typo in the Screen directive as defined in the first stanza. In my configuration, I changed
Screen 0 "Screen0" 0 0
Screen 0 "Screen" 0 0
In the /etc/sysconfig/network file, make sure that NETWORKING=no and HOSTNAME=localhost.
Disable SELinux; the simplest method, since you'll soon reboot, is to set SELinux=disabled in /etc/sysconfig/selinux.
In /etc/hosts, make sure the directive associated with the localhost IPv4 address is shown as:
127.0.0.1 localhost.localdomain localhost localhost
Run the poweroff command on the computer. It is now ready for this part of the exam.
Have the person taking the exam start the computer. Do not tell the candidate about the steps you took to prepare this computer. Tell him or her to
Allocate half of the free space on the current drive to a partition dedicated to the /test directory.
Make Linux boot into the GUI.
Address any problems you see the next time you boot Linux.
Configure the GNOME desktop to open a command line window for the selected user when you boot.
Assign a host name of enterprise5 to this system, and configure the network card to connect with DHCP.