Installing MATE on CentOS 7
As operating systems become more mature most are opting for prettier GUIs. However storage servers are not typically suited for graphic heavy loads and when paired with these newer OS' CPU performance can be wasted powering the GUI. The common solution is use a dedicated graphics card, however this may not be an ideal solution for the Storinator as it consume a needed PCI-e slot. Therefore it would be ideal to compromise and install a lightweight GUI. That way you get the less demanding GUI freeing up the CPU for more important calculations but still get a appealing Desktop Environment.
The CentOS 7 default GUI is very graphic heavy,and therefore is too much of a load on the CPU and negatively affects IO performance.
To avoid this you should install the MATE desktop environment. Note that there are other lightweight GUIs you can choose such as XFCE, however we chose MATE due its simplicity to install and the feel felt the most similar to the default CentOS 7 GUI.
The following steps will walk through the installation of the MATE desktop environment on CentOS 7.
Installation & Configuration
Note: This guide assumes you have a CentOS 7 minimal installation (NO GUI) with the development tools installed. If the Development Tools are not installed they can be by simply running yum groupinstall "Development Tools" in a terminal as root user.
- First install the EPEL-repositories then install the X Window System
- [root@45Drives ~]$ yum install epel-release
- [root@45Drives ~]$ yum groupinstall "X Window system"
- Install the MATE packages. This will take a few minutes
- [root@45Drives ~]$ yum groupinstall "MATE Desktop"
- Tell your system to start the Graphical Interface
- [root@45Drives ~]$ systemctl isolate graphical.target
- To have MATE boot up as the default desktop enviroment, enter the following command (the last two lines will spit out into the terminal when you run the first line).
- [root@45Drives ~]$ systemctl set-default graphical.target
- rm '/etc/systemd/system/default.target'
- ln -s '/usr/lib/systemd/system/graphical.target' '/etc/systemd/system/default.target'
- You will most likely want the Gnome Disk Utility as it the easiest way to interface with your disks. Once installed it can be found in: Applications -> Accessories -> Disks
- [root@45Drives ~]$ yum install gnome-disk-utility