{"id":93039,"date":"2022-01-05T12:48:53","date_gmt":"2022-01-05T17:48:53","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=93039"},"modified":"2022-01-05T15:42:39","modified_gmt":"2022-01-05T20:42:39","slug":"install-cockpit-on-ubuntu","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/","title":{"rendered":"How to Install Cockpit on Ubuntu 20.04"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-install-ubuntu-1024x538.jpg\" alt=\"Install Cockpit on Ubuntu Server 20.04\" class=\"wp-image-93034\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-install-ubuntu-1024x538.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-install-ubuntu-300x158.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-install-ubuntu-768x403.jpg 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-install-ubuntu.jpg 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>Cockpit is a web-based server administration tool for self-managed Linux servers. The free server control panel, backed by Red Hat, is unique in the sense that the graphical interface only shows settings for installed services. It is most beneficial to install Cockpit on Ubuntu if your server is primarily used for business networking:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>File sharing<\/li><li>LDAP integration<\/li><li>Virtual machine (VM) hosting<\/li><li>RAID storage management<\/li><\/ul>\n\n\n\n<p>Cockpit simplifies tasks for advanced users already aware of which system apps are essential to their needs.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#install\">Install Cockpit on Ubuntu<\/a><ul><li><a href=\"#log\">Log into Cockpit<\/a><\/li><\/ul><\/li><li><a href=\"#overview\">Cockpit Overview<\/a><ul><li><a href=\"#next\">What Next?<\/a><\/li><\/ul><\/li><\/ul>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install\">Install Cockpit on Ubuntu<\/h2>\n\n\n\n<ol class=\"article_list wp-block-list\"><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/how-to-login-ssh\/\">SSH into your Ubuntu server<\/a>.<\/li><li>Install Cockpit: <pre>apt install cockpit<\/pre><\/li><li>Install a free SSL certificate for your hostname with <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/lets-encrypt-ssl-ubuntu-with-certbot\/\">Certbot<\/a>.<\/li><li>Cockpit requires the SSL certificate and private key to be located in the \u201c\/etc\/cockpit\/ws-certs.d\u201d directory as .crt and .key files respectively. You can combine the cert and private key into a new file or copy the Certbot files separately. We\u2019ll do the latter. Remember to replace \u201cexample.com\u201d with your Cockpit domain all four times: <pre>cp \/etc\/letsencrypt\/live\/example.com\/fullchain.pem \/etc\/cockpit\/ws-certs.d\/example.com.crt &amp;&amp;\u00a0cp \/etc\/letsencrypt\/live\/example.com\/privkey.pem \/etc\/cockpit\/ws-certs.d\/example.com.key<\/pre><\/li><li>Make the Cockpit user the owner of the new SSL files (replacing \u201cexample.com\u201d within the command): <pre>chown cockpit-ws:cockpit-ws \/etc\/cockpit\/ws-certs.d\/example.com.crt \/etc\/cockpit\/ws-certs.d\/example.com.key<\/pre><\/li><li>Ensure that Cockpit will use the correct SSL (.crt) file in the \u201cws-certs.d\u201d directory: <pre>remotectl certificate<\/pre> It should display the full path to the new cert file.<\/li><li>Restart Cockpit to apply the SSL now: <pre>systemctl restart cockpit<\/pre><\/li><li>Now, create a script to ensure the Cockpit SSL files are updated automatically when Certbot renews your SSL: <pre>sudo nano \/etc\/letsencrypt\/renewal-hooks\/post\/001-restart-cockpit.sh<\/pre><\/li><li>Add the following, replacing \u201cexample.com\u201d with your Cockpit hostname, to automatically update the Cockpit SSL files and restart Cockpit afterwards: <pre>#!\/usr\/bin\/env bash<br><br>echo \"SSL certificates renewed\"<br><br>cp \/etc\/letsencrypt\/live\/example.com\/fullchain.pem \/etc\/cockpit\/ws-certs.d\/example.com.crt<br>cp \/etc\/letsencrypt\/live\/example.com\/privkey.pem \/etc\/cockpit\/ws-certs.d\/example.com.key<br>chown cockpit-ws:cockpit-ws \/etc\/cockpit\/ws-certs.d\/example.com.crt \/etc\/cockpit\/ws-certs.d\/example.com.key<br><br>echo \"Cockpit Restarted\"<br>systemctl restart cockpit<\/pre><\/li><li>Save and exit the file.<\/li><li>Make the script executable: <pre>chmod +x \/etc\/letsencrypt\/renewal-hooks\/post\/001-restart-cockpit.sh<\/pre><\/li><li>Test the Certbot renewal process: <pre>sudo certbot renew --dry-run<\/pre> You should see \u201cCockpit Restarted\u201d at the end.<\/li><li>Ensure ports 9090 and 80 are enabled in your firewall.<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"log\">Log into Cockpit<\/h3>\n\n\n\n<p>Visit your Cockpit instance in a web browser: example.com:9090.<\/p>\n\n\n\n<p>The Cockpit Linux application integrates your system users for access. Login as an user with sudo privileges or <a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/create-sudo-user-ubuntu-20\/\">create a sudo user<\/a> to login. Check the box for \u201cReuse my password for privileged tasks\u201d for sudo privileges in Cockpit.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-login-ubuntu-20-1024x576.png\" alt=\"Ubuntu Cockpit server login\" class=\"wp-image-93037\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-login-ubuntu-20-1024x576.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-login-ubuntu-20-300x169.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-login-ubuntu-20-768x432.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-login-ubuntu-20-1536x864.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-login-ubuntu-20.png 1920w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>The updates notification should be addressed immediately.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-1024x576.png\" alt=\"Linux Cockpit server overview\" class=\"wp-image-93036\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-1024x576.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-300x169.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-768x432.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-1536x864.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard.png 1920w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>Select \u201cBug Fix Updates Available\u201d to update the system. It should also clear any errors.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-software-updates-1024x576.png\" alt=\"Available Cockpit software updates\" class=\"wp-image-93035\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-software-updates-1024x576.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-software-updates-300x169.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-software-updates-768x432.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-software-updates-1536x864.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-software-updates.png 1920w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>Select \u201cInstall All Updates,\u201d \u201cRestart Now,\u201d then \u201cReconnect.\u201d Alternatively, you can restart the server from your Account Management Panel (AMP). Either option may take up to five minutes to complete.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"overview\">Cockpit Overview<\/h2>\n\n\n\n<p>Below is a short summary of the Cockpit Overview dashboard.<\/p>\n\n\n\n<p><strong>Logs:<\/strong> view and sort system logs according to level of urgency and time frame.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-logs-1024x576.png\" alt=\"Linux Cockpit server logs\" class=\"wp-image-93033\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-logs-1024x576.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-logs-300x169.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-logs-768x432.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-logs-1536x864.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-logs.png 1920w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p><strong>Storage:<\/strong> visualize disk space and bandwidth, list filesystems, and check storage logs.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-storage-1024x576.png\" alt=\"Cockpit disk I\/O\" class=\"wp-image-93032\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-storage-1024x576.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-storage-300x169.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-storage-768x432.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-storage-1536x864.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-storage.png 1920w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p><strong>Networking:<\/strong> manage bridges, VLANs, and other interfaces.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-networking-1024x576.png\" alt=\"Cockpit network interfaces\" class=\"wp-image-93031\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-networking-1024x576.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-networking-300x169.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-networking-768x432.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-networking-1536x864.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-networking.png 1920w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p><strong>Accounts:<\/strong> configure system user credentials, roles, password rules. You can also terminate user sessions and configure SSH keys.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"384\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-accounts-1024x384.png\" alt=\"Linux Cockpit server users\" class=\"wp-image-93030\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-accounts-1024x384.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-accounts-300x112.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-accounts-768x288.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-accounts-1536x575.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-accounts.png 1919w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p><strong>Services:<\/strong> manage system services and scheduled events (cron jobs).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-services-1024x576.png\" alt=\"Cockpit system services\" class=\"wp-image-93027\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-services-1024x576.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-services-300x169.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-services-768x432.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-services-1536x864.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-services.png 1920w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p><strong>Applications:<\/strong> list installed Cockpit applications. More are available at <a href=\"https:\/\/cockpit-project.org\/applications\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/cockpit-project.org\/applications<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"384\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-applications-1024x384.png\" alt=\"Installed Cockpit applications\" class=\"wp-image-93029\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-applications-1024x384.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-applications-300x112.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-applications-768x288.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-applications-1536x575.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-applications.png 1919w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p><strong>Terminal:<\/strong> use a command line interface (CLI) for advanced tasks.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-terminal-1024x576.png\" alt=\"Cockpit Terminal\" class=\"wp-image-93026\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-terminal-1024x576.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-terminal-300x169.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-terminal-768x432.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-terminal-1536x864.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-terminal.png 1920w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>Select \u201cDashboard\u201d from the sidebar to view stats for CPU, memory, network, and disk I\/O.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-sidebar-1024x576.png\" alt=\"Cockpit I\/O dashboard\" class=\"wp-image-93028\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-sidebar-1024x576.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-sidebar-300x169.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-sidebar-768x432.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-sidebar-1536x864.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-dashboard-sidebar.png 1920w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>You can change the Cockpit language by selecting your username and \u201cDisplay Language\u201d from the upper-right corner. System applications added after you install Cockpit on Ubuntu (e.g. Firewalld) will display respective configuration sections automatically.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"next\">What Next?<\/h3>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>If you haven\u2019t already, install any necessary system services from the terminal.\u00a0<\/li><li>Create any regular users needed.<\/li><li>Check for Cockpit applications that may suit your needs at cockpit-project.org. We recommend the file manager application \u2013 <a href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/cockpit-file-manager\/\">Navigator<\/a>.<\/li><\/ol>\n\n\n<div class=\"jumbotron\"><p>Experience full control over your server environment and deploy the best operating and management systems that fit your needs with our reliable <a href=\"https:\/\/www.inmotionhosting.com\/cloud-vps\">Cloud VPS Hosting<\/a>!<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Cockpit is a web-based server administration tool for self-managed Linux servers. The free server control panel, backed by Red Hat, is unique in the sense that the graphical interface only shows settings for installed services. It is most beneficial to install Cockpit on Ubuntu if your server is primarily used for business networking: File sharing<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4370],"tags":[],"class_list":["post-93039","post","type-post","status-publish","format-standard","hentry","category-cloud-server"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Cockpit on Ubuntu 20.04 | InMotion Hosting<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Cockpit on Ubuntu 20.04 | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Cockpit is a web-based server administration tool for self-managed Linux servers. The free server control panel, backed by Red Hat, is unique in the sense that the graphical interface only shows settings for installed services. It is most beneficial to install Cockpit on Ubuntu if your server is primarily used for business networking: File sharing Read More &gt;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-05T17:48:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-05T20:42:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-install-ubuntu-1024x538.jpg\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"How to Install Cockpit on Ubuntu 20.04\",\"datePublished\":\"2022-01-05T17:48:53+00:00\",\"dateModified\":\"2022-01-05T20:42:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/\"},\"wordCount\":591,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-install-ubuntu-1024x538.jpg\",\"articleSection\":[\"Cloud Server Hosting\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/\",\"name\":\"How to Install Cockpit on Ubuntu 20.04 | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-install-ubuntu-1024x538.jpg\",\"datePublished\":\"2022-01-05T17:48:53+00:00\",\"dateModified\":\"2022-01-05T20:42:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-install-ubuntu.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-install-ubuntu.jpg\",\"width\":1200,\"height\":630,\"caption\":\"Install Cockpit on Ubuntu Server 20.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Cockpit on Ubuntu 20.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Cockpit on Ubuntu 20.04 | InMotion Hosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Cockpit on Ubuntu 20.04 | InMotion Hosting","og_description":"Cockpit is a web-based server administration tool for self-managed Linux servers. The free server control panel, backed by Red Hat, is unique in the sense that the graphical interface only shows settings for installed services. It is most beneficial to install Cockpit on Ubuntu if your server is primarily used for business networking: File sharing Read More >","og_url":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2022-01-05T17:48:53+00:00","article_modified_time":"2022-01-05T20:42:39+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-install-ubuntu-1024x538.jpg","type":"","width":"","height":""}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"How to Install Cockpit on Ubuntu 20.04","datePublished":"2022-01-05T17:48:53+00:00","dateModified":"2022-01-05T20:42:39+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/"},"wordCount":591,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-install-ubuntu-1024x538.jpg","articleSection":["Cloud Server Hosting"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/","url":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/","name":"How to Install Cockpit on Ubuntu 20.04 | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-install-ubuntu-1024x538.jpg","datePublished":"2022-01-05T17:48:53+00:00","dateModified":"2022-01-05T20:42:39+00:00","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-install-ubuntu.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/01\/cockpit-install-ubuntu.jpg","width":1200,"height":630,"caption":"Install Cockpit on Ubuntu Server 20.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-cockpit-on-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Install Cockpit on Ubuntu 20.04"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/93039","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=93039"}],"version-history":[{"count":6,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/93039\/revisions"}],"predecessor-version":[{"id":93058,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/93039\/revisions\/93058"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=93039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=93039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=93039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}