V
V
Valery2017-06-08 15:24:17
linux
Valery, 2017-06-08 15:24:17

GUI on the server. How helpful/harmful?

Hello.
Started learning CentOS. Before that, I didn’t particularly come across linux. The command line makes me sad.
The main thing that I understood at the moment is that I do not rub gui.
And besides this, are there any other pluses or minuses in his favor? (in relation to the server version)
Somewhere they write that this lowers the security of the server - how? If so, then this is a really powerful minus.
Does it make sense to install gui for setting up some specific applications, and after setting it up, demolish it?
(Again, I read somewhere that in Acronis, for example, not all commands work through the command line, but everything is fine under graphonia)
Does the graphical interface greatly speed up system configuration and monitoring?
I just want to get off to the right start.

Answer the question

In order to leave comments, you need to log in

7 answer(s)
V
Victor Taran, 2017-06-08
@shambler81

GUI is not needed
The main problem of Linux in this matter is that a professional does not need a GUI and naturally does not write it for himself.
And for beginners, who need it like air, these are not able to write it.
It follows from this
1. there will be no normal gui (the web interface takes over everything)
2. no one will write it because he who can does not want to.

G
GavriKos, 2017-06-08
@GavriKos

The GUI is not needed for only one reason - all work with the server must be done remotely via SSH.

C
cssman, 2017-06-08
@cssman

Xs on centos, and indeed gui in any unix-like eat resources. + there are always vulnerabilities on older versions, and gui is an extra attack vector.
For a systematic approach, it is worth adhering to the principle of Occam's Razor and not producing unnecessary entities. So the GUI is needed for the desktop, but for the server only cli, only hardcore :)
PS, all the more so, the administration is 99.9% remote, you can of course forward the gui through ssh, but again, why?
PPS You will quickly get used to it and will soon be surprised at your question, because the console is a powerful, convenient and most importantly fast tool

A
Armenian Radio, 2017-06-08
@gbg

I want to get off to a good start. - and this is your main problem. It is better to start gaining experience and compare different approaches.
Graphics are different. There is kde, which can eat a couple of gigs, there is icewm, which eats a couple of hundred megs.
Conclusion - graphics eats resources.
Does the GUI make it easier to administer the server - and yes and no. The command line remembers the entire history of the commands typed, the GUI does not remember which buttons and in what order you poked.
On the other hand, in the GUI, you can quickly stumble upon all sorts of things that are corrected from the command line for a long time and tediously.
As for security - insecurity - this can only be answered in general terms - it is more difficult for a programmer to secure a graphical UI than to secure a console UI
The main advantage of working with the console is that you will learn a lot about the inner workings of your servers, the location and syntax of configuration files, and so on. Also, all the guides on the internet are usually listed as lists of commands, not "go there, poke here".
Conclusion - learn the console.

D
Dmitry Aleksandrov, 2017-06-08
@jamakasi666

First you need to decide what GUI refers to your definition.
If it's just a bare desktop, then it's a waste of precious resources.
If there are graphical utilities for setting up some kind of daemons/services, then this is also a problem. most often they badly crap in configs and cannot provide all the flexibility of the software.
Learn the console and manually edit configs, it's very easy if you understand the approach. To make it easier, you can put "midnight commander" which will make life much easier (mc file manager, mcedit simple text editor). First, you will delve into the configs and device of the system with it, and then you will be able to learn the highest zen with wim and a bunch of convenient utilities like sed, which will give a specific boost in convenience. After that, any GUI on the servers will cause a gag reflex =)

D
devalone, 2017-06-08
@devalone

It is not necessary, except for some very rare cases, when something should be spinning on the server that does not work without guis.
Hardly, at least classic gnome, kde, openbox and others shouldn't.
No, everything is perfectly configured through the configs.
Why do you need acronis on the server? Partition disk? There is fdisk, cfdisk, parted and a bunch of others.
No, it only slows it down, and there are special systems for monitoring, usually the interface is available on them through a browser.
And the main argument against it is that it will only consume extra resources.

R
ralaton121, 2017-08-15
@ralaton121

GUI on the server is not needed.
Harmful because it eats a lot of resources.
As an alternative to the GUI, a web interface is used.
If you're going to become a skilled developer or admin, the command line is essential.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question