{"id":33794,"date":"2020-10-05T13:54:19","date_gmt":"2020-10-05T18:54:19","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=33794"},"modified":"2022-06-03T03:32:38","modified_gmt":"2022-06-03T08:32:38","slug":"how-to-install-drupal-on-centos-8","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/","title":{"rendered":"How to Install Drupal on CentOS 8"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full is-style-default\"><img decoding=\"async\" width=\"742\" height=\"372\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-drupal-on-centos-8.jpg\" alt=\"install Drupal CMS CentOS 8\" class=\"wp-image-34446\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-drupal-on-centos-8.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-drupal-on-centos-8-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-drupal-on-centos-8-150x75.jpg 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/figure>\n\n\n\n<p>In this guide, we will show you how to install Drupal on a <a href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\">CentOS 8 VPS<\/a>.<\/p>\n\n\n\n<p>Drupal is a free and open-source web content management framework that is written in PHP. It allows us to create a website for a specific idea or business and gives us great tools that let us customize and make our business exactly the way we want to. In this tutorial, we will install Drupal on top of a LAMP stack. LAMP (Linux, Apache, MySQL, and PHP) is a very common web service stack that is widely used these days. <\/p>\n\n\n\n<div class=\"wp-block-image is-style-default\"><figure class=\"alignright size-large\"><img decoding=\"async\" width=\"102\" height=\"115\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/install-setup-drupal-cms-platform-for-centos-8-vps.jpg\" alt=\"drupal centos 8 install with apache\" class=\"wp-image-34448\"\/><\/figure><\/div>\n\n\n\n<p>Apache is the web server, MySQL is the database server, PHP provides an excellent environment for scripts, and it all runs on top of Linux. This provides us with an excellent foundation on which we plan to install Drupal. We will use the latest CentOS 8 Linux distribution in this tutorial, but this tutorial may also work for other versions and distributions of Linux. Let&#8217;s get started.<\/p>\n\n\n\n<!--more-->\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69f61c70efc8e\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69f61c70efc8e\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/#1-Prerequisites-Login-and-Updates\" >1. Prerequisites, Login, and Updates<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/#2-Installing-Apache\" >2. Installing Apache<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/#3-Install-the-MariaDB-Database-Server\" >3. Install the MariaDB Database Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/#4-Install-PHP-and-extensions\" >4. Install PHP and extensions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/#5-Download-and-Install-Drupal\" >5. Download and Install Drupal<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/#6-Create-an-Apache-configuration-file\" >6. Create an Apache configuration file<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/#7-Complete-the-Drupal-Installation\" >7. Complete the Drupal Installation<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-1-prerequisites-login-and-updates\"><span class=\"ez-toc-section\" id=\"1-Prerequisites-Login-and-Updates\"><\/span>1. Prerequisites, Login, and Updates<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To start, you&#8217;re going to need a CentOS 8 server or VPS that has an SSH accessible IP address with full root access (or a user with administrative access). Our VPSes all come with root access included, so we can continue.<\/p>\n\n\n\n<p>First, we need to log in and update any packages that are currently out-of-date.<\/p>\n\n\n\n<p>Log in to your CentOS 8 VPS with the <code>ssh<\/code> command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh root@IP_Address -p Port_number<\/pre>\n\n\n\n<p>You can replace the \u201croot\u201d user with a user that has sudo privileges if necessary, and make sure to replace <code>IP_Address<\/code> and <code>Port_number<\/code> with your server\u2019s actual IP address and SSH port number.<\/p>\n\n\n\n<p>Make sure your system is up-to-date with the latest updates by running the following two commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">yum update<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-2-installing-apache\"><span class=\"ez-toc-section\" id=\"2-Installing-Apache\"><\/span>2. Installing Apache<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Installing Apache &#8211; the most popular web server in the world &#8211; is very easy. Simply run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">yum install httpd<\/pre>\n\n\n\n<p>To start Apache and to enable it to auto-start on server boot, run these commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl enable httpd\nsystemctl start httpd<\/pre>\n\n\n\n<p>To verify that the installation is okay and the Apache web server is up and running we can try to access the server&#8217;s IP address in a web browser (e.g. <code>http:\/\/123.123.123.123<\/code>\/) &#8211; if we receive the Apache welcome screen, we are good to go.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"647\" height=\"985\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/apache_ubuntu.png\" alt=\"\" class=\"wp-image-32563\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/apache_ubuntu.png 647w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/apache_ubuntu-197x300.png 197w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/apache_ubuntu-99x150.png 99w\" sizes=\"(max-width: 647px) 100vw, 647px\" \/><\/figure><\/div>\n\n\n\n<p>We can check that the Apache service is properly started and working with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl status httpd<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-3-install-the-mariadb-database-server\"><span class=\"ez-toc-section\" id=\"3-Install-the-MariaDB-Database-Server\"><\/span>3. Install the MariaDB Database Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To install the MariaDB Database server package, run this next command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">yum install mariadb-server<\/pre>\n\n\n\n<p>During the installation, we will be asked to enter a password for the MySQL root user. It is a good idea to create a password for the MySQL root user. Make sure to use a strong password.<\/p>\n\n\n\n<p>To set MariaDB to start at boot and start the MariaDB service for the first time, run:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl enable mariadb\nsystemctl start mariadb<\/pre>\n\n\n\n<p>To improve the security level of the MariaDB installation, we strongly recommend to run the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mysql_secure_installation<\/pre>\n\n\n\n<p>We will be given the option to change the MariaDB root password, remove anonymous user accounts, disable root logins outside of the localhost, and remove all test databases before finally reloading privileges. It is recommended that you answer yes to all of the prompts.<\/p>\n\n\n\n<p>For the Drupal setup, we need to create a database and connect it with a user that we will create as well. First, log in to the MariaDB console:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mysql -u root -p<\/pre>\n\n\n\n<p>Then, create a new MariaDB database and user with permissions to use it:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">create database drupal_db;\ngrant all on drupal_db.* to 'drupal_user' identified by '<strong>password<\/strong>';\nflush privileges;\nexit;<\/pre>\n\n\n\n<p>These SQL commands will create a database called <code>drupal_db<\/code>, grant all permissions to a new user called <code>drupal_user<\/code> that has the password &#8216;<code>password<\/code>&#8216;, before saving all permissions and exiting. You can choose names different from <code>drupal_db<\/code> and <code>drupal_user<\/code> if you like, and we strongly recommend changing &#8216;<code>password<\/code>&#8216; to a stronger password.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-4-install-php-and-extensions\"><span class=\"ez-toc-section\" id=\"4-Install-PHP-and-extensions\"><\/span>4. Install PHP and extensions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To install PHP and the required PHP extensions for Drupal, we have to run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum install php php-pear php-mysqlnd php-curl php-mbstring php-gd php-xml php-pear php-fpm php-mysql php-pdo php-opcache php-json php-zip php-cli<\/code><\/pre>\n\n\n\n<p>To be sure that <code>php-fpm<\/code> service will work even after a server reboot, run the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl enable php-fpm\nsystemctl start php-fpm<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-5-download-and-install-drupal\"><span class=\"ez-toc-section\" id=\"5-Download-and-Install-Drupal\"><\/span>5. Download and Install Drupal<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Download latest Drupal version from the Drupal official site:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/opt\nwget https:\/\/ftp.drupal.org\/files\/projects\/drupal-8.8.5.tar.gz<\/pre>\n\n\n\n<p>Extract the Drupal archive file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tar -xvf drupal-8.8.5.tar.gz<\/pre>\n\n\n\n<p>Move the extracted files and directories in the document root of the website:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mv drupal-8.8.5 \/var\/www\/html\/drupal<\/pre>\n\n\n\n<p>Modify the file permissions to allow Apache to access the files inside the <code>\/var\/www\/html\/drupal<\/code> directory:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">chown -R apache:apache \/var\/www\/html\/drupal<\/pre>\n\n\n\n<p>Configure Drupal settings:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/var\/www\/html\/drupal\/sites\/default\ncp -p default.settings.php settings.php<\/pre>\n\n\n\n<p>Open the <code>settings.php<\/code> file and configure these settings to your needs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-6-create-an-apache-configuration-file\"><span class=\"ez-toc-section\" id=\"6-Create-an-Apache-configuration-file\"><\/span>6. Create an Apache configuration file<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To create a new configuration file for the Drupal website, we can create a new Apache configuration file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted wp-block-code\">nano \/etc\/httpd\/conf.d\/drupal.conf<\/pre>\n\n\n\n<p>A basic Apache configuration file looks similar to this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted wp-block-code\">&lt;VirtualHost *:80&gt;\n    ServerAdmin webmaster@<strong>example.com<\/strong>\n    ServerName <strong>example.com<\/strong>\n    DocumentRoot \/var\/www\/html\/drupal\n    &lt;Directory \/var\/www\/html\/drupal\/&gt;\n        Options Indexes FollowSymLinks\n        AllowOverride All\n        Require all granted\n    &lt;\/Directory&gt;\n    ErrorLog \/var\/log\/httpd\/drupal_error.log\n    CustomLog \/var\/log\/httpd\/drupal_access.log combined\n&lt;\/VirtualHost<\/pre>\n\n\n\n<p>Don&#8217;t forget to change the domain name next to ServerAdmin and ServerName (<code>example.com<\/code>) in order to make it work with your unique registered domain name.<\/p>\n\n\n\n<p>Restart the Apache service and you are ready:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted wp-block-code\">systemctl restart httpd<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-7-complete-the-drupal-installation\"><span class=\"ez-toc-section\" id=\"7-Complete-the-Drupal-Installation\"><\/span>7. Complete the Drupal Installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Open the Drupal website in your favorite web browser using the domain name you set in the Apache configuration. It should look something like this: <strong><code>http:\/\/example.com<\/code><\/strong>. Once you access the site, you should see the Drupal &#8216;Welcome screen&#8217; with the first step of the installation wizard.<\/p>\n\n\n\n<p>Choose the Installation Language, continue to the next steps and finish the installation of your Drupal website:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"829\" height=\"404\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/language.jpg\" alt=\"Drupal installation page\" class=\"wp-image-33799\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/language.jpg 829w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/language-300x146.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/language-150x73.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/language-768x374.jpg 768w\" sizes=\"(max-width: 829px) 100vw, 829px\" \/><\/figure><\/div>\n\n\n\n<p>Don&#8217;t forget to use the same database name and MariaDB username that you entered when you were creating the MariaDB database user for the Drupal website. That should be it! You now have a successful Drupal installation on your CentOS 8 VPS.<\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<div class=\"wp-block-image is-style-default\"><figure class=\"alignleft size-large\"><img decoding=\"async\" width=\"102\" height=\"115\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/drupal-managed-support-for-centos-8-server-vps.jpg\" alt=\"Drupal CMS installation configuration for CentOS 8\" class=\"wp-image-34449\"\/><\/figure><\/div>\n\n\n\n<p>While the Drupal installation process is quite simple, that&#8217;s not the entire story of hosting your own CMS. That&#8217;s why if you use our <a href=\"https:\/\/www.rosehosting.com\/drupal-hosting.html\">Managed Drupal hosting<\/a>, your support needs will be completely covered. We do <strong>maintenance<\/strong>, tailor-made <strong>optimization<\/strong>, and <strong>any<\/strong> requests that you might have, all <strong>included<\/strong> in the price of the VPS forever.<\/p>\n\n\n\n<p>We hope this tutorial helped you install Drupal on your CentOS 8 server. If so, please consider sharing this post on social media by using our share shortcuts, or leave a comment down below if you have any questions or suggestions. Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we will show you how to install Drupal on a CentOS 8 VPS. Drupal is a free &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Drupal on CentOS 8\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/#more-33794\" aria-label=\"Read more about How to Install Drupal on CentOS 8\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":34446,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,1710,13],"tags":[1838,292,160],"class_list":["post-33794","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-cms-crm-erp","category-tutorials","tag-centos-8","tag-cms","tag-drupal","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Drupal on CentOS 8 | RoseHosting<\/title>\n<meta name=\"description\" content=\"We&#039;ll show you how to install Drupal CMS on your CentOS 8 server. This simple guide will get Drupal on your CentOS 8 VPS in minutes.\" \/>\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.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Drupal on CentOS 8\" \/>\n<meta property=\"og:description\" content=\"How to Install Drupal on CentOS 8 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-05T18:54:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:32:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-drupal-on-centos-8.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\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:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-drupal-on-centos-8\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-drupal-on-centos-8\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Drupal on CentOS 8\",\"datePublished\":\"2020-10-05T18:54:19+00:00\",\"dateModified\":\"2022-06-03T08:32:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-drupal-on-centos-8\\\/\"},\"wordCount\":966,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-drupal-on-centos-8\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/how-to-install-drupal-on-centos-8.jpg\",\"keywords\":[\"centos 8\",\"cms\",\"drupal\"],\"articleSection\":[\"CentOS\",\"CMS, CRM, ERP\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-drupal-on-centos-8\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-drupal-on-centos-8\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-drupal-on-centos-8\\\/\",\"name\":\"How to Install Drupal on CentOS 8 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-drupal-on-centos-8\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-drupal-on-centos-8\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/how-to-install-drupal-on-centos-8.jpg\",\"datePublished\":\"2020-10-05T18:54:19+00:00\",\"dateModified\":\"2022-06-03T08:32:38+00:00\",\"description\":\"We'll show you how to install Drupal CMS on your CentOS 8 server. This simple guide will get Drupal on your CentOS 8 VPS in minutes.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-drupal-on-centos-8\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-drupal-on-centos-8\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-drupal-on-centos-8\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/how-to-install-drupal-on-centos-8.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/10\\\/how-to-install-drupal-on-centos-8.jpg\",\"width\":742,\"height\":372,\"caption\":\"install Drupal CMS CentOS 8\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-drupal-on-centos-8\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Drupal on CentOS 8\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Drupal on CentOS 8 | RoseHosting","description":"We'll show you how to install Drupal CMS on your CentOS 8 server. This simple guide will get Drupal on your CentOS 8 VPS in minutes.","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.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Drupal on CentOS 8","og_description":"How to Install Drupal on CentOS 8 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2020-10-05T18:54:19+00:00","article_modified_time":"2022-06-03T08:32:38+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-drupal-on-centos-8.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Drupal on CentOS 8","datePublished":"2020-10-05T18:54:19+00:00","dateModified":"2022-06-03T08:32:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/"},"wordCount":966,"commentCount":2,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-drupal-on-centos-8.jpg","keywords":["centos 8","cms","drupal"],"articleSection":["CentOS","CMS, CRM, ERP","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/","name":"How to Install Drupal on CentOS 8 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-drupal-on-centos-8.jpg","datePublished":"2020-10-05T18:54:19+00:00","dateModified":"2022-06-03T08:32:38+00:00","description":"We'll show you how to install Drupal CMS on your CentOS 8 server. This simple guide will get Drupal on your CentOS 8 VPS in minutes.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-drupal-on-centos-8.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/10\/how-to-install-drupal-on-centos-8.jpg","width":742,"height":372,"caption":"install Drupal CMS CentOS 8"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-drupal-on-centos-8\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Drupal on CentOS 8"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/33794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=33794"}],"version-history":[{"count":11,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/33794\/revisions"}],"predecessor-version":[{"id":40457,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/33794\/revisions\/40457"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/34446"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=33794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=33794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=33794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}