{"id":1170,"date":"2020-06-10T16:20:59","date_gmt":"2020-06-10T21:20:59","guid":{"rendered":"https:\/\/linuxhostsupport.com\/blog\/?p=1170"},"modified":"2020-06-10T16:20:59","modified_gmt":"2020-06-10T21:20:59","slug":"how-to-install-cockpit-on-centos-7","status":"publish","type":"post","link":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-cockpit-on-centos-7\/","title":{"rendered":"How to Install Cockpit on CentOS 7"},"content":{"rendered":"<div id=\"linux-979254510\" 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 article, we will show you how to install Cockpit CMS on a CentOS 7 VPS and help install Apache &amp; PHP on it as well.<\/p>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-1176\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/install-configure-cockpit-cms-platform-on-centos7-server.jpg\" alt=\"\" width=\"120\" height=\"120\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/install-configure-cockpit-cms-platform-on-centos7-server.jpg 120w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/install-configure-cockpit-cms-platform-on-centos7-server-60x60.jpg 60w\" sizes=\"(max-width: 120px) 100vw, 120px\" \/>Cockpit is a free, open source and self-hosted content management system (CMS) application written in PHP. It is a simple content platform used by web developers to create and manage any structured content. Cockpit stores the data in an SQLite database, so you don\u2019t need to install or configure a database server such as MySQL \/ MariaDB. All of this combined makes for a pleasant CMS experience that allows you to share your ideas and content with the world without needing almost any technical knowledge whatsoever.<\/p>\n<p>Let&#8217;s get started with the installation.<\/p>\n<p><!--more--><\/p>\n<h2>Prerequisites<\/h2>\n<ul>\n<li>A CentOS 7 VPS with root access enabled (or access to a user account with sudo privileges).<\/li>\n<li>Apache web server 2.0 or higher compiled with the <code>mod_rewrite<\/code> Apache module. Alternatively, we can use Nginx as a web server with PHP support.<\/li>\n<li>PHP 7.1 or higher (PHP 7.2 is preferred) with the following PHP extensions enabled: PDO, GD graphics library, Zip and mbstring.<\/li>\n<\/ul>\n<h2><span id=\"1-Connect-via-SSH\" class=\"ez-toc-section\">Step 1: Connect via SSH and Update the OS Packages<\/span><\/h2>\n<p>Log in to the server using SSH as root user (or a user with sudo privileges). You can do that by entering this command:<\/p>\n<pre>ssh root@IP_Address -p Port_Number<\/pre>\n<p>Remember to replace &#8216;root&#8217; with your username if you are not using the root user. Also, replace <span style=\"color: #ff0000;\">IP_ADDRESS<\/span> and <span style=\"color: #ff0000;\">PORT_NUMBER<\/span>\u00a0with your server&#8217;s respective IP address and SSH port number (the default is 22).<\/p>\n<p>Once you are logged in, you should update all of your OS packages to their latest available versions.<\/p>\n<pre>yum clean all\r\nyum update<\/pre>\n<h2>Step 2: Install Apache and PHP 7.2<\/h2>\n<p>Apache is available within CentOS\u2019s default software repositories, so simply run the following command to install Apache web server:<\/p>\n<pre>yum install httpd -y<\/pre>\n<p>After installing Apache, start the Apache server and enable it to start at boot time:<\/p>\n<pre>systemctl start httpd\r\nsystemctl enable httpd<\/pre>\n<p>CentOS 7 comes with PHP version 5.4. This is a problem because Cockpit CMS requires PHP version 7.1 or higher. For the purposes of this tutorial, we will install PHP version 7.2 using the <code>Webtatic<\/code> repository. To enable the Webtatic repository, run the following command:<\/p>\n<pre>rpm -Uvh https:\/\/mirror.webtatic.com\/yum\/el7\/webtatic-release.rpm<\/pre>\n<p>Then, run the following command to install PHP 7.2 and all necessary PHP extensions:<\/p>\n<pre>yum install php72w php72w-cli php72w-mbstring php72w-pdo php72w-sqlite php72w-gd php72w-zip<\/pre>\n<p>After installing PHP 7.2, you can check the PHP version installed on the server with the following command:<\/p>\n<pre>php -v<\/pre>\n<p>The output should be similar to the one below:<\/p>\n<pre>PHP 7.2.19 (cli) (built: Jun 2 2019 09:49:05) ( NTS )\r\n\r\nCopyright (c) 1997-2018 The PHP Group\r\n\r\nZend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies<\/pre>\n<p>Now we can download and install Cockpit.<\/p>\n<h2>Step 3: Download Cockpit CMS<\/h2>\n<p>Download and extract the latest version of Cockpit in the default web server document root directory (<code>\/var\/www\/html<\/code>):<\/p>\n<pre>cd \/var\/www\/html\r\nwget https:\/\/github.com\/agentejo\/cockpit\/archive\/master.zip\r\nunzip master.zip\r\nmv cockpit-master cockpit<\/pre>\n<p>Then, run the following commands to set the correct permissions for Cockpit CMS (Apache needs to have ownership of the files in order for it to use them correctly):<\/p>\n<pre>chown -R apache:apache \/var\/www\/html\/cockpit\/<\/pre>\n<h2>Step 4: Configure the Apache Web Server<\/h2>\n<p>In this part of the tutorial, we will show you how to configure Apache to serve your Cockpit CMS web pages.<\/p>\n<p>Create a new Apache configuration file named <code>cockpit.conf<\/code> in the <code>\/etc\/httpd\/conf.d\/<\/code> directory on your server:<\/p>\n<pre>nano \/etc\/httpd\/conf.d\/cockpit.conf<\/pre>\n<p>(We\u2019re using \u2018nano\u2019 to edit our text, however you can use your preferred text editor instead).<\/p>\n<p>Add the following lines:<\/p>\n<pre>&lt;VirtualHost *:80&gt;\r\n    ServerAdmin admin@your_domain.com\r\n    DocumentRoot \/var\/www\/html\/cockpit\r\n    ServerName your_domain.com\r\n    ServerAlias www.your_domain.com\r\n    &lt;Directory \/var\/www\/html\/cockpit&gt;\r\n        Options FollowSymLinks\r\n        AllowOverride All\r\n        Order allow,deny\r\n        allow from all\r\n    &lt;\/Directory&gt;\r\n    ErrorLog \/var\/log\/httpd\/your_domain.com-error_log\r\n    CustomLog \/var\/log\/httpd\/your_domain.com-access_log common\r\n&lt;\/VirtualHost&gt;<\/pre>\n<p>Of course, don\u2019t forget to replace <span style=\"color: #ff0000;\">your_domain.com<\/span> with your actual domain name.<\/p>\n<p>Save and close the file, then restart the Apache service for the changes to take effect:<\/p>\n<pre>systemctl restart httpd<\/pre>\n<h2>Step 5: Install Cockpit CMS<\/h2>\n<p>Now, you can open your preferred web browser and access <code>http:\/\/your_domain.com\/install<\/code> . You should see the Cockpit CMS setup page. Simply follow the onscreen instructions and complete the Cockpit CMS installation.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1172\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/cockpit-1.png\" alt=\"\" width=\"491\" height=\"614\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/cockpit-1.png 491w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/cockpit-1-240x300.png 240w\" sizes=\"(max-width: 491px) 100vw, 491px\" \/><\/p>\n<p>After that, click on the <span style=\"color: #ff0000;\">LOGIN NOW<\/span> button and provide the <strong>default administrator username and password: admin \/ admin<\/strong>. Once logged in, you should change the default administrator user account password immediately.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1173\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/cockpit-back-end-1024x638-1.png\" alt=\"\" width=\"1024\" height=\"638\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/cockpit-back-end-1024x638-1.png 1024w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/cockpit-back-end-1024x638-1-300x187.png 300w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/cockpit-back-end-1024x638-1-768x479.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>That&#8217;s it. You have successfully installed Cockpit CMS on your CentOS 7 VPS. For more information about how to manage your Cockpit installation, please refer to the official Cockpit documentation.<\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-1177\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/premium-managed-support-help-for-centos-server-vps-cms-cockpit.jpg\" alt=\"\" width=\"120\" height=\"120\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/premium-managed-support-help-for-centos-server-vps-cms-cockpit.jpg 120w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/premium-managed-support-help-for-centos-server-vps-cms-cockpit-60x60.jpg 60w\" sizes=\"(max-width: 120px) 100vw, 120px\" \/>Of course, you don&#8217;t have to Install Cockpit on CentOS 7, if you use one of our <a href=\"https:\/\/linuxhostsupport.com\/monthly-server-management.html\">Managed VPS Support<\/a> services, in which case you can simply ask our expert Linux admins to Install Cockpit on CentOS 7 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 CentOS 7<\/strong>, please share it with your friends on the social networks using the share buttons, or simply leave a reply below. Thanks.<\/p><div id=\"linux-4029878546\" 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 article, we will show you how to install Cockpit CMS on a CentOS 7 VPS and help install Apache &amp; PHP on it as well. Cockpit is a free, open source and self-hosted content management system (CMS) application written in PHP. It is a simple content platform used by web developers to create [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1175,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[17,38,153],"class_list":["post-1170","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-centos","tag-cms","tag-cockpit"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Cockpit on CentOS 7 | LinuxHostSupport<\/title>\n<meta name=\"description\" content=\"In this article, we will show you how to install Cockpit CMS on a CentOS 7 VPS and help install Apache &amp; PHP on it as well. Cockpit is a free, open\" \/>\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\/how-to-install-cockpit-on-centos-7\/\" \/>\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 CentOS 7 | LinuxHostSupport\" \/>\n<meta property=\"og:description\" content=\"In this article, we will show you how to install Cockpit CMS on a CentOS 7 VPS and help install Apache &amp; PHP on it as well. Cockpit is a free, open\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-cockpit-on-centos-7\/\" \/>\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-06-10T21:20:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-cockpit-on-centos7.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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-cockpit-on-centos-7\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-cockpit-on-centos-7\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"headline\":\"How to Install Cockpit on CentOS 7\",\"datePublished\":\"2020-06-10T21:20:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-cockpit-on-centos-7\\\/\"},\"wordCount\":716,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-cockpit-on-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/how-to-install-cockpit-on-centos7.jpg\",\"keywords\":[\"centos\",\"cms\",\"cockpit\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-cockpit-on-centos-7\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-cockpit-on-centos-7\\\/\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-cockpit-on-centos-7\\\/\",\"name\":\"How to Install Cockpit on CentOS 7 | LinuxHostSupport\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-cockpit-on-centos-7\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-cockpit-on-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/how-to-install-cockpit-on-centos7.jpg\",\"datePublished\":\"2020-06-10T21:20:59+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"description\":\"In this article, we will show you how to install Cockpit CMS on a CentOS 7 VPS and help install Apache &amp; PHP on it as well. Cockpit is a free, open\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-cockpit-on-centos-7\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-cockpit-on-centos-7\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-cockpit-on-centos-7\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/how-to-install-cockpit-on-centos7.jpg\",\"contentUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/how-to-install-cockpit-on-centos7.jpg\",\"width\":750,\"height\":410},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-cockpit-on-centos-7\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Cockpit on CentOS 7\"}]},{\"@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":"How to Install Cockpit on CentOS 7 | LinuxHostSupport","description":"In this article, we will show you how to install Cockpit CMS on a CentOS 7 VPS and help install Apache &amp; PHP on it as well. Cockpit is a free, open","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\/how-to-install-cockpit-on-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Cockpit on CentOS 7 | LinuxHostSupport","og_description":"In this article, we will show you how to install Cockpit CMS on a CentOS 7 VPS and help install Apache &amp; PHP on it as well. Cockpit is a free, open","og_url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-cockpit-on-centos-7\/","og_site_name":"LinuxHostSupport","article_publisher":"https:\/\/www.facebook.com\/linuxhostsupport","article_published_time":"2020-06-10T21:20:59+00:00","og_image":[{"width":750,"height":410,"url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-cockpit-on-centos7.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":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-cockpit-on-centos-7\/#article","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-cockpit-on-centos-7\/"},"author":{"name":"admin","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"headline":"How to Install Cockpit on CentOS 7","datePublished":"2020-06-10T21:20:59+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-cockpit-on-centos-7\/"},"wordCount":716,"commentCount":0,"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-cockpit-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-cockpit-on-centos7.jpg","keywords":["centos","cms","cockpit"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-cockpit-on-centos-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-cockpit-on-centos-7\/","url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-cockpit-on-centos-7\/","name":"How to Install Cockpit on CentOS 7 | LinuxHostSupport","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-cockpit-on-centos-7\/#primaryimage"},"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-cockpit-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-cockpit-on-centos7.jpg","datePublished":"2020-06-10T21:20:59+00:00","author":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"description":"In this article, we will show you how to install Cockpit CMS on a CentOS 7 VPS and help install Apache &amp; PHP on it as well. Cockpit is a free, open","breadcrumb":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-cockpit-on-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-cockpit-on-centos-7\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-cockpit-on-centos-7\/#primaryimage","url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-cockpit-on-centos7.jpg","contentUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-cockpit-on-centos7.jpg","width":750,"height":410},{"@type":"BreadcrumbList","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-cockpit-on-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxhostsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Cockpit on CentOS 7"}]},{"@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\/1170","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=1170"}],"version-history":[{"count":4,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1170\/revisions"}],"predecessor-version":[{"id":1179,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1170\/revisions\/1179"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media\/1175"}],"wp:attachment":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=1170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=1170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=1170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}