{"id":31,"date":"2024-03-15T01:11:39","date_gmt":"2025-08-06T18:23:25","guid":{"rendered":""},"modified":"2025-02-02T00:46:14","modified_gmt":"2025-02-01T23:46:14","slug":"how-to-install-cockpit-on-debian-11","status":"publish","type":"post","link":"https:\/\/netcloud24.com\/knowledgebase\/how-to-install-cockpit-on-debian-11\/","title":{"rendered":"Linux VPS &#038; VPS Windows Setup Guide | NetCloud24 Cockpit on Debian 11"},"content":{"rendered":"<article>\n<div class=\"contributeEdit\" style=\"float: right; width: 450px; max-width: 100%;\">\n<div id=\"tocContainer\">\n<h3>On this page<\/h3>\n<ol class=\"toc\">\n<li><a href=\"#prerequisites\">Prerequisites<\/a><\/li>\n<li><a href=\"#install-cockpit-on-debian-\">Install Cockpit on Debian 11<\/a><\/li>\n<li><a href=\"#configure-firewall-for-cockpit\">Configure Firewall for Cockpit<\/a><\/li>\n<li><a href=\"#access-cockpit-web-ui\">Access Cockpit Web UI<\/a><\/li>\n<li><a href=\"#conclusion\">Conclusion<\/a><\/li>\n<\/ol>\n<\/div>\n<\/div>\n<p>The Cockpit is a free and open-source server management application sponsored by Red Hat. It comes with a simple web-based admin interface to manage the server through the web browser instead of cli. It also provides information on CPU load, filesystem statistics, processes, and further information. It allows you to perform day-to-day system administrative tasks including, creating and managing users, troubleshoots network issues, upload and download files, and more.<span id=\"ezoic-pub-ad-placeholder-106\" class=\"ezoic-adpicker-ad\"><\/span><span id=\"div-gpt-ad-howtoforge_com-box-3-0\" class=\"ezoic-ad\" style=\"position: relative; z-index: 0; display: inline-block; padding: 0; min-height: 90px; min-width: 728px;\"><\/span><\/p>\n<div style=\"width: 336px; float: left; margin: 10px 15px 10px 0; background-color: #fff;\">\u00a0<\/div>\n<p>In this post, we will show you how to install and use Cockpit on Debian 11.<span id=\"ezoic-pub-ad-placeholder-121\" class=\"ezoic-adpicker-ad\"><\/span><span id=\"div-gpt-ad-howtoforge_com-medrectangle-3-0\" class=\"ezoic-ad\" style=\"position: relative; z-index: 0; display: inline-block; padding: 0; min-height: 90px; min-width: 728px;\"><\/span><\/p>\n<h2 id=\"prerequisites\">Prerequisites<\/h2>\n<ul>\n<li>A server running Debian 11.<\/li>\n<li>A root password is configured on the server.<\/li>\n<\/ul>\n<h2 id=\"install-cockpit-on-debian-\">Install Cockpit on Debian 11<\/h2>\n<p>By default, the Cockpit package is included in the Debian 11 default repository. You can install it easily using the following command:<\/p>\n<pre class=\"command\">apt-get install cockpit -y<\/pre>\n<p>After installing Cockpit, run the following command to install the Podman module:<\/p>\n<pre class=\"command\">apt-get install cockpit-podman -y<\/pre>\n<p>After the successfull installation, start the Cockpit service and enable it to start at system reboot:<\/p>\n<pre class=\"command\">systemctl start cockpit\r\nsystemctl enable cockpit<\/pre>\n<p>To check the status of the Cockpit, run the following command:<span id=\"ezoic-pub-ad-placeholder-130\" class=\"ezoic-adpicker-ad\"><\/span><\/p>\n<div id=\"howtoforge_com-link-h-large-1\" class=\"ezo_link_unit_a\">\u00a0<\/div>\n<p>\u00a0<\/p>\n<pre class=\"command\">systemctl status cockpit<\/pre>\n<p>You should see the following output:<\/p>\n<pre>? cockpit.service - Cockpit Web Service\r\n     Loaded: loaded (\/lib\/systemd\/system\/cockpit.service; static)\r\n     Active: active (running) since Sat 2021-10-09 07:34:10 UTC; 5s ago\r\nTriggeredBy: ? cockpit.socket\r\n       Docs: man:cockpit-ws(8)\r\n    Process: 16211 ExecStartPre=\/usr\/sbin\/remotectl certificate --ensure --user=root --group=cockpit-ws --selinux-type= (code=exited, status=0&gt;\r\n   Main PID: 16214 (cockpit-tls)\r\n      Tasks: 1 (limit: 2341)\r\n     Memory: 1.3M\r\n        CPU: 101ms\r\n     CGroup: \/system.slice\/cockpit.service\r\n             ??16214 \/usr\/lib\/cockpit\/cockpit-tls\r\n\r\nOct 09 07:34:10 debian11 systemd[1]: Starting Cockpit Web Service...\r\nOct 09 07:34:10 debian11 systemd[1]: Started Cockpit Web Service.\r\n<\/pre>\n<p>By default, Cockpit listens on port 9090. You can check it with the following command:<\/p>\n<pre class=\"command\">ss -antpl | grep 9090<\/pre>\n<p>You should see the following output:<\/p>\n<pre>LISTEN 0      4096               *:9090            *:*    users:((\"cockpit-tls\",pid=16214,fd=3),(\"systemd\",pid=1,fd=79))\r\n<\/pre>\n<h2 id=\"configure-firewall-for-cockpit\">Configure Firewall for Cockpit<\/h2>\n<p>If the UFW firewall is installed and configured on your system then you will need to allow ports 80 and 9090 through the UFW firewall.<span id=\"ezoic-pub-ad-placeholder-108\" class=\"ezoic-adpicker-ad\"><\/span><span id=\"div-gpt-ad-howtoforge_com-medrectangle-4-0\" class=\"ezoic-ad\" style=\"position: relative; z-index: 0; display: inline-block; padding: 0; width: 100%; max-width: 1200px; margin-left: auto!important; margin-right: auto!important; min-height: 400px; min-width: 580px;\"><\/span> You can allow both ports using the following command:<\/p>\n<pre class=\"command\">ufw allow 9090\r\nufw allow 80<\/pre>\n<p>Next, reload the UFW firewall with the following command:<\/p>\n<pre class=\"command\">ufw reload<\/pre>\n<p>You can now check the status of UFW firewall rules using the following command:<\/p>\n<pre class=\"command\">ufw status<\/pre>\n<p>You should see the following output:<\/p>\n<pre>Status: active\r\n\r\nTo                         Action      From\r\n--                         ------      ----\r\n22                         ALLOW       Anywhere                  \r\n80                         ALLOW       Anywhere                  \r\n9090                       ALLOW       Anywhere                  \r\n22 (v6)                    ALLOW       Anywhere (v6)             \r\n80 (v6)                    ALLOW       Anywhere (v6)             \r\n9090 (v6)                  ALLOW       Anywhere (v6)             \r\n<\/pre>\n<h2 id=\"access-cockpit-web-ui\">Access Cockpit Web UI<\/h2>\n<p>Now, open your web browser and access the Cockpit web interface using the URL <strong>http:\/\/your-server-ip:9090<\/strong>. You should see the Cockpit login page:<span id=\"ezoic-pub-ad-placeholder-110\" class=\"ezoic-adpicker-ad\"><\/span><span id=\"div-gpt-ad-howtoforge_com-box-4-0\" class=\"ezoic-ad\" style=\"position: relative; z-index: 0; display: inline-block; padding: 0; width: 100%; max-width: 1200px; margin-left: auto!important; margin-right: auto!important; min-height: 90px; min-width: 728px;\"><\/span> \u00a0 Provide your root username, password and click on the <strong>Login<\/strong>. You should see the Cockpit dashboard: \u00a0 In the left pane, click on the <strong>Storage<\/strong> to see your system&#8217;s partition information: <span id=\"ezoic-pub-ad-placeholder-111\" class=\"ezoic-adpicker-ad\"><\/span> Click on the <strong>Networking<\/strong>. You should see the network-related information on the following screen: \u00a0 Click on the <strong>Podman<\/strong> <strong>Containers<\/strong>. You should see all containers and images: \u00a0 Click on the <strong>Services<\/strong>. You should see all system services.<span id=\"ezoic-pub-ad-placeholder-112\" class=\"ezoic-adpicker-ad\"><\/span><span class=\"ezoic-ad large-leaderboard-2 large-leaderboard-2112 adtester-container adtester-container-112\" data-ez-name=\"howtoforge_com-large-leaderboard-2\"><span style=\"font-size: 12px; display: block; text-align: center; line-height: 15px;\">Advertisement<\/span><\/span> <span id=\"div-gpt-ad-howtoforge_com-large-leaderboard-2-0\" class=\"ezoic-ad\" style=\"position: relative; z-index: 0; display: block!important; padding: 0; margin-left: auto!important; margin-right: auto!important;\"><\/span> \u00a0 Click on the <strong>Applications<\/strong>. You should see all installed applications. \u00a0 Click on the <strong>Software<\/strong> <strong>Updates<\/strong>. You should see all available updates. \u00a0 Click on the <strong>Terminal<\/strong>. You can connect to your server&#8217;s command-line interface. \u00a0<\/p>\n<h2 id=\"conclusion\">Conclusion<\/h2>\n<\/article>\n<p><a href=\"https:\/\/de.netcloud24.com\/\" target=\"_blank\">Windows VPS Deutschland<\/a><\/p>\n<p><a href=\"https:\/\/es.netcloud24.com\/\" target=\"_blank\">Windows VPS Espa\u00f1a<\/a><\/p>\n<p><a href=\"https:\/\/nl.netcloud24.com\/\" target=\"_blank\">Windows VPS Nederland<\/a><\/p>\n<p><a href=\"https:\/\/it.netcloud24.com\/\" target=\"_blank\">Windows VPS Italia<\/a><\/p>\n<p><a href=\"https:\/\/pt.netcloud24.com\/\" target=\"_blank\">Windows VPS Portugal<\/a><\/p>\n<p><a href=\"https:\/\/it.netcloud24.com\/\" target=\"_blank\">VPS Windows Italia<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS Sverige<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS Norge<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS T\u00fcrkiye<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows RDS (Remote Desktop Services)<\/a><\/p>\n<p><a href=\"https:\/\/ie.netcloud24.com\" target=\"_blank\">Windows VPS<\/a><\/p>\n<div class=\"post-author-box\" style=\"border-top:1px solid #ddd;margin-top:20px;padding-top:15px;\">\n<p><strong>Author:<\/strong> \u0141ukasz Bodziony<\/p>\n<p><strong>Website:<\/strong> <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a><\/p>\n<p><em>\u0141ukasz Bodziony is the CEO and founder of <a href=\"https:\/\/netcloud24.com\" target=\"_blank\" rel=\"dofollow\">NETCLOUD24<\/a>, a global VPS hosting brand proudly originating from Poland. With extensive experience in cloud computing, virtualization, and server management, he delivers high-performance <strong>Windows VPS<\/strong> and <strong>Remote Desktop Services (RDS)<\/strong> solutions to clients across Europe, North America, and beyond.<\/em><\/p>\n<p><em>His expertise covers a wide range of technologies, including <strong>Microsoft Azure<\/strong>, <strong>Proxmox VE<\/strong>, <strong>Amazon Web Services (AWS)<\/strong>, and numerous other virtualization and cloud platforms.<\/em><\/p>\n<p><em>Beyond running his hosting business, \u0141ukasz also provides <strong>professional paid server configuration and optimization services<\/strong> for companies and individuals. Outside of work, he is dedicated to caring for his children and building a secure future for them.<\/em><\/p>\n<p><em>If you are interested in working with him or need expert assistance with your hosting, cloud environment, or server setup, feel free to reach out via <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a>.<\/em><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>On this page Prerequisites Install Cockpit on Debian 11 Configure Firewall for Cockpit Access Cockpit Web UI Conclusion The Cockpit is a free and open-source server management application\u2026<\/p>\n","protected":false},"author":1,"featured_media":3421,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[],"tags":[14,12,11,23,20,21,22,17,7,8,6,10,18,19,15,24,16,5,13,9],"class_list":["post-31","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-cheapvps","tag-cloudvps","tag-hostingvps","tag-rds","tag-rdscal","tag-remotedesktop","tag-remotedesktopvps","tag-servervps","tag-ukvps","tag-virtualserver","tag-vpshosting","tag-vpsserver","tag-vpssolutions","tag-vpswindows","tag-vpswithwindows","tag-windowsrds","tag-windowsserver","tag-windowsvps","tag-windowsvpshosting","tag-windowsvpsuk"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/31","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=31"}],"version-history":[{"count":0,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/31\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media\/3421"}],"wp:attachment":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=31"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=31"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}