{"id":33549,"date":"2020-07-15T13:54:42","date_gmt":"2020-07-15T18:54:42","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=33549"},"modified":"2023-04-04T03:47:50","modified_gmt":"2023-04-04T08:47:50","slug":"how-to-install-magento-2-on-centos-8","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-2-on-centos-8\/","title":{"rendered":"How to Install Magento 2 on CentOS 8"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignnone size-full wp-image-33622\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-magento2-on-centos8.jpg\" alt=\"\" width=\"742\" height=\"372\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-magento2-on-centos8.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-magento2-on-centos8-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-magento2-on-centos8-150x75.jpg 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/p>\n<p>In this tutorial, we will show you how to install Magento 2 with Apache on a <a href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">CentOS 8 VPS<\/a>.<\/p>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-33623\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/install-setup-magento-ecommerce-platform-on-centos8-vps.jpg\" alt=\"\" width=\"110\" height=\"130\" \/>Magento is a free, open-source and cloud-based e-commerce platform written in PHP. Magento offers a community and a commercial version of its platform &#8211; the community version is free and is designed primarily for individuals and\/or small businesses. On the other hand, the enterprise version is mainly aimed at medium to large businesses and more of an enterprise environment.<\/p>\n<p>Magento is very user-friendly and is fully customizable, allowing you to create and customize online stores in mere minutes. On top of the excellent customization, Magento offers powerful marketing, search engine optimization, and catalog-management tools. It allows you to run several stores at the same time and manage them using one panel. This is essentially the full package for e-commerce, providing everything you need to get started.<\/p>\n<p>Let&#8217;s begin with the installation.<\/p>\n<p><!--more--><\/p>\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-69ee880be781f\" 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-69ee880be781f\"  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-magento-2-on-centos-8\/#Prerequisites\" >Prerequisites<\/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-magento-2-on-centos-8\/#Getting-Started\" >Getting Started<\/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-magento-2-on-centos-8\/#Installing-and-Setting-up-Apache-MariaDB-and-PHP\" >Installing and Setting up Apache, MariaDB and PHP<\/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-magento-2-on-centos-8\/#Create-a-Database-for-Magento\" >Create a Database for Magento<\/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-magento-2-on-centos-8\/#Install-Magento\" >Install Magento<\/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-magento-2-on-centos-8\/#Configure-Apache-for-Magento\" >Configure Apache for Magento<\/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-magento-2-on-centos-8\/#Step-6-Access-Magento-Web-Interface\" >Step 6 : Access Magento Web Interface<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-2-on-centos-8\/#Create-the-Magento-Cron-Job\" >Create the Magento Cron Job<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>A <a href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\">CentOS 8 VPS<\/a> with root access enabled (our VPSes all have root access) or a user with sudo privileges.<\/li>\n<li>A valid domain name pointed with your server.<\/li>\n<li>Minimum 4GB of RAM and 2 CPU cores.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Getting-Started\"><\/span>Getting Started<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>First, you will need to log in to your CentOS 8 VPS via SSH as the root user:<\/p>\n<p><code>ssh root@IP_ADDRESS -p PORT_NUMBER<\/code><\/p>\n<p>Make sure to replace &#8220;IP_ADDRESS&#8221; and &#8220;PORT_NUMBER&#8221; with your server&#8217;s IP (required) and Port number (if not the default).<\/p>\n<p>Next, run the following commands to upgrade all installed packages on your VPS:<\/p>\n<p><code>dnf update -y<\/code><\/p>\n<p>By default, SELinux is enabled in CentOS 8 system. This can often cause conflicts and programs to stop working without any clear reason as to why, so it is recommended to disable SELinux on your system to ensure smooth functionality.<\/p>\n<p>You can disable the SELinux by editing <code>\/etc\/selinux\/config<\/code> file:<\/p>\n<p><code>nano \/etc\/selinux\/config<\/code><\/p>\n<p>Find the following line:<\/p>\n<p><code>SELINUX=enforcing<\/code><\/p>\n<p>And, replace it with the following line:<\/p>\n<p><code>SELINUX=permissive<\/code><\/p>\n<p>Save and close the file. Then, restart your system to apply the changes.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Installing-and-Setting-up-Apache-MariaDB-and-PHP\"><\/span>Installing and Setting up Apache, MariaDB and PHP<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In order for Magento to work, it requires a few prerequisite software packages. Apache provides the web server that serves the content, MariaDB is the database server that stores the data, and PHP is the programming language used to run the store.<\/p>\n<p>First, install the Apache webserver and MariaDB with the following command:<\/p>\n<p><code>dnf install httpd mariadb-server -y<\/code><\/p>\n<p>The latest version of Magento is only compatible with <strong>PHP 7.1.3+<\/strong> and <strong>7.2.x<\/strong>. So you will need to install the supported PHP versions with required PHP extensions. By default, CentOS 8 ships with PHP version 7.2. This means that we won&#8217;t be needing a third-party repository in order to install PHP. \u00a0Therefore, you can simply install the required PHP version with all dependencies using the following command:<\/p>\n<p><code>dnf install php php-cli php-mysqlnd php-opcache php-xml php-gd php-soap php-pdo php-bcmath php-intl php-mbstring php-json php-iconv php-zip unzip git -y<\/code><\/p>\n<p>Once all the packages are installed, edit the <code>php.ini<\/code> file and tweak some settings:<\/p>\n<p><code>nano \/etc\/php.ini<\/code><\/p>\n<p>Change the following values:<\/p>\n<p><code>memory_limit = 1024M<br \/>\nupload_max_filesize = 256M<br \/>\nzlib.output_compression = on<br \/>\nmax_execution_time = 18000<br \/>\ndate.timezone = UTC<br \/>\n<\/code><br \/>\nSave and close the file then start the Apache and MariaDB service and enable them to start at boot with the following command:<\/p>\n<p><code>systemctl start httpd<br \/>\nsystemctl start mariadb<br \/>\nsystemctl enable httpd<br \/>\nsystemctl enable mariadb<\/code><\/p>\n<p>At this point, the LAMP server is installed on your server.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Create-a-Database-for-Magento\"><\/span>Create a Database for Magento<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>First, secure the MariaDB installation and set the MariaDB root password with the following command:<\/p>\n<p><code>mysql_secure_installation<\/code><\/p>\n<p>A set of prompts will appear &#8211; this is how we answered all the questions, as shown below:<\/p>\n<p><code>Enter current password for root (enter for none):<br \/>\nSet root password? [Y\/n] Y<br \/>\nNew password:<br \/>\nRe-enter new password:<br \/>\nRemove anonymous users? [Y\/n] Y<br \/>\nDisallow root login remotely? [Y\/n] Y<br \/>\nRemove test database and access to it? [Y\/n] Y<br \/>\nReload privilege tables now? [Y\/n] Y<br \/>\n<\/code><br \/>\nOnce the MariaDB is secured, log in to the MariaDB using the following command:<\/p>\n<p><code>mysql -u root -p<\/code><\/p>\n<p>Provide your MariaDB root password then create a database and user for Magento with the following command:<\/p>\n<p><code>MariaDB [(none)]&gt; CREATE DATABASE magento2;<br \/>\nMariaDB [(none)]&gt; CREATE USER 'magento'@'localhost' IDENTIFIED BY '<span style=\"color: #0000ff;\">password<\/span>';<\/code><\/p>\n<p>Make sure to REPLACE &#8216;<span style=\"color: #0000ff;\">password<\/span>&#8216; with a SECURE password.<\/p>\n<p>Next, grant all the privileges to the Magento database with the following command:<\/p>\n<p><code>MariaDB [(none)]&gt; GRANT ALL ON magento2.* TO 'magento'@'localhost' IDENTIFIED BY '<span style=\"color: #0000ff;\">password<\/span>' WITH GRANT OPTION;<\/code><\/p>\n<p>Next, flush the privileges and exit from the MariaDB with the following command:<\/p>\n<p><code>MariaDB [(none)]&gt; FLUSH PRIVILEGES;<br \/>\nMariaDB [(none)]&gt; EXIT;<\/code><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Install-Magento\"><\/span>Install Magento<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Before starting, it is recommended to create a non-root system user for Magento instance.<\/p>\n<p>You can create a user called <code>magento<\/code> and then add them to the Apache webserver group with the following command:<\/p>\n<p><code>adduser magento<br \/>\nusermod -a -G apache magento<\/code><\/p>\n<p>Next, you will also need to install Composer on your system. Composer allows you to install all of the required PHP libraries and dependencies for your Magento project through one simple package manager.<\/p>\n<p>You can install Composer with the following command:<\/p>\n<p><code>curl -sS https:\/\/getcomposer.org\/installer | php<br \/>\nmv composer.phar \/usr\/local\/bin\/composer<\/code><\/p>\n<p>Next, download the latest version of Magento from its official website.<\/p>\n<p>Once the download is completed, unzip the downloaded file to the Apache web root directory with the following command. Note that the file name may be different for you, depending on the version that was downloaded:<\/p>\n<p><code>unzip magento-ce-2.3.5-p1_sample_data-2020-04-24-10-19-21.zip -d \/var\/www\/html\/magento2<\/code><\/p>\n<p>Next, change the directory to <code>magento2<\/code> and install all required PHP dependencies with the following command:<\/p>\n<p><code>cd \/var\/www\/html\/magento2<br \/>\ncomposer install<\/code><\/p>\n<p>Next, set proper ownership and permissions to the magento directory with the following command:<\/p>\n<p><code>chown -R magento:apache \/var\/www\/html\/magento2<br \/>\nchmod -R 775 \/var\/www\/html\/magento2<\/code><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Configure-Apache-for-Magento\"><\/span>Configure Apache for Magento<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Next, create an Apache virtual host configuration file for Magento with the following command:<\/p>\n<p><code>nano \/etc\/httpd\/conf.d\/magento.conf<\/code><\/p>\n<p>Add the following liens:<\/p>\n<p><code><\/code><code>&lt;VirtualHost *:80&gt;<br \/>\nServerAdmin admin@example.com<br \/>\nServerName magento.example.com<br \/>\nDocumentRoot \/var\/www\/html\/magento2\/<br \/>\nDirectoryIndex index.php<br \/>\n&lt;Directory \/var\/www\/html\/magento2\/&gt;<br \/>\nOptions Indexes FollowSymLinks MultiViews<br \/>\nAllowOverride All<br \/>\nOrder allow,deny<br \/>\nallow from all<br \/>\n&lt;\/Directory&gt;<br \/>\nErrorLog \/var\/log\/httpd\/magento_error.log<br \/>\nCustomLog \/var\/log\/httpd\/magento_access.log combined<br \/>\n&lt;\/VirtualHost&gt;<br \/>\n<\/code><br \/>\nSave and close the file when you are finished. Then, restart the Apache service to implement the changes:<\/p>\n<p><code>systemctl restart httpd<\/code><\/p>\n<p>At this point, the Apache web server is configured to serve the Magento instance via HTTP.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-6-Access-Magento-Web-Interface\"><\/span>Step 6 : Access Magento Web Interface<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Now, open your web browser and type the URL <code>http:\/\/magento.example.com<\/code>. You will be redirected to the Magento welcome page:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-33551\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-1-1024x495.png\" alt=\"\" width=\"1024\" height=\"495\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-1-1024x495.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-1-300x145.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-1-150x72.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-1-768x371.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-1.png 1161w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>Click on the <strong>Agree and Setup Magento<\/strong>. You should see the readiness check page:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-33552\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-2-1024x435.png\" alt=\"\" width=\"1024\" height=\"435\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-2-1024x435.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-2-300x127.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-2-150x64.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-2-768x326.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-2.png 1248w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Click on the <strong>Start Readiness Check<\/strong> to check for the correct PHP version, PHP extensions and file permissions. Once the readiness check has been completed successfully, you should see the following page:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-33553\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-3-1024x561.png\" alt=\"\" width=\"1024\" height=\"561\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-3-1024x561.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-3-300x164.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-3-150x82.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-3-768x421.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-3.png 1203w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Click on the <strong>Next<\/strong> button. You should see the Database configuration page:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-33554\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-4-1024x561.png\" alt=\"\" width=\"1024\" height=\"561\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-4-1024x561.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-4-300x164.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-4-150x82.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-4-768x420.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-4.png 1213w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Provide your Magento database name, database user, password and click on the <strong>Next<\/strong> button. You should see the Magento web configuration page:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-33555\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-5-1024x582.png\" alt=\"\" width=\"1024\" height=\"582\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-5-1024x582.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-5-300x170.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-5-150x85.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-5-768x436.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-5.png 1181w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Provide your Magento store and admin address and click on the <strong>Next<\/strong> button. You should see the following page:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-33556\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-6-1024x485.png\" alt=\"\" width=\"1024\" height=\"485\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-6-1024x485.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-6-300x142.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-6-150x71.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-6-768x364.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-6.png 1208w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Set your default time zone, currency, language and click on the <strong>Next<\/strong> button. You should see the Magento admin account creation page:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-33557\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-7-1024x491.png\" alt=\"\" width=\"1024\" height=\"491\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-7-1024x491.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-7-300x144.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-7-150x72.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-7-768x368.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-7.png 1213w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Provide your desired username, email, password and click on the <strong>Next<\/strong> button. You should see the following page:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-33558\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-8-1024x485.png\" alt=\"\" width=\"1024\" height=\"485\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-8-1024x485.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-8-300x142.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-8-150x71.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-8-768x364.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-8.png 1202w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Click on the <strong>Install<\/strong> <strong>Now<\/strong> button to start the installation. Once the installation has been completed successfully, you will see a Success page listing all the details of your Magento installation.<\/p>\n<p><strong>IMPORTANT:\u00a0<\/strong>Sometimes the installer page will stop showing new changes at around 91% even though the installation has completed. In this case, you can check the install log file at <code>\/var\/www\/html\/magento2\/var\/log\/install.log<\/code>.<\/p>\n<p><code>tail -f \/var\/www\/html\/magento2\/var\/log\/install.log<\/code><\/p>\n<p>You should see the following output:<\/p>\n<p><code>[SUCCESS]: Magento installation complete.<br \/>\n[SUCCESS]: Magento Admin URI: \/admin_1tez57<br \/>\n<\/code><\/p>\n<p>Now, open your web browser and type the URL <code>http:\/\/magento.example.com\/admin_1tez57<\/code>. You should see the Magento store admin login on the following page:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-33559\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-9-1024x529.png\" alt=\"\" width=\"1024\" height=\"529\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-9-1024x529.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-9-300x155.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-9-150x78.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-9-768x397.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-9.png 1198w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Provide your Magento admin username and password and click on the <strong>Sign<\/strong> <strong>In<\/strong> button. You should see the Magento 2 default dashboard in the following page:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-33560\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-10-1024x538.png\" alt=\"\" width=\"1024\" height=\"538\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-10-1024x538.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-10-300x158.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-10-150x79.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-10-768x403.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-10.png 1276w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>You can also access your Magento store using the URL <code>http:\/\/magento.example.com<\/code>. You should see the following page:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-33561\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-11-1024x562.png\" alt=\"\" width=\"1024\" height=\"562\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-11-1024x562.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-11-300x165.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-11-150x82.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-11-768x421.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/05\/magento-11.png 1221w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Create-the-Magento-Cron-Job\"><\/span>Create the Magento Cron Job<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>You will also need to create a cron job to schedule tasks like re-indexing, notifications, sitemaps, emails and more. Magento provides a tool to create the correct cron entries to keep everything up-to-date.<\/p>\n<p>Change the directory to the Magento\u2019s root directory:<\/p>\n<p><code>cd \/var\/www\/html\/magento2\/<\/code><\/p>\n<p>Next, create the Magento crontab by running the following command as magento user:<\/p>\n<p><code>sudo -u magento .\/bin\/magento cron:install<\/code><\/p>\n<p>You should see the following output:<\/p>\n<p><code>Crontab has been generated and saved<br \/>\n<\/code><\/p>\n<p>Next, verify the installed cron jobs with the following command:<\/p>\n<p><code>crontab -u magento -l<\/code><\/p>\n<p>You should get the following output:<\/p>\n<p><code>#~ MAGENTO START f73db5f5dcf223372d4c9fab56bef0c1730eece898fad5cbee0c313b46b0dd1f<br \/>\n* * * * * \/usr\/bin\/php \/var\/www\/html\/magento2\/bin\/magento cron:run 2&gt;&amp;1 | grep -v \"Ran jobs by schedule\" &gt;&gt; \/var\/www\/html\/magento2\/var\/log\/magento.cron.log<br \/>\n* * * * * \/usr\/bin\/php \/var\/www\/html\/magento2\/update\/cron.php &gt;&gt; \/var\/www\/html\/magento2\/var\/log\/update.cron.log<br \/>\n* * * * * \/usr\/bin\/php \/var\/www\/html\/magento2\/bin\/magento setup:cron:run &gt;&gt; \/var\/www\/html\/magento2\/var\/log\/setup.cron.log<br \/>\n#~ MAGENTO END f73db5f5dcf223372d4c9fab56bef0c1730eece898fad5cbee0c313b46b0dd1f<br \/>\n<\/code><\/p>\n<p>Congratulations! That&#8217;s all there is to it &#8211; you have successfully installed and configured Magento 2 with Apache on CentOS 8.<\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-33624\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/best-managed-magento-vps-support-by-experts-for-centos8-vps.jpg\" alt=\"\" width=\"110\" height=\"130\" \/>Of course, you don\u2019t have to do any of this if you use one of our <a href=\"https:\/\/www.rosehosting.com\/magento-hosting.html\">Magento VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to set all of this up for you, quickly and easily. 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, please share it with your friends on the social networks using the buttons below, or simply leave a comment down in the comments section. Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will show you how to install Magento 2 with Apache on a CentOS 8 VPS. Magento &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Magento 2 on CentOS 8\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-2-on-centos-8\/#more-33549\" aria-label=\"Read more about How to Install Magento 2 on CentOS 8\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,1711,13],"tags":[1838,216,1843],"class_list":["post-33549","post","type-post","status-publish","format-standard","hentry","category-centos","category-e-commerce","category-tutorials","tag-centos-8","tag-magento","tag-magento2","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.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Magento 2 on CentOS 8 | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to Install Magento 2 on CentOS 8 | RoseHosting\" \/>\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-magento-2-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 Magento 2 on CentOS 8\" \/>\n<meta property=\"og:description\" content=\"How to Install Magento 2 on CentOS 8 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-2-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-07-15T18:54:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-04T08:47:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-magento2-on-centos8.jpg\" \/>\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=\"9 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-magento-2-on-centos-8\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-2-on-centos-8\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Magento 2 on CentOS 8\",\"datePublished\":\"2020-07-15T18:54:42+00:00\",\"dateModified\":\"2023-04-04T08:47:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-2-on-centos-8\\\/\"},\"wordCount\":1283,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-2-on-centos-8\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/how-to-install-magento2-on-centos8.jpg\",\"keywords\":[\"centos 8\",\"magento\",\"Magento2\"],\"articleSection\":[\"CentOS\",\"E-Commerce\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-2-on-centos-8\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-2-on-centos-8\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-2-on-centos-8\\\/\",\"name\":\"How to Install Magento 2 on CentOS 8 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-2-on-centos-8\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-2-on-centos-8\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/how-to-install-magento2-on-centos8.jpg\",\"datePublished\":\"2020-07-15T18:54:42+00:00\",\"dateModified\":\"2023-04-04T08:47:50+00:00\",\"description\":\"How to Install Magento 2 on CentOS 8 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-2-on-centos-8\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-2-on-centos-8\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-2-on-centos-8\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/how-to-install-magento2-on-centos8.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/how-to-install-magento2-on-centos8.jpg\",\"width\":742,\"height\":372},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-2-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 Magento 2 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 Magento 2 on CentOS 8 | RoseHosting","description":"How to Install Magento 2 on CentOS 8 | RoseHosting","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-magento-2-on-centos-8\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Magento 2 on CentOS 8","og_description":"How to Install Magento 2 on CentOS 8 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-2-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-07-15T18:54:42+00:00","article_modified_time":"2023-04-04T08:47:50+00:00","og_image":[{"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-magento2-on-centos8.jpg","type":"","width":"","height":""}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-2-on-centos-8\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-2-on-centos-8\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Magento 2 on CentOS 8","datePublished":"2020-07-15T18:54:42+00:00","dateModified":"2023-04-04T08:47:50+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-2-on-centos-8\/"},"wordCount":1283,"commentCount":2,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-2-on-centos-8\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-magento2-on-centos8.jpg","keywords":["centos 8","magento","Magento2"],"articleSection":["CentOS","E-Commerce","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-2-on-centos-8\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-2-on-centos-8\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-2-on-centos-8\/","name":"How to Install Magento 2 on CentOS 8 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-2-on-centos-8\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-2-on-centos-8\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-magento2-on-centos8.jpg","datePublished":"2020-07-15T18:54:42+00:00","dateModified":"2023-04-04T08:47:50+00:00","description":"How to Install Magento 2 on CentOS 8 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-2-on-centos-8\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-2-on-centos-8\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-2-on-centos-8\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-magento2-on-centos8.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-install-magento2-on-centos8.jpg","width":742,"height":372},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-2-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 Magento 2 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\/33549","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=33549"}],"version-history":[{"count":10,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/33549\/revisions"}],"predecessor-version":[{"id":34020,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/33549\/revisions\/34020"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=33549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=33549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=33549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}