Arch Linux BasedManjaro

How To Install Cockpit on Manjaro

Install Cockpit on Manjaro

In this tutorial, we will show you how to install Cockpit on Manjaro. Cockpit is more than just a server administration tool. It’s a modern, intuitive interface that allows you to manage multiple servers from a single dashboard. It’s designed to work harmoniously with other management tools, ensuring a seamless server management experience.

One of Cockpit’s standout features is its discoverability. It allows you to perform tasks without the need to memorize commands or sift through help files. Moreover, Cockpit uses a systemd socket and consumes no memory when idle, making it an efficient tool for server management.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the Cockpit Web Console on a Manjaro Linux.

Prerequisites

  • A server or desktop running one of the following operating systems: Manjaro, and other Arch-based distributions.
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • SSH access to the server (or just open Terminal if you’re on a desktop).
  • A stable internet connection is crucial for downloading and installing packages. Verify your connection before proceeding.
  • Access to a Manjaro Linux system with a non-root sudo user or root user.

Install Cockpit on Manjaro

Step 1. Before installing any new software, it’s always a good practice to update your system packages. This ensures that you have the latest versions of all software and that your system is secure. To update your system, open the terminal and type the following command:

sudo pacman -Syu
sudo pacman -S base-devel

Step 2. Installing Cockpit on Manjaro.

Once your system is updated, you can proceed to install Cockpit. Manjaro Linux uses the pacman package manager, which you can use to install Cockpit. Type the following command in the terminal:

sudo pacman -S cockpit

To ensure that Cockpit starts whenever your system boots, you need to enable it. This can be done using the systemctl command. Type the following command in the terminal:

sudo systemctl enable --now cockpit.socket

Step 3. Set up a firewall.

Cockpit uses TCP port 9090, so you need to configure the firewall on your system to allow Cockpit connections. If you’re using ufw (Uncomplicated Firewall), you can do this by typing the following command in the terminal:

sudo ufw allow 9090

Step 4. Accessing Cockpit Web Console on Manjaro.

To access Cockpit, open your web browser and type https://your-IP-address:9090 in the address bar. You’ll be prompted to enter your username and password. Once logged in, you’ll see the Cockpit dashboard, which provides an overview of your system, including CPU usage, memory usage, disk I/O, and network traffic.

From here, you can explore the various features of Cockpit. The interface is intuitive and easy to navigate, but if you need help, the official Cockpit documentation provides detailed guides on how to use each feature.

Congratulations! You have successfully installed Cockpit. Thanks for using this tutorial to install the latest version of the Cockpit Web Console on the Manjaro system. For additional help or useful information, we recommend you check the official Cockpit website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

r00t

r00t is an experienced Linux enthusiast and technical writer with a passion for open-source software. With years of hands-on experience in various Linux distributions, r00t has developed a deep understanding of the Linux ecosystem and its powerful tools. He holds certifications in SCE and has contributed to several open-source projects. r00t is dedicated to sharing her knowledge and expertise through well-researched and informative articles, helping others navigate the world of Linux with confidence.
Back to top button