{"id":31983,"date":"2020-05-05T14:32:04","date_gmt":"2020-05-05T19:32:04","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=31983"},"modified":"2022-06-03T03:32:59","modified_gmt":"2022-06-03T08:32:59","slug":"how-to-install-magento-with-nginx-on-debian-10","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-with-nginx-on-debian-10\/","title":{"rendered":"How to Install Magento with Nginx on Debian 10"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignnone size-full wp-image-32333\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/02\/how-to-install-magento-with-nginx-on-debian10.jpg\" alt=\"\" width=\"742\" height=\"372\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/02\/how-to-install-magento-with-nginx-on-debian10.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/02\/how-to-install-magento-with-nginx-on-debian10-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/02\/how-to-install-magento-with-nginx-on-debian10-150x75.jpg 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/p>\n<p>In this tutorial, we will explain how to install Magento 2.3.2 on <a href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Debian 10 VPS<\/a> with Nginx.<\/p>\n<p><a href=\"https:\/\/www.rosehosting.com\/magento-hosting.html\"><img decoding=\"async\" class=\"alignright size-full wp-image-32334\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/02\/setting-up-magento-ecommerce-platform-with-nginx-on-debian10-vps.jpg\" alt=\"\" width=\"108\" height=\"128\" \/>Magento<\/a> is an open-source e-commerce platform written in the PHP language. It is a powerful and one of the most popular solutions for self-hosted online stores due to its simplicity and user-friendliness. Magento allows us to host a fully-functional online shopping cart system without any programming knowledge. Magento also allows us to complement the core files and extend the functionality of Magento by adding new modules. Magento comes with a rich set of features including Website management, SEO, Order management, Customer service tools, Marketing tools, a Checkout system, as well as Payment and Shipping systems. Let&#8217;s get started 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-69f2cd9c0af88\" 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-69f2cd9c0af88\"  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-with-nginx-on-debian-10\/#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-with-nginx-on-debian-10\/#Step-1-Log-in-via-SSH-and-Update-Packages\" >Step 1: Log in via SSH and Update Packages<\/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-with-nginx-on-debian-10\/#Step-2-Install-Nginx-MariaDB-and-PHP\" >Step 2: Install Nginx, 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-with-nginx-on-debian-10\/#Step-3-Create-a-Magento-Database\" >Step 3: Create a Magento Database<\/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-with-nginx-on-debian-10\/#Step-4-Download-Magento\" >Step 4: Download 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-with-nginx-on-debian-10\/#Step-5-Configure-Nginx-for-Magento\" >Step 5: Configure Nginx 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-with-nginx-on-debian-10\/#Step-6-Access-Magento-Web-Installation-Wizard\" >Step 6: Access Magento Web Installation Wizard<\/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-with-nginx-on-debian-10\/#Step-7-Configure-Cron-Job-For-Magento\" >Step 7: Configure Cron Job For Magento<\/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\/debian-hosting.html\">Debian 10 VPS<\/a> with root access enabled or a user with sudo privileges.<\/li>\n<li>Minimum 2GB RAM &#8211; We&#8217;ll be using our SSD 2 VPS plan.<\/li>\n<li>PHP version 7.1.3+ and PHP 7.2.x.<\/li>\n<li>A static IP address is configured and assigned to your VPS.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Step-1-Log-in-via-SSH-and-Update-Packages\"><\/span>Step 1: Log in via SSH and Update Packages<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Log in to your Debian 10 VPS with SSH as the root user:<\/p>\n<pre>ssh root@<span style=\"color: #ff0000;\">IP_Address<\/span> -p <span style=\"color: #ff0000;\">Port_number<\/span><\/pre>\n<p>Replace \u201croot\u201d with a user that has sudo privileges if necessary. Additionally, replace \u201c<span style=\"color: #ff0000;\">IP_Address<\/span>\u201d and \u201c<span style=\"color: #ff0000;\">Port_Number<\/span>\u201d with your server\u2019s respective IP address and SSH port number.<\/p>\n<p>Next, let&#8217;s make sure that we&#8217;re on Debian 10. You can do that like this:<\/p>\n<pre># lsb_release -a<\/pre>\n<p>You should get this as the output:<\/p>\n<pre>Distributor ID: Debian\r\nDescription:    Debian GNU\/Linux 10 (buster)\r\nRelease:        10\r\nCodename:       buster<\/pre>\n<p>Then, run the following command to make sure that all installed packages on the server are updated to their latest available versions:<\/p>\n<pre># apt update &amp;&amp; apt upgrade<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-2-Install-Nginx-MariaDB-and-PHP\"><\/span>Step 2: Install Nginx, MariaDB, and PHP<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Install Nginx, MariaDB and other required packages with the following command:<\/p>\n<pre>apt-get install nginx mariadb-server git curl software-properties-common -y<\/pre>\n<p>By default, Debian 10 ships with PHP version 7.3. But, Magento 2.3 does not support PHP 7.3. So, we will need to install PHP 7.2 and other required extensions.<\/p>\n<p>Of course, Magento will eventually release a version that works with PHP 7.3. If you are installing Magento with a version that supports PHP 7.3, then you should skip this step.<\/p>\n<p>You can install PHP 7.2 from the SURY repository. To add SURY repository, first download and GPG key with the following command:<\/p>\n<pre>wget https:\/\/packages.sury.org\/php\/apt.gpg\r\napt-key add apt.gpg<\/pre>\n<p>Next, add the SURY repository to APT with the following command:<\/p>\n<pre>echo \"deb https:\/\/packages.sury.org\/php\/ $(lsb_release -sc) main\" | tee \/etc\/apt\/sources.list.d\/php.list<\/pre>\n<p>Next, update the repository and install PHP 7.2 along with all required extensions with the following commands:<\/p>\n<pre>apt-get update -y\r\napt-get install php7.2 php7.2-fpm php7.2-common php7.2-mbstring php7.2-xmlrpc php7.2-soap php7.2-gd php7.2-xml php7.2-intl php7.2-mysql php7.2-cli php7.2-ldap php7.2-zip php7.2-curl php7.2-bcmath php7.2-imagick php7.2-xsl php7.2-intl -y<\/pre>\n<p>Next, open <code>php.ini<\/code> file and change the default PHP settings:<\/p>\n<pre>nano \/etc\/php\/7.2\/fpm\/php.ini<\/pre>\n<p>Change the following settings:<\/p>\n<pre>memory_limit = 256M\r\nupload_max_filesize = 128M\r\nzlib.output_compression = On\r\nmax_execution_time = 15000\r\ndate.timezone = America\/Chicago<\/pre>\n<p>Save and close the file.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-3-Create-a-Magento-Database\"><\/span>Step 3: Create a Magento Database<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Secure your MariaDB installation by using the <code>mysql_secure_installation<\/code> script. This script will remove anonymous users, disallow root login remotely, and remove the test database.<\/p>\n<pre>mysql_secure_installation<\/pre>\n<p>You should answer all the questions as shown below:<\/p>\n<pre>Enter current password for root (enter for none): Press [Enter] since no password is set by default\r\nSet root password? [Y\/n]: N (Optional)\r\nRemove anonymous users? [Y\/n]: Y\r\nDisallow root login remotely? [Y\/n]: Y\r\nRemove test database and access to it? [Y\/n]: Y\r\nReload privilege tables now? [Y\/n]: Y<\/pre>\n<p>Once MariaDB is secured, log in to MariaDB shell:<\/p>\n<pre>mysql -u root -p<\/pre>\n<p>Provide your MariaDB root password when prompted (if you set one), then create a database and user for Magento:<\/p>\n<pre>MariaDB [(none)]&gt; CREATE DATABASE magentodb;\r\nMariaDB [(none)]&gt; CREATE USER 'magentouser'@'localhost';\r\nMariaDB [(none)]&gt; SET PASSWORD FOR 'magentouser'@'localhost' = PASSWORD('<span style=\"color: #ff0000;\">Str0n9PasSworD<\/span>');<\/pre>\n<p>Make sure to use a unique password for the database user.<\/p>\n<p>Next, grant all the privileges to Magento Database with the following command:<\/p>\n<pre>MariaDB [(none)]&gt; GRANT ALL ON magentodb.* TO 'magentouser'@'localhost' IDENTIFIED BY '<span style=\"color: #ff0000;\">Str0n9PasSworD<\/span>' WITH GRANT OPTION;<\/pre>\n<p>Next, flush the privileges and exit from the MariaDB shell with the following command:<\/p>\n<pre>MariaDB [(none)]&gt; FLUSH PRIVILEGES;\r\nMariaDB [(none)]&gt; EXIT;<\/pre>\n<p>Once you have done, you can proceed to the next step.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-4-Download-Magento\"><\/span>Step 4: Download Magento<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>At the time of writing this article, the latest stable version of Magento is version 2.3.2.<br \/>\nFirst, go to the GitHub repository and download the latest version of Magento with the following command:<\/p>\n<pre>cd \/var\/www\/html\r\ngit clone https:\/\/github.com\/magento\/magento2.git<\/pre>\n<p>Next, check the latest version of Magento with the following command:<\/p>\n<pre>cd magento2\/\r\ngit checkout 2.3.2<\/pre>\n<p>Next, we will need to install Composer to install all necessary Magento components. You can install Composer by just running the following command:<\/p>\n<pre>curl -sS https:\/\/getcomposer.org\/installer | php -- --install-dir=\/usr\/bin --filename=composer<\/pre>\n<p>Next, install all the PHP dependencies required by Magento with the following command:<\/p>\n<pre>cd \/var\/www\/html\/magento2\r\ncomposer install<\/pre>\n<p>Once all the dependencies have been installed without any error, change the ownership of the <code>magento2<\/code> directory to <code>www-data<\/code> with the following command:<\/p>\n<pre>chown -R www-data:www-data \/var\/www\/html\/magento2\/<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-5-Configure-Nginx-for-Magento\"><\/span>Step 5: Configure Nginx for Magento<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Next, we will need to configure Nginx for Magento store. First, create a new Nginx virtual host configuration file with the following command:<\/p>\n<pre>nano \/etc\/nginx\/sites-available\/magento.conf<\/pre>\n<p>Then add the following content:<\/p>\n<pre>upstream fastcgi_backend {\r\n         server  unix:\/run\/php\/php7.2-fpm.sock;                  \r\n}\r\n\r\nserver {\r\n    listen 80;\r\n    index  index.php index.html index.htm;\r\n    server_name <span style=\"color: #ff0000;\">domain-name.com<\/span>;\r\n\r\n    set $MAGE_ROOT \/var\/www\/html\/magento2;\r\n    set $MAGE_MODE developer;\r\n    include \/var\/www\/html\/magento2\/nginx.conf.sample;\r\n}\r\n<\/pre>\n<p>Make sure to replace <span style=\"color: #ff0000;\">domain-name.com<\/span> with your registered domain name.<\/p>\n<p>Save and close the file. Then, check Nginx for any syntax error:<\/p>\n<pre>nginx -t<\/pre>\n<p>You should get the following output:<\/p>\n<pre>nginx: the configuration file \/etc\/nginx\/nginx.conf syntax is ok\r\nnginx: configuration file \/etc\/nginx\/nginx.conf test is successful<\/pre>\n<p>Next, activate the Nginx virtual host with the following command:<\/p>\n<pre>ln -s \/etc\/nginx\/sites-available\/magento.conf \/etc\/nginx\/sites-enabled\/<\/pre>\n<p>Finally, restart Nginx and PHP-FPM service to apply all the configuration changes:<\/p>\n<pre>systemctl restart nginx\r\nsystemctl restart php7.2-fpm<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-6-Access-Magento-Web-Installation-Wizard\"><\/span>Step 6: Access Magento Web Installation Wizard<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Now, open your web browser and open the URL <code>http:\/\/domain-name.com<\/code>. You should see Magento setup wizard as shown below:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-31985\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss1-1024x486.png\" alt=\"magento_install_1\" width=\"1024\" height=\"486\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss1-1024x486.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss1-150x71.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss1-300x143.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss1-768x365.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss1-1080x513.png 1080w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss1.png 1204w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Click on the Agree and Setup Magento button. You should see the Magento Readiness check wizard:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-31986\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss2-1024x344.png\" alt=\"magento_install_2\" width=\"1024\" height=\"344\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss2-1024x344.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss2-150x50.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss2-300x101.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss2-768x258.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss2-1080x363.png 1080w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss2.png 1253w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Now, click on the Start Readiness Check to check 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-31987\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss3-1024x560.png\" alt=\"magento_install_3\" width=\"1024\" height=\"560\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss3-1024x560.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss3-150x82.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss3-300x164.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss3-768x420.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss3-1080x590.png 1080w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss3.png 1206w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Then click on the Next button. You should see the database configuration page:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-31988\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss4-1024x505.png\" alt=\"magento_install_4\" width=\"1024\" height=\"505\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss4-1024x505.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss4-150x74.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss4-300x148.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss4-768x379.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss4-1080x533.png 1080w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss4.png 1269w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Provide the Magento database details that we set earlier, then click on the Next button. You should see the Magento Web configuration wizard:<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-31997 size-full\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/Screenshot_2019-08-29-Web-Configuration1.png\" alt=\"magento_install_5\" width=\"1008\" height=\"457\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/Screenshot_2019-08-29-Web-Configuration1.png 1008w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/Screenshot_2019-08-29-Web-Configuration1-150x68.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/Screenshot_2019-08-29-Web-Configuration1-300x136.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/Screenshot_2019-08-29-Web-Configuration1-768x348.png 768w\" sizes=\"(max-width: 1008px) 100vw, 1008px\" \/><\/p>\n<p>Provide your store address and Magento admin address. Then, click on the Next button. You should see the following page:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-31990\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss6-1024x437.png\" alt=\"magento_install_6\" width=\"1024\" height=\"437\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss6-1024x437.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss6-150x64.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss6-300x128.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss6-768x328.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss6-1080x461.png 1080w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss6.png 1273w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Now, select your time zone, currency, language and click on the Next button. You should see the Magento admin setup wizard:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-31991\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss7-1024x520.png\" alt=\"magento_install_7\" width=\"1024\" height=\"520\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss7-1024x520.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss7-150x76.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss7-300x152.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss7-768x390.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss7-1080x548.png 1080w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss7.png 1194w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Provide your admin username, password, and email, then click on the Next button. You should see the following page:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-31992\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss8-1024x417.png\" alt=\"magento_install_8\" width=\"1024\" height=\"417\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss8-1024x417.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss8-150x61.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss8-300x122.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss8-768x313.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss8-1080x440.png 1080w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss8.png 1264w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Finally, click on the Install Now button to start the Magento installation. Once the installation has been completed successfully, you should see the following page:<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-31998\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/Screenshot_2019-08-29-Success.png\" alt=\"magento_install_9\" width=\"1000\" height=\"702\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/Screenshot_2019-08-29-Success.png 1000w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/Screenshot_2019-08-29-Success-150x105.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/Screenshot_2019-08-29-Success-300x211.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/Screenshot_2019-08-29-Success-768x539.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p>Once Magento has been installed successfully, click on the Launch Magento Admin button, you will be redirected to the Magento admin interface:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-31994\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss10-1024x512.png\" alt=\"magento_install_10\" width=\"1024\" height=\"512\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss10-1024x512.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss10-150x75.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss10-300x150.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss10-768x384.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss10-1080x540.png 1080w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss10.png 1235w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Provide your Magento username and password &#8211; click on the Sign In button. You will be redirected to the Magento dashboard in the following screen:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-31995\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss11-1024x533.png\" alt=\"magento_install_11\" width=\"1024\" height=\"533\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss11-1024x533.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss11-150x78.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss11-300x156.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss11-768x400.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss11-1080x563.png 1080w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/08\/ss11.png 1292w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Congratulations! The installation is now complete. However, there is still one more thing that needs to be done.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-7-Configure-Cron-Job-For-Magento\"><\/span>Step 7: Configure Cron Job For Magento<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>There are many configurations and features in Magento 2 which needs cron job for the proper working of your Magento. List of the tasks handled by cron in Magento 2 are: Newsletters, Reindexing, Updating of currency rates, Alerts\/Notifications, Catalog price rules and many more.<\/p>\n<p>To create the Magento crontab, run the following command with the <code>www-data<\/code> user as shown below:<\/p>\n<pre>cd \/var\/www\/html\/magento2\r\nsudo -u www-data php bin\/magento cron:install<\/pre>\n<p>You can now see the installed cron job with the following command:<\/p>\n<pre>crontab -u www-data -l<\/pre>\n<p>You should get the following output:<\/p>\n<pre>#~ MAGENTO START f73db5f5dcf223372d4c9fab56bef0c1730eece898fad5cbee0c313b46b0dd1f\r\n* * * * * \/usr\/bin\/php7.2 \/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\r\n* * * * * \/usr\/bin\/php7.2 \/var\/www\/html\/magento2\/update\/cron.php &gt;&gt; \/var\/www\/html\/magento2\/var\/log\/update.cron.log\r\n* * * * * \/usr\/bin\/php7.2 \/var\/www\/html\/magento2\/bin\/magento setup:cron:run &gt;&gt; \/var\/www\/html\/magento2\/var\/log\/setup.cron.log\r\n#~ MAGENTO END f73db5f5dcf223372d4c9fab56bef0c1730eece898fad5cbee0c313b46b0dd1f<\/pre>\n<p>That&#8217;s it. You have successfully installed and configured Magento on a <a href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\">Debian 10 VPS<\/a> with the <a href=\"https:\/\/www.rosehosting.com\/nginx-hosting.html\">Nginx<\/a> web server. You can now host your own online store within minutes and start customizing your store as per your requirements.<\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-32335\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/02\/expert-support-for-magento-platform-by-admin-team-on-debian10-vps.jpg\" alt=\"\" width=\"108\" height=\"128\" \/>Of course, you don\u2019t have to know how to install Magento with Nginx on Debian 10 if you have a <a href=\"https:\/\/www.rosehosting.com\/magento-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Magento\u00a0VPS Hosting<\/a>\u00a0plan with us. You can simply ask our administrators to install Magento on Debian 10 for you. They\u2019re available 24\/7 and will be able to help you with the installation of Magento on Debian 10.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS<\/strong>.<\/span> If you enjoyed reading this blog post on <strong>how to install Magento with Nginx on Debian 10<\/strong>, or if you found it helpul, feel free to share it on social networks using the shortcuts below, or simply leave a comment. Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will explain how to install Magento 2.3.2 on Debian 10 VPS with Nginx. Magento is an &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Magento with Nginx on Debian 10\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-with-nginx-on-debian-10\/#more-31983\" aria-label=\"Read more about How to Install Magento with Nginx on Debian 10\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":32333,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1700,1711],"tags":[1836,216,49],"class_list":["post-31983","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","category-e-commerce","tag-debian-10","tag-magento","tag-nginx","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 Magento with Nginx on Debian 10 | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to Install Magento with Nginx on Debian 10 | 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-with-nginx-on-debian-10\/\" \/>\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 with Nginx on Debian 10\" \/>\n<meta property=\"og:description\" content=\"How to Install Magento with Nginx on Debian 10 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-with-nginx-on-debian-10\/\" \/>\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-05-05T19:32:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:32:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/02\/how-to-install-magento-with-nginx-on-debian10.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=\"8 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-with-nginx-on-debian-10\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-with-nginx-on-debian-10\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Magento with Nginx on Debian 10\",\"datePublished\":\"2020-05-05T19:32:04+00:00\",\"dateModified\":\"2022-06-03T08:32:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-with-nginx-on-debian-10\\\/\"},\"wordCount\":1175,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-with-nginx-on-debian-10\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/how-to-install-magento-with-nginx-on-debian10.jpg\",\"keywords\":[\"Debian 10\",\"magento\",\"nginx\"],\"articleSection\":[\"Debian\",\"E-Commerce\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-with-nginx-on-debian-10\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-with-nginx-on-debian-10\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-with-nginx-on-debian-10\\\/\",\"name\":\"How to Install Magento with Nginx on Debian 10 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-with-nginx-on-debian-10\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-with-nginx-on-debian-10\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/how-to-install-magento-with-nginx-on-debian10.jpg\",\"datePublished\":\"2020-05-05T19:32:04+00:00\",\"dateModified\":\"2022-06-03T08:32:59+00:00\",\"description\":\"How to Install Magento with Nginx on Debian 10 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-with-nginx-on-debian-10\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-with-nginx-on-debian-10\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-with-nginx-on-debian-10\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/how-to-install-magento-with-nginx-on-debian10.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/how-to-install-magento-with-nginx-on-debian10.jpg\",\"width\":742,\"height\":372},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-with-nginx-on-debian-10\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Magento with Nginx on Debian 10\"}]},{\"@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 with Nginx on Debian 10 | RoseHosting","description":"How to Install Magento with Nginx on Debian 10 | 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-with-nginx-on-debian-10\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Magento with Nginx on Debian 10","og_description":"How to Install Magento with Nginx on Debian 10 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-with-nginx-on-debian-10\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2020-05-05T19:32:04+00:00","article_modified_time":"2022-06-03T08:32:59+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/02\/how-to-install-magento-with-nginx-on-debian10.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":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-with-nginx-on-debian-10\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-with-nginx-on-debian-10\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Magento with Nginx on Debian 10","datePublished":"2020-05-05T19:32:04+00:00","dateModified":"2022-06-03T08:32:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-with-nginx-on-debian-10\/"},"wordCount":1175,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-with-nginx-on-debian-10\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/02\/how-to-install-magento-with-nginx-on-debian10.jpg","keywords":["Debian 10","magento","nginx"],"articleSection":["Debian","E-Commerce"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-with-nginx-on-debian-10\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-with-nginx-on-debian-10\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-with-nginx-on-debian-10\/","name":"How to Install Magento with Nginx on Debian 10 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-with-nginx-on-debian-10\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-with-nginx-on-debian-10\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/02\/how-to-install-magento-with-nginx-on-debian10.jpg","datePublished":"2020-05-05T19:32:04+00:00","dateModified":"2022-06-03T08:32:59+00:00","description":"How to Install Magento with Nginx on Debian 10 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-with-nginx-on-debian-10\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-with-nginx-on-debian-10\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-with-nginx-on-debian-10\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/02\/how-to-install-magento-with-nginx-on-debian10.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/02\/how-to-install-magento-with-nginx-on-debian10.jpg","width":742,"height":372},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-with-nginx-on-debian-10\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Magento with Nginx on Debian 10"}]},{"@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\/31983","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=31983"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/31983\/revisions"}],"predecessor-version":[{"id":41657,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/31983\/revisions\/41657"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/32333"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=31983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=31983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=31983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}