6 Reasons to Ditch the Desktop and Run a Headless Server

2 weeks ago 8

Summary

  • Running a headless server optimizes show by ditching the GUI for a bid enactment interface.
  • A headless server encourages Linux bid enactment use, gathering skills applicable crossed assorted platforms.
  • Managing a headless server remotely implicit SSH tin beryllium much efficient, eliminating the request for a monitor.

Have you been trying to fig retired what to bash with that aged laptop lying around? Maybe you've got an aged mini PC oregon the similar that you've been wanting to repurpose. Instead of installing a desktop OS connected it, here's wherefore you should see moving it arsenic a headless server instead.

What is simply a Headless Server?

If you've ne'er heard of a headless server, don't suffer your head. The simplest explanation of a headless server is simply a machine moving an operating strategy that doesn't person a graphical idiosyncratic interface. Typically, it'll tally a server-focused operating strategy that has a bid enactment only.

In the past, it was typically thought of arsenic thing conscionable for professionals oregon systems administrators, but it's becoming a way for anyone to bask with modern features and setups.

rack mounted server

Related

What Is a Headless Server?

Have you ever heard the word "headless server"? We explicate it.

There are a batch of benefits to moving a headless server, similar amended ratio (as the GUI isn't taking up resources), being forced to larn the bid line, easier distant access, and truthful overmuch more.

I personally tally much headless servers successful my location than systems with GUIs due to the fact that they're conscionable easier to use, deploy, and maintain.

6 A Headless Server Offers Optimized Performance

Let's commencement retired with 1 of the main reasons to tally a headless server. If you're utilizing the machine for distant services, similar Plex oregon different apps that don't necessitate a batch of maintenance, past a idiosyncratic interface is conscionable other overhead that's unnecessary.

The Linux mascot wrong  a box, 2  boxes beside it, and the Ubuntu logo successful  the background. Lucas Gouveia/How-To Geek

A headless server ditches the graphical interface for a terminal only, redeeming the RAM and CPU that the desktop typically takes up.

By moving your servers headless, there's simply much resources disposable to the services themselves, giving you much show without having to upgrade anything. This tin really beryllium highly beneficial for older oregon lower-power machines.

A batch of modern operating systems person other graphical elements similar transitions, fading, and much that tin instrumentality a spot of powerfulness to tally well. If you get escaped of each that and conscionable tally an OS that lone provides a terminal, past those older systems volition really beryllium snappier than with a desktop OS.

Photo of a MacBook Air with Tux the Linux Penguin connected  the screen

Related

5 Learn Practical Linux Skills Through Command Line Use

One of my favourite reasons to tally a headless server is that it simply forces you to larn the Linux bid line.

A Linux terminal with immoderate   commands. Lucas Gouveia / How-To Geek
 

Let's instrumentality Ubuntu arsenic an example. Ubuntu Desktop has programs that fto you easy update, install, oregon uninstall packages and apps with a bully idiosyncratic interface. A headless Linux server lone has a terminal available.

This means you volition person to larn however to install, uninstall, and modify your apps with conscionable a terminal. Not lone that, but, arsenic there's nary graphical settings interface, you'll besides person to learn however to usage substance editing tools similar nano, vi, vim, oregon Emacs to edit your settings. I usage nano each the clip to edit my /etc/fstab record erstwhile adding caller distant shares to my server, for instance.

The different happening that comes with utilizing the bid enactment much is that it builds skills that you'll usage crossed a wide scope of platforms and operating systems. From a VPS (Virtual Private Server) to a Raspberry Pi, and adjacent macOS, Linux terminal cognition applies crossed your full homelab experience.

Yes, I said macOS, due to the fact that macOS is built connected a instauration of Unix truthful it shares galore akin commands to Linux

Konsole Terminal unfastened  connected  the Kubuntu Focus Ir14 Linux laptop.

Related

4 Easily Manage Your Headless Server Remotely Over SSH

Another utile facet of a headless server is simply not having it plugged into a monitor. A show is often needed for the archetypal setup of a server, but erstwhile it's configured you tin bash conscionable astir everything other remotely.

I don't person immoderate of my headless servers plugged into a show astatine all. Instead, I negociate everything implicit SSH. This tin hap from immoderate machine connected my network, and tin adjacent hap remotely with SSH tunneling oregon done a VPN similar Tailscale oregon WireGuard.

Remotely controlling my server via SSH allows maine to easy negociate it without having to beryllium successful beforehand of it. I've SSH'd into my server from my bedroom, surviving room, office, oregon adjacent from a wholly antithetic state.

A machine  moving  Windows 11

Related

3 Still GUI-Friendly—Just Differently

You mightiness deliberation that a headless server has to person nary GUI. I've already talked astir that. What if I told you that wasn't wholly the case?

The Portainer web dashboard. Portainer

While a desktop GUI isn't contiguous connected a headless server, you tin inactive instal assorted web-based absorption interfaces to grip your server. I personally usage Portainer to negociate my Docker instances. For my VM manager, I usage Proxmox. When it comes to storage, I usage Unraid.

All of these programs oregon operating systems vessel with arsenic a headless system. The lone mode to decently negociate them is done a web interface, which is acold much lightweight than a full-on desktop operating system.

Going this way means that you get the benefits of a GUI without the other resources that are required by a emblematic desktop operating system. It's my preferred mode to negociate a server, due to the fact that it works good and keeps down connected the overhead.

There are a batch of different absorption interfaces, though. Nextcloud is large for record retention and collaborating with documents connected your server. Cockpit gives you a bully interface for managing different aspects of Linux, and determination are galore much options to play with erstwhile it comes to distant administration.

Just remember, a headless server tin inactive person a web-based GUI portion delivering the aforesaid features that we've travel to cognize and emotion from a terminal-only system.

Illustration of Portainer connected  a laptop

Related

How to Get Started With Portainer, a Web UI for Docker

Portainer is simply a fashionable Docker UI that helps you visualise your containers, images, volumes and networks.

2 Easily Runs connected Old oregon Repurposed Hardware

If you person an older machine that doesn't person a usage astir your home, it could beryllium the cleanable headless server. Running web services astatine location doesn't necessitate a ton of horsepower.

I've adjacent seen radical usage a laptop that had a breached surface arsenic a headless server. Just usage the onboard output to bash the archetypal configuration and acceptable up SSH past you're bully to spell aft that. Leave it plugged successful in the country of your country and connected to the web and you person the commencement of a homelab.

Since headless operating systems necessitate little powerfulness than desktop operating systems, you're capable to tally lower-power systems and inactive get plentifulness of beingness retired of them. This is 1 of the champion aspects of moving a headless operating system, and is thing that shouldn't beryllium overlooked.

Vintage utilized  laptop computers successful  heap, texture broadside  view.

Related

Why I Installed Linux connected an Old Laptop Instead of a Raspberry Pi

Can an unused instrumentality truly enactment arsenic a lightweight Linux desktop?

1 Ideal for Homelab Setups and Experimentation

One of the large things astir headless servers is that they're conscionable casual to acceptable up. There's precise small up-front configuration required, and they tally good for years astatine a time.

Given however lightweight server operating systems are, they're casual to install, reinstall, oregon power out. This facet makes them large for experimentation. When I was archetypal getting started with Linux, I was grateful that I was moving wrong a VPS. If I broke something, it was casual to reinstall and commencement from scratch again.

It's besides perfect for moving your homelab setup. As I said, my homelab runs connected headless servers. I'm capable to tally Docker hosts, virtual machines, and more, each without having to tally a desktop operating system. If thing messes up, I tin person it re-installed and acceptable to spell successful a fewer hours. This means I'm not disquieted astir breaking thing connected a headless VM, giving maine the state to develop, test, and tally things nevertheless I want.

Four hard   drivers sticking retired  of a rack-mount server that's being utilized  arsenic  a NAS.

Related


Once you person that headless server running, beryllium definite to cheque retired some Linux commands everyone should know. These are indispensable commands that you'll beryllium moving acold much often than you think, truthful beryllium definite to memorize them (or simply bookmark the leafage to cheque it retired again successful the future).

Read Entire Article