There are a few configuration choices I made that I prefer and fit my environment. I installed the MATE Desktop over the default Gnome, created standard partitions instead of LVM, and created a single ext4 file system with a separate swap partition instead of the new xfs default file system.
The first steps, of course, are to download the ISO and create the virtual machine. Then begin the installation.
|Figure 1: Initial install screen.|
After selecting Install CentOS 7, select the installation language.
|Figure 2: Selecting the default language.|
Click on Installation Destination to modify the disk layout scheme (Figure 3).
|Figure 3: Installation Summary screen.|
|Figure 4: Selecting the Installation Destination|
|Figure 5: Manual Partitioning|
|Figure 6: Create root partition|
|Figure 7: Set the ext4 file system|
In the Manual Partitioning screen click the plus (+) button again to create the swap partition (Figure 8).
|Figure 8: Swap partition created.|
|Figure 9: Summary of partition changes|
|Figure 10: Disable kdump.|
|Figure 11: Network & Host Name configuration.|
|Figure 12: Installation progress.|
|Figure 13: Installation Complete|
Enable the EPEL (Extra Packages for Enterprise Linux) repository, which contain the MATE Desktop:
# yum install epel-releaseCheck for updates:
# yum check-update
# yum update
Install the X Windows system:
# yum -y groupinstall "X Window system"
Install the MATE Dekstop:
# yum -y groupinstall "MATE Desktop"
At this point all of the software required for CentOS 7 and the MATE Desktop is complete. Since this example is running in a VirtualBox virtual machine, prerequisite software for the VirtualBox additions should be installed.
# yum install dkmsTo enable the graphical desktop at boot, the following command is run. Since CentOS 7 is now running systemd instead of the sysvinit, we do not edit the inittab file.
# systemctl set-default graphical.target
Reboot the system to your MATE Desktop.
|Figure 14: CentOS with the MATE Desktop|
|Figure 15: Log in a root.|
From the VirtualBox menu select Devices, then Insert Guest Additions CD image to mound the virtual CDROM. Open a command line and run the installation. Note, you should replace the version text with the guest additions version installed.
# /run/media/root/VBOXADDITIONS_versionAfter the installation completes, reboot the system again to boot into CentOS with the Guest Additions. Log in with the initial user username and password.
|Figure 16: A running CentOS 7 with Mate Desktop.|