How to Install Cockpit on Ubuntu 18.04

r00t July 28, 2018

Install Cockpit on Ubuntu 18.04

In this tutorial we are going to learn how to install Cockpit on Ubuntu 18.04. We will also install and configure its prerequisites. Cockpit is a free, web-based server manager for Linux operating systems. With Cockpit, a system admin can perform tasks such as managing storage, Users, containers, network configuration, inspecting logs and so on.

I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an Ubuntu 18.04 LTS Bionic Beaver minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Cockpit on Ubuntu 18.04

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

apt-get update -y
apt-get upgrade -y

Step 2. Installing Cockpit on Ubuntu 18.04 Bionic Beaver.

Install the Cockpit package:

sudo apt -y install cockpit

Once installed, start and enable the Cockpit:

sudo systemctl start cockpit.socket
sudo systemctl enable cockpit.socket

Step 3. Access to Cockpit.

Cockpit deafault uses port 9090 for its web interface, therefore we can reach it by launching our favorite web browser and typing localhost:9090 in the address bar:

https://ip-add-ress:9090

How to Install Cockpit on Ubuntu 18.04

Congratulation’s! You have successfully install and configured Cockpit on your Ubuntu 18.04 server. Thanks for using this tutorial installing Cockpit on Ubuntu 18.04 LTS (Bionic Beaver) system.

The Tags:

Leave a Comment

Comments are closed.