In this tutorial we will show you how to install and configuration of Cinnamon on your CentOS 7 server. For those of you who didn’t know, Cinnamon is an open source project that provides users with a full featured desktop environment for GNU/Linux operating systems. It is a fork of the GNOME Shell user interface distributed with the GNOME project. It has been designed from the ground up to provide users with a traditional, yet advanced and modern graphical session for their Linux-based operating systems. It’s usually deployed on the Linux Mint distribution.
This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Cinnamon on a CentOS 7 server.
Install Cinnamon on CentOS 7
Step 1. First, you need to enable EPEL repository on your system.
You don’t need to configure this repository manually in your yum. Instead, download the following package and install it, which will enable the EPEL repository on your system:
## RHEL/CentOS 7 64-Bit ##
# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-6.noarch.rpm
# rpm -ivh epel-release-7-6.noarch.rpm
Step 2. Installing Cinnamon desktop environment.
Cinnamon needs a basic X-window system installation in order to have the ability to display something and the dependencies of Cinnamon do not include those packages:
yum groupinstall "X Window system"
The next step is to install a display manager. The display manager is responsible for presenting a login prompt and starting the users desktop environment. As with desktop environments there are also a various number of display managers:
yum install lightdm
Finally, our system is ready to install and start Cinnamon:
yum -y install cinnamon
After the installation of one or more desktop environments, you need to tell your system to start the graphical components (X window-system and display manager):
systemctl isolate graphical.target
Next, the GUI should be started and you should be presented with a login screen from LightDM:
After a reboot, the system will start with it’s default target (multi-user) so in order to make the change permanent and always start your system with a GUI, you can change the default target to the graphical one:
systemctl set-default graphical.target
ln -s '/usr/lib/systemd/system/graphical.target' '/etc/systemd/system/default.target'
Congratulation’s! You have successfully installed Cinnamon. Thanks for using this tutorial for installing Cinnamon desktop environment on your CentOS 7 system. For additional help or useful information, we recommend you to check the official Cinnamon web site.