If you're a long-time Linux user, there's a very good chance that a raft of terminal commands is living in your head rent-free right now. Between various systemctl incantations, well-worn df -h habits, and all those journalctl flags, your hands probably type those commands all on their own at this point. If you're a tinkerer, you will likely find yourself typing all of these commands pretty regularly. And they get the job done, right? But it would be so much easier if you could finally put them to bed for good. I'm here to tell you that you can do just that, and all you need is your web browser to do it.

Cockpit is a server administration tool that you may already have installed on your machine. It comes preinstalled as standard on some Linux distributions, including Fedora Server. But don't worry if your go-to distro is something else: Cockpit can easily be installed on Ubuntu, Debian, CentOS, Rocky Linux, and RHEL (Red Hat Enterprise Linux), and you should absolutely do it.

A computer showing a WSL 2 cmd line
There's a version of PowerShell that's even more powerful — and it's already on your Windows PC

I switched to WSL 2 and finally stopped feeling locked into Windows — here's why that changes everything.

15

What Cockpit gives you out of the box

A real-time window into your system

A screenshot of the Cockpit dashboard for a Linux server

Right out of the box, Cockpit offers up real-time dashboards for a variety of metrics, including CPU usage, memory usage, disk usage, and network performance. There are easy-to-use controls for network and storage configuration, as well as handling software updates and controlling services. There's even a web-based terminal that you can use without ever leaving your web browser. Cockpit automatically handles log management and makes it quick and easy to access system logs via a unified view.

At this point, it's important to note that all of this is available right out of the gate, and without causing additional strain on the system's resources. There are no agents to install and no third-party services that need to be used. If your chosen distro comes with Cockpit preinstalled, you already have everything that you need to get started.

Ubuntu


The number 1 open source operating system powering millions of PCs and laptops around the world.

Getting started with Cockpit

Installation and access

A screenshot of the Cockpit server metrics screen

Remember, if you're a Fedora Server user, you already have Cockpit installed. But if not, you can install it easily enough. It can be installed directly from the standard repositories of Ubuntu, Debian, Rocky Linux, AlmaLinux, CentOS, and Arch. Just use your package manager of choice to install Cockpit, and it will automatically run when installation is complete.

Using Cockpit couldn't be any easier. All you need to do is open a browser tab and enter the IP address or hostname of your server, followed by the port 9090. In my case, pihole1.lan:9090 gets the job done. The Cockpit dashboard requires authentication to keep prying eyes at bay, but signing in is simple. Just use your Linux account username and password, and you'll be signed right in.

Once you're signed in, check out the options on the left-hand side of the page. That's where you'll navigate Cockpit's various features. As standard, you'll see buttons for logs, storage, networking, accounts, and services. Buttons to manage applications and software updates are also present, followed by the button to open a terminal connection to the server itself.

The best admin tool you've never used

Why use anything else?

If you're serious about your home lab, you probably have some sort of dashboard in place. There is no shortage of options out there, especially for someone who likes to tinker with their tech stack. But why bother when the best tool for most people is already installed, just ready and waiting to be used?

Sure, Cockpit won't surface some of the more advanced stats, and it won't give you access to some bespoke administrative tasks. But for a whole lot of people, it'll do exactly what they need it to: show them what their server is up to at any given moment and let them interact with it when needed.

If you fall into that category, it really is time to give Cockpit a try. The chances are good that it's already installed on your system and, if it isn't, it's free. Just install it and give it a try; I think you'll be pleasantly surprised.

It's time to step into the Cockpit

Go on, give it a try

Screenshot showing the accounts page in Cockpit

I'll admit that I hadn't heard of Cockpit all that long ago. I was using a dashboard that ran on a whole other virtual machine, using resources that I could have used elsewhere.

Now, I just run a different instance of Cockpit for each of my servers. I can see everything that I need while freeing up my hypervisor's resources for something else.

I'll also admit that, at first blush, I wasn't sure that Cockpit was the dashboard for me. If you're on the fence like I was, just give it a try. You've nothing to lose, and a whole lot to gain.

Command Prompt Windows Open in a HP Pavilion Laptop.
6 Fun Tricks You Can Do in Windows Command Prompt

It might look boring, but Command Prompt does have some fun tricks up its sleeve.

8