{"id":1207,"date":"2020-07-24T15:04:56","date_gmt":"2020-07-24T20:04:56","guid":{"rendered":"https:\/\/linuxhostsupport.com\/blog\/?p=1207"},"modified":"2020-07-24T15:04:56","modified_gmt":"2020-07-24T20:04:56","slug":"install-cockpit-on-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/linuxhostsupport.com\/blog\/install-cockpit-on-ubuntu-18-04\/","title":{"rendered":"Install Cockpit on Ubuntu 18.04"},"content":{"rendered":"<div id=\"linux-349580251\" class=\"linux-before-1st-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1339&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div><p>In this tutorial, we will show you how to install Cockpit on an Ubuntu 18.04 Server.<\/p>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-1215\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/install-configure-cockpit-web-based-administration-software-for-ubuntu18.04-server.jpg\" alt=\"\" width=\"125\" height=\"125\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/install-configure-cockpit-web-based-administration-software-for-ubuntu18.04-server.jpg 125w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/install-configure-cockpit-web-based-administration-software-for-ubuntu18.04-server-60x60.jpg 60w\" sizes=\"(max-width: 125px) 100vw, 125px\" \/>Cockpit is a web-based system administration service used to manage server services, server storage, configure networks, inspect logs, update server OS packages, and much more. Thanks to its web-based management, keeping track of what&#8217;s going on with your server is easier than ever. Cockpit also makes it easier for users that don&#8217;t have much experience with servers to better manage their systems without having to learn to use the command line. Let&#8217;s begin with the installation.<\/p>\n<p><!--more--><\/p>\n<h2>Requirements<\/h2>\n<ul>\n<li>An Ubuntu 18.04 Server<\/li>\n<li>Access to the root user account (or access to an admin account with root privileges)<\/li>\n<\/ul>\n<h2>Step 1. Log in to the Server &amp; Update all Server OS Packages<\/h2>\n<p>Log in to your Ubuntu 18.04 server via SSH as the root user:<\/p>\n<pre>ssh root@<span style=\"color: #ff0000;\">IP_Address<\/span> -p <span style=\"color: #ff0000;\">Port_number<\/span><\/pre>\n<p>You will need to replace &#8216;<span style=\"color: #ff0000;\">IP_Address<\/span>&#8216; and &#8216;<span style=\"color: #ff0000;\">Port_number<\/span>&#8216; with your server&#8217;s respective IP address and SSH port number (if using a custom port number). Additionally, replace &#8216;root&#8217; with the username of the admin account if necessary.<\/p>\n<p>Before we can start with the Cockpit installation, we have to make sure that all Ubuntu OS packages installed on the server are up to date. We can do this by running the following commands:<\/p>\n<pre>sudo apt-get update\r\nsudo apt-get upgrade<\/pre>\n<h2>Step 2. Install Cockpit<\/h2>\n<p>Run the following command to install the latest version of Cockpit available in the official Ubuntu repositories:<\/p>\n<pre>sudo apt-get install cockpit<\/pre>\n<p>In order to access Cockpit only by using your domain name, e.g.\u00a0 <code>https:\/\/your-domain.com<\/code>, and without the port number 9090 in the URL, we need to install a web server, an SSL certificate on that domain and set Cockpit behind a reverse proxy. Don&#8217;t worry, we&#8217;ll be covering those steps in this tutorial as well.<\/p>\n<h2>Step 3. Install Apache<\/h2>\n<p>Check if Apache is already installed and running on the server:<\/p>\n<pre>dpkg -l | grep -i apache2\r\nps aux | grep apache2<\/pre>\n<p>If it is not installed, run the following command to install the Apache web server:<\/p>\n<pre>apt-get install apache2<\/pre>\n<p>Enable Apache service to start automatically upon server boot with:<\/p>\n<pre>systemctl enable apache2<\/pre>\n<p>We can also check the status of the Apache service with the following command. It should already be running, but let&#8217;s check:<\/p>\n<pre>systemctl status apache2<\/pre>\n<p>The output should look something like this:<\/p>\n<p>\u25cf apache2.service &#8211; The Apache HTTP Server<br \/>\nLoaded: loaded (\/lib\/systemd\/system\/apache2.service; enabled; vendor preset: enabled)<br \/>\nDrop-In: \/lib\/systemd\/system\/apache2.service.d<br \/>\n\u2514\u2500apache2-systemd.conf<br \/>\nActive: active (running) since Sun 2019-06-30 11:12:05 CDT; 9min ago<br \/>\nMain PID: 9277 (apache2)<br \/>\nTasks: 7 (limit: 2321)<br \/>\nCGroup: \/system.slice\/apache2.service<br \/>\n\u251c\u2500 9277 \/usr\/sbin\/apache2 -k start<br \/>\n\u251c\u2500 9280 \/usr\/sbin\/apache2 -k start<br \/>\n\u251c\u2500 9281 \/usr\/sbin\/apache2 -k start<br \/>\n\u251c\u2500 9282 \/usr\/sbin\/apache2 -k start<br \/>\n\u251c\u2500 9283 \/usr\/sbin\/apache2 -k start<br \/>\n\u251c\u2500 9284 \/usr\/sbin\/apache2 -k start<br \/>\n\u2514\u250022386 \/usr\/sbin\/apache2 -k start<\/p>\n<h2>Step 4. Install a Let&#8217;s Encrypt SSL certificate<\/h2>\n<p>Install Certbot, a program that automates SSL\/TLS certificate installation using Let\u2019s Encrypt Free SSL. This allows your website to be secure for free. Run this command to install the necessary packages for Let&#8217;s Encrypt:<\/p>\n<pre>sudo apt-get install certbot python-certbot-apache<\/pre>\n<p>Install a Let&#8217;s Encrypt SSL certificate on your domain. Certbot will automatically configure your Apache config file to use SSL:<\/p>\n<pre>sudo certbot --apache -d your-domain.com -d www.your-domain.com<\/pre>\n<p>Make sure to enter a valid e-mail address as that is where notifications about your certificate status (e.g. an expiring certificate) will arrive. During the installation, choose to redirect HTTP traffic to HTTPS.<\/p>\n<h2>Step 5. Set a Reverse Proxy in Apache<\/h2>\n<p>We can now set a reverse proxy in Apache. In order to do so, we need to enable some additional proxy modules in Apache. Run the following commands:<\/p>\n<pre>a2enmod proxy\r\na2enmod proxy_http\r\na2enmod proxy_wstunnel<\/pre>\n<p>Restart Apache for the changes to take effect:<\/p>\n<pre>systemctl restart apache2<\/pre>\n<p>Once <code>mod_proxy<\/code>, <code>mod_proxy_http<\/code> and <code>proxy_wstunnel<\/code> are enabled in Apache, create a new configuration file for your domain with the following command:<br \/>\n<strong>NOTE:<\/strong> It&#8217;s very important you replace &#8220;<code>your-domain.com<\/code>&#8221; at <strong>ALL<\/strong> locations where it shows up in the config file and all other locations. If you don&#8217;t, your configuration may not work.<\/p>\n<pre>nano \/etc\/apache2\/sites-available\/your-domain.com.conf<\/pre>\n<p>And enter the following lines:<\/p>\n<pre>&lt;VirtualHost *:80&gt;\r\n\r\nServerName your-domain.com\r\nServerAlias www.your-domain.com\r\n\r\nRewriteEngine on\r\nRewriteCond %{SERVER_NAME} =www.your-domain.com [OR]\r\nRewriteCond %{SERVER_NAME} =your-domain.com\r\nRewriteRule ^ https:\/\/%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]\r\n&lt;\/VirtualHost&gt;\r\n\r\n&lt;IfModule mod_ssl.c&gt;\r\n\r\n&lt;VirtualHost *:443&gt;\r\n\r\nServerName your-domain.com\r\nServerAlias www.your-domain.com\r\n\r\nProxyRequests Off\r\n&lt;Proxy *&gt;\r\nOrder deny,allow\r\nAllow from all\r\n&lt;\/Proxy&gt;\r\n\r\nRewriteEngine On\r\nRewriteCond %{HTTP:Upgrade} =websocket [NC]\r\nRewriteRule \/(.*) ws:\/\/127.0.0.1:9090\/$1 [P,L]\r\nRewriteCond %{HTTP:Upgrade} !=websocket [NC]\r\nRewriteRule \/(.*) http:\/\/127.0.0.1:9090\/$1 [P,L]\r\n\r\nProxyPass \/ http:\/\/127.0.0.1:9090\/\r\nProxyPassReverse \/ http:\/\/127.0.0.1:9090\/\r\n&lt;Location \/&gt;\r\nOrder allow,deny\r\nAllow from all\r\n&lt;\/Location&gt;\r\n\r\nSSLCertificateFile \/etc\/letsencrypt\/live\/your-domain.com\/fullchain.pem\r\nSSLCertificateKeyFile \/etc\/letsencrypt\/live\/your-domain.com\/privkey.pem\r\nInclude \/etc\/letsencrypt\/options-ssl-apache.conf\r\n\r\n&lt;\/VirtualHost&gt;\r\n\r\n&lt;\/IfModule&gt;<\/pre>\n<p>Remember to replace your &#8216;<span style=\"color: #ff0000;\">your-domain.com<\/span>&#8216; with your actual domain name. Save the file, close it and disable the default Apache configuration:<\/p>\n<pre>a2dissite 000-default<\/pre>\n<p>Enable the &#8220;<span style=\"color: #ff0000;\">your-domain.com<\/span>.conf&#8221; configuration in Apache using:<\/p>\n<pre>a2ensite <span style=\"color: #ff0000;\">your-domain.com<\/span><\/pre>\n<p>Optionally, we can use this command to enable it:<\/p>\n<pre>ln -s \/etc\/apache2\/sites-available\/<span style=\"color: #ff0000;\">your-domain.com<\/span>.conf \/etc\/apache2\/sites-enabled\/<span style=\"color: #ff0000;\">your-domain.com<\/span>.conf<\/pre>\n<p>Then restart Apache for the changes to take effect:<\/p>\n<pre>systemctl restart apache2<\/pre>\n<p>Edit the Cockpit configuration file and add the following lines:<\/p>\n<pre>[WebService]\r\nOrigins = https:\/\/your-domain.com http:\/\/127.0.0.1:9090\r\nProtocolHeader = X-Forwarded-Proto\r\nAllowUnencrypted = true<\/pre>\n<p>Restart Cockpit and enable it to start on server boot:<\/p>\n<pre>sudo systemctl restart cockpit.socket\r\nsudo systemctl enable cockpit.socket\r\n<\/pre>\n<p>Now we can access Cockpit without needing to use port 9090 in a web browser &#8211; we can now access it using <code>https:\/\/your-domain.com<\/code>.<\/p>\n<p>Log in as root, or use an existing system user account on the server.<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-1209 aligncenter\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/cockpit-login.png\" alt=\"\" width=\"766\" height=\"305\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/cockpit-login.png 766w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/cockpit-login-300x119.png 300w\" sizes=\"(max-width: 766px) 100vw, 766px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>If there are no user accounts created on the server yet, we can create it using this command:<\/p>\n<pre>adduser username<\/pre>\n<p>Replace <code>username<\/code> with the actual name of the new user account, and you will be prompted to set and confirm the new user account password. Make sure to use a strong password for the new account.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1210\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/cockpit-1024x286-1.png\" alt=\"\" width=\"1024\" height=\"286\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/cockpit-1024x286-1.png 1024w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/cockpit-1024x286-1-300x84.png 300w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/cockpit-1024x286-1-768x215.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>That&#8217;s it <\/strong>&#8211; you now have a working Cockpit installation running on your Ubuntu 18.04 server.<\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-1216\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/fully-managed-server-support-with-monitoring-by-experts.jpg\" alt=\"\" width=\"125\" height=\"125\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/fully-managed-server-support-with-monitoring-by-experts.jpg 125w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/fully-managed-server-support-with-monitoring-by-experts-60x60.jpg 60w\" sizes=\"(max-width: 125px) 100vw, 125px\" \/>Of course, you don\u2019t have to install Cockpit on Ubuntu 18.04, if you use one of our <a href=\"https:\/\/linuxhostsupport.com\/monthly-server-management.html\">Managed Ubuntu Support<\/a> solutions, in which case you can simply ask our expert Linux admins to setup Cockpit on Ubuntu 18.04 for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS<\/strong><\/span>. If you liked this post on <strong>how to install Cockpit on an Ubuntu 18.04 VPS<\/strong>, please share it with your friends on the social networks using the share buttons below, or simply leave a comment down in the comments section. Thanks.<\/p><div id=\"linux-644234030\" class=\"linux-after-8th-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1340&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will show you how to install Cockpit on an Ubuntu 18.04 Server. Cockpit is a web-based system administration service used to manage server services, server storage, configure networks, inspect logs, update server OS packages, and much more. Thanks to its web-based management, keeping track of what&#8217;s going on with your server [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1214,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[153,158,157,20],"class_list":["post-1207","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-cockpit","tag-management","tag-remote","tag-ubuntu"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Install Cockpit on Ubuntu 18.04 | LinuxHostSupport<\/title>\n<meta name=\"description\" content=\"In this tutorial, we will show you how to install Cockpit on an Ubuntu 18.04 Server. Cockpit is a web-based system administration service used to manage\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxhostsupport.com\/blog\/install-cockpit-on-ubuntu-18-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install Cockpit on Ubuntu 18.04 | LinuxHostSupport\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we will show you how to install Cockpit on an Ubuntu 18.04 Server. Cockpit is a web-based system administration service used to manage\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxhostsupport.com\/blog\/install-cockpit-on-ubuntu-18-04\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxHostSupport\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/linuxhostsupport\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-24T20:04:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/how-to-install-cockpit-on-ubuntu18.04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"410\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:site\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/install-cockpit-on-ubuntu-18-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/install-cockpit-on-ubuntu-18-04\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"headline\":\"Install Cockpit on Ubuntu 18.04\",\"datePublished\":\"2020-07-24T20:04:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/install-cockpit-on-ubuntu-18-04\\\/\"},\"wordCount\":905,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/install-cockpit-on-ubuntu-18-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/how-to-install-cockpit-on-ubuntu18.04.jpg\",\"keywords\":[\"cockpit\",\"management\",\"remote\",\"ubuntu\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/install-cockpit-on-ubuntu-18-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/install-cockpit-on-ubuntu-18-04\\\/\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/install-cockpit-on-ubuntu-18-04\\\/\",\"name\":\"Install Cockpit on Ubuntu 18.04 | LinuxHostSupport\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/install-cockpit-on-ubuntu-18-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/install-cockpit-on-ubuntu-18-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/how-to-install-cockpit-on-ubuntu18.04.jpg\",\"datePublished\":\"2020-07-24T20:04:56+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"description\":\"In this tutorial, we will show you how to install Cockpit on an Ubuntu 18.04 Server. Cockpit is a web-based system administration service used to manage\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/install-cockpit-on-ubuntu-18-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/install-cockpit-on-ubuntu-18-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/install-cockpit-on-ubuntu-18-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/how-to-install-cockpit-on-ubuntu18.04.jpg\",\"contentUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/how-to-install-cockpit-on-ubuntu18.04.jpg\",\"width\":750,\"height\":410},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/install-cockpit-on-ubuntu-18-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install Cockpit on Ubuntu 18.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\",\"name\":\"LinuxHostSupport\",\"description\":\"Linux Tutorials and Guides\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install Cockpit on Ubuntu 18.04 | LinuxHostSupport","description":"In this tutorial, we will show you how to install Cockpit on an Ubuntu 18.04 Server. Cockpit is a web-based system administration service used to manage","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:\/\/linuxhostsupport.com\/blog\/install-cockpit-on-ubuntu-18-04\/","og_locale":"en_US","og_type":"article","og_title":"Install Cockpit on Ubuntu 18.04 | LinuxHostSupport","og_description":"In this tutorial, we will show you how to install Cockpit on an Ubuntu 18.04 Server. Cockpit is a web-based system administration service used to manage","og_url":"https:\/\/linuxhostsupport.com\/blog\/install-cockpit-on-ubuntu-18-04\/","og_site_name":"LinuxHostSupport","article_publisher":"https:\/\/www.facebook.com\/linuxhostsupport","article_published_time":"2020-07-24T20:04:56+00:00","og_image":[{"width":750,"height":410,"url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/how-to-install-cockpit-on-ubuntu18.04.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@lnxhostsupport","twitter_site":"@lnxhostsupport","twitter_misc":{"Written by":"admin","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxhostsupport.com\/blog\/install-cockpit-on-ubuntu-18-04\/#article","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/install-cockpit-on-ubuntu-18-04\/"},"author":{"name":"admin","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"headline":"Install Cockpit on Ubuntu 18.04","datePublished":"2020-07-24T20:04:56+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/install-cockpit-on-ubuntu-18-04\/"},"wordCount":905,"commentCount":0,"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/install-cockpit-on-ubuntu-18-04\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/how-to-install-cockpit-on-ubuntu18.04.jpg","keywords":["cockpit","management","remote","ubuntu"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxhostsupport.com\/blog\/install-cockpit-on-ubuntu-18-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxhostsupport.com\/blog\/install-cockpit-on-ubuntu-18-04\/","url":"https:\/\/linuxhostsupport.com\/blog\/install-cockpit-on-ubuntu-18-04\/","name":"Install Cockpit on Ubuntu 18.04 | LinuxHostSupport","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/install-cockpit-on-ubuntu-18-04\/#primaryimage"},"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/install-cockpit-on-ubuntu-18-04\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/how-to-install-cockpit-on-ubuntu18.04.jpg","datePublished":"2020-07-24T20:04:56+00:00","author":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"description":"In this tutorial, we will show you how to install Cockpit on an Ubuntu 18.04 Server. Cockpit is a web-based system administration service used to manage","breadcrumb":{"@id":"https:\/\/linuxhostsupport.com\/blog\/install-cockpit-on-ubuntu-18-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxhostsupport.com\/blog\/install-cockpit-on-ubuntu-18-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxhostsupport.com\/blog\/install-cockpit-on-ubuntu-18-04\/#primaryimage","url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/how-to-install-cockpit-on-ubuntu18.04.jpg","contentUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/07\/how-to-install-cockpit-on-ubuntu18.04.jpg","width":750,"height":410},{"@type":"BreadcrumbList","@id":"https:\/\/linuxhostsupport.com\/blog\/install-cockpit-on-ubuntu-18-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxhostsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Install Cockpit on Ubuntu 18.04"}]},{"@type":"WebSite","@id":"https:\/\/linuxhostsupport.com\/blog\/#website","url":"https:\/\/linuxhostsupport.com\/blog\/","name":"LinuxHostSupport","description":"Linux Tutorials and Guides","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=1207"}],"version-history":[{"count":4,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1207\/revisions"}],"predecessor-version":[{"id":1218,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1207\/revisions\/1218"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media\/1214"}],"wp:attachment":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=1207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=1207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=1207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}