Is the server performance of Ubuntu desktop version similar to that of Windows server?
PHP中文网2017-06-19 09:07:16
0
3
1660
If I use the Ubuntu desktop version, is it better to use Windows? I see that the Ubuntu desktop version also comes with a lot of messy things. Compared with Windows, is the desktop version suitable for server use?
Compared with Ubuntu Server, Ubuntu Desktop just has more /usr/bin/X and desktop environment. The most obvious impact on performance is that the desktop will occupy part of the memory. In addition, some services on the desktop will also consume CPU and disk. For example, D-Bus thumbnailing service tumblerd (D-Bus thumbnailing service) is of no use to the server, so the Linux server does not need to install a desktop environment at all. You need to visually manage and edit Linux server files, Connect directly to SFTP or SSHFS and call the local editor to edit.
However, the desktop on Linux is pluggable. For example, on Ubuntu, you can temporarily close or open the graphical interface like this:
sudo service lightdm stop
sudo service lightdm start
If you don’t want the desktop to automatically start at boot, edit /etc/init/lightdm.conf and comment out the start on lines.
Compared with Ubuntu Server, Ubuntu Desktop just has more
/usr/bin/X
and desktop environment. The most obvious impact on performance is that the desktop will occupy part of the memory. In addition, some services on the desktop will also consume CPU and disk. For example, D-Bus thumbnailing service tumblerd (D-Bus thumbnailing service) is of no use to the server, so the Linux server does not need to install a desktop environment at all. You need to visually manage and edit Linux server files, Connect directly to SFTP or SSHFS and call the local editor to edit.However, the desktop on Linux is pluggable. For example, on Ubuntu, you can temporarily close or open the graphical interface like this:
If you don’t want the desktop to automatically start at boot, edit
/etc/init/lightdm.conf
and comment out thestart on
lines.Ubuntu just don’t open the GUI
The GUI is just a software of Linux. If the GUI hangs, it is just a software that hangs. Linux itself can still run. If Windows hangs, it hangs.