How to install Cockpit on AlmaLinux

Cockpit is a management platform that allows administrators to easily manage and control their GUI or CLI Linux server systems using a remote manager. browser. Cockpit is accessible through a web browser, and its dashboard allows you to view the health of your server and other system statistics such as network usage, disk space and utilization, current users, system uptime, running processes, and system logs .

Cockpit-logo

 

Step 1. First, let's make sure your system is up to date.

sudo dnf update
sudo dnf install epel-release

In AlmaLinux, the Cockpit package is included by default in the extras repository. Run the following command to install it:

sudo dnf install cockpit

We must now enable Cockpit with the following command:

sudo systemctl enable --now cockpit.socket

And start Cockpit with:

sudo systemctl start cockpit

Step 3. Configure the firewall.

If you have a firewall running on your system, you need to open cockpit port 9090 in the firewall:

sudo firewall-cmd --permanent --zone=public --add-service=cockpit
sudo firewall-cmd --reload

Step 4. Access the Cockpit web interface.

Cockpit will be available on HTTP port 9090 by default. Open your favorite browser and navigate to If you see an SSL error, then click the Advanced button and continue with Insecure. Next, log into Cockpit with superuser credentials.http://your-server-ip-address:9090.

Guess you like

Origin blog.csdn.net/muzihuaner/article/details/131448426
Recommended