![]() ![]() ![]() If you don’t want to see that bleak CLI text-scape every time you log in, you should open your terminal (CTRL + ALT + T will do it, among other things) and issue the following command: systemctl set-default graphical.target If you’re seeing something like this, you can finally sigh with relief, since you’ve finally managed to install GUI on CentOS 7.īut what about the next time you want to log in to your server? Will you have to run the startx command every time you reboot CentOS? Well, yes but there are ways to correct that as well. If everything has gone as planned, you will soon be greeted by your brand new GNOME desktop GUI. Now, let’s run GNOME and see if things worked out, using the command to start the X Window System: startx Now X Window System knows to run the GNOME desktop and with that, you’ve finished the installation.Īlso Read : KDE Vs GNOME Vs Xfce Starting GNOME To do that, we need to issue the following command: echo "exec gnome-session" > ~/.xinitrc To run the X Window System, we will use the startx command, but before that, we need to tell it which desktop environment to run, and of course, we’re going to assign the newly installed GNOME shell. To make sure that something does happen, we need to configure and run the X Window System, which is basically responsible for running the GUIs. Once the download and installation are done, you will find yourself back at the old command line, as if nothing has happened. Now, this can take up quite a while, depending on your internet connection, since the GNOME desktop installation files are not exactly light at around 700 to 800MBs. Run the following command to download and install GNOME desktop once the update is done: sudo yum -y groups install "GNOME Desktop" Now that you’ve upgraded everything, it’s time to get down to the real business of installing GNOME, which is pretty simple, actually. To update your server’s packages, you need to run the following command in the CLI: sudo yum update Yum is CentOS’s native package manager, similar to Ubuntu’s apt command. To install GNOME on your CentOS 7, you first need to update your packages and for that, you need to use yum. GNOME is perhaps the best choice for a CentOS server since it’s resource-efficient and looks sleek as well. GNOME is among the first GUIs to be released for Unix-like systems, like the various Linux distros, FreeBSD, etc. So you can choose any of them based on your needs. Now we are going to tell you how to install GUI on centos7 using 3 different GUIs in the following lines. Get a CentOS VPS How to Install GUI on CentOS 7? Get CentOS 7 or CentOS 8 on your Cloudzy CentOS VPS and run an efficient Linux-based server with minimal resource consumption. Remember that you need to be the root user or have a user with “sudo” rights in order to install GUI on CentOS 7. First off is the GNOME desktop, a popular choice for many Linux distros. ![]() Here we’ll look at three popular choices. It’s up to you to choose which desktop environment you want for your CentOS server. There are different GUIs you can install on your CentOS server and all of them come with their own signature design and different features. For the rest, just follow these simple steps. To get your new GUI up and running, you only need a working internet connection. This is a Command-Line Interface or CLI and it is text-based. You’ve got a minimal CentOS 7, so you should find yourself staring at something like this: As it turns out, it’s actually not that difficult to install GUI on CentOS 7 and here we’ll walk you through it, step by step. Hardcore Linux coders and server admins might actually prefer this setup to a GUI, but if you’ve just started out or even an intermediate-level admin or coder, you will need to simplify things with something a little more friendly, say the GNOME GUI. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |