{"id":46993,"date":"2023-10-30T12:30:00","date_gmt":"2023-10-30T17:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=46993"},"modified":"2023-09-27T13:15:22","modified_gmt":"2023-09-27T18:15:22","slug":"how-to-install-magento-on-debian-12","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/","title":{"rendered":"How to Install Magento on Debian 12"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/09\/how-to-install-magento-on-debian-12.webp\" alt=\"how to install magento on debian 12\" class=\"wp-image-47001\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/09\/how-to-install-magento-on-debian-12.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/09\/how-to-install-magento-on-debian-12-300x169.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/09\/how-to-install-magento-on-debian-12-150x84.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/09\/how-to-install-magento-on-debian-12-768x432.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Magento 2 is a popular open-source <a href=\"https:\/\/www.rosehosting.com\/ecommerce-hosting\/\">e-commerce platform<\/a> that provides a flexible and feature-rich solution for creating online stores and managing digital commerce. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p>It is the second major version of the Magento platform and offers enhanced performance, scalability, and improved user experience compared to its predecessor, Magento 1. And on this tutorial, we&#8217;ll show you how to install Magento on Debian 12.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69d8566dab329\" 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-69d8566dab329\"  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-on-debian-12\/#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-on-debian-12\/#Pre-installation\" >Pre-installation<\/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-on-debian-12\/#1-Installing-PHP-and-extensions\" >1. Installing PHP and extensions<\/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-on-debian-12\/#2-Installing-composer\" >2. Installing composer<\/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-on-debian-12\/#3-Installing-MariaDB\" >3. Installing MariaDB<\/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-on-debian-12\/#4-Creating-the-database\" >4. Creating the database<\/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-on-debian-12\/#5-Installing-NGINX\" >5. Installing NGINX<\/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-on-debian-12\/#6-Installing-Certbot\" >6. Installing Certbot<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/#7-Downloading-Magento\" >7. Downloading Magento<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/#8-Running-Magento-Installation\" >8. Running Magento Installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/#9-Configuring-PHP-FPM-for-Magento\" >9. Configuring PHP-FPM for Magento<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>&#8211; A server running Debian 12 with a minimum of 2GB RAM.<br>&#8211; A non-root user with privileges.<br>&#8211; A domain name to use on the server. In our case, it will be example.com<a href=\"http:\/\/example.com\"><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Pre-installation\"><\/span>Pre-installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before proceeding, we need to be sure that our system is up to date and the needed packages are installed so we can run the following:<br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ apt update -y\n$ apt upgrade -y\n$ apt install wget curl nano ufw software-properties-common dirmngr apt-transport-https gnupg2 ca-certificates lsb-release debian-archive-keyring unzip -y<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1-Installing-PHP-and-extensions\"><\/span>1. Installing PHP and extensions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>By default, Debian 12 already has PHP 8.2 built-in that can be installed with the following commands<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ apt install php-fpm php-cli php-mysql php-mbstring php-xml php-gd php-bcmath php-zip php-curl php-tidy php-intl php-soap php-xsl libsodium-dev libsodium23 libssl-dev libcurl4-openssl-dev<\/code><\/pre>\n\n\n\n<p>After it&#8217;s installed, you can check the installation with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ php --version<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2-Installing-composer\"><\/span>2. Installing composer<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Composer is needed since it&#8217;s a management tool for PHP, and Magento is installed through it.<\/p>\n\n\n\n<p>The installation can be done by running the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ php -r \"copy('https:\/\/getcomposer.org\/installer', 'composer-setup.php');\"\n$ php composer-setup.php --2.2\n$ php -r \"unlink('composer-setup.php');\"<\/code><\/pre>\n\n\n\n<p>Then, after it&#8217;s finished, you move the composer file to the bin directory:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ mv composer.phar \/usr\/local\/bin\/composer<\/code><\/pre>\n\n\n\n<p>To check the installed version, use this command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ composer --version<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3-Installing-MariaDB\"><\/span>3. Installing MariaDB<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Since Debian 12 doesn&#8217;t have MySQL by default, but it&#8217;s MariaDB, we&#8217;ll proceed with that one. You can run the following command to install MariaDB:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ apt install mariadb-server<\/code><\/pre>\n\n\n\n<p>After installing, rung the secure install script with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ mysql_secure_installation<\/code><\/pre>\n\n\n\n<p>You will be asked for the root password. Since we haven&#8217;t set any password, just press Enter.<\/p>\n\n\n\n<p>After, some questions will be asked, such as switching to unix_socket and changing the root password of your MySQL. For both answers, you can type &#8220;n&#8221; and press enter. For the rest, you can use &#8220;y&#8221; by default.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4-Creating-the-database\"><\/span>4. Creating the database<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Log in to the MariaDB<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ mysql<\/code><\/pre>\n\n\n\n<p>Create a database using<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql&gt; CREATE DATABASE magento;<\/code><\/pre>\n\n\n\n<p>Create a new user<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql&gt; CREATE USER 'magentouser'@'localhost' IDENTIFIED BY 'Your_password2';<\/code><\/pre>\n\n\n\n<p>To grant all the privileges on the database with<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql&gt; GRANT ALL PRIVILEGES ON magento.* TO 'magento'@'localhost';<\/code><\/pre>\n\n\n\n<p>Flush the privileges and exit the shell<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql&gt; FLUSH PRIVILEGES;\nmysql&gt; exit<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"5-Installing-NGINX\"><\/span>5. Installing NGINX<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Debian 12, by default, uses an older version of Nginx. We&#8217;ll proceed with the installation of the newer one.<\/p>\n\n\n\n<p>To do that, we need to import the Nginx key:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ curl https:\/\/nginx.org\/keys\/nginx_signing.key | gpg --dearmor | tee \/usr\/share\/keyrings\/nginx-archive-keyring.gpg &gt;\/dev\/null<\/code><\/pre>\n\n\n\n<p>Then, add the repository of the Nginx stable version:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ echo \"deb &#91;signed-by=\/usr\/share\/keyrings\/nginx-archive-keyring.gpg] http:\/\/nginx.org\/packages\/debian `lsb_release -cs` nginx\" | tee \/etc\/apt\/sources.list.d\/nginx.list<\/code><\/pre>\n\n\n\n<p>After the repository is added, you can install nginx with<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ apt update -y<br>$ apt install nginx<\/code><\/pre>\n\n\n\n<p>Then you can start the service with<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ systemctl start nginx<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"6-Installing-Certbot\"><\/span>6. Installing Certbot<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Once our Nginx is up and running, we need to install certbot so that we can generate a valid SSL certificate for our domain.<\/p>\n\n\n\n<p>Before proceeding, we need to install snapd with<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ apt install snapd<\/code><\/pre>\n\n\n\n<p>After snapd is installed, we&#8217;ll run the following to ensure our installation is up to date:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ snap install core<br>$ snap refresh core<\/code><\/pre>\n\n\n\n<p>To finally install certbot, you can run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ snap install certbot<\/code><\/pre>\n\n\n\n<p>When your installation is finished, to use the certbot command, you need to create an alias for the file<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ ln -s \/snap\/bin\/certbot \/bin\/certbot<\/code><\/pre>\n\n\n\n<p>To generate an SSL certificate for your domain using the nginx module, you run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ certbot certonly --nginx -d example.com<\/code><\/pre>\n\n\n\n<p>The command will generate an SSL certificate on your \/etc\/letsencrypt\/live\/example.com directory. Of course, the name will be different; in your case, it will show your domain\/subdomain name.<\/p>\n\n\n\n<p>When finished, we need to generate a group certificate, and this can be accomplished by running:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ openssl dhparam -dsaparam -out \/etc\/ssl\/certs\/dhparam.pem 4096<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"7-Downloading-Magento\"><\/span>7. Downloading Magento<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>First of all, to download our Magento, we need to create a directory for it which can be accomplished with the following mkdir command as nginx user. So you can log in as nginx and run it as shown in the following sentence:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ su - nginx -s \/bin\/bash<br>$ mkdir \/var\/www\/magento -p<\/code><\/pre>\n\n\n\n<p>Before moving forward, you need the authentication keys for your Magento repository so composer can download the Magento base code. <a href=\"https:\/\/account.magento.com\/\">Generate the base code<\/a>, then go to Sign in with Adobe ID.<\/p>\n\n\n\n<p>Once you are successfully logged in, you need to go to the <a href=\"https:\/\/marketplace.magento.com\/customer\/accessKeys\/\">accessKeys page<\/a>. There you&#8217;ll have a link to click on called &#8220;Access Keys&#8221;, where you can generate a pair of keys.<\/p>\n\n\n\n<p>Once you copied the Public and Private keys, you need to create an auth.json file so your keys are stored and can be used by the composer.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ nano ~\/.config\/composer\/auth.json<\/code><\/pre>\n\n\n\n<p>The following content should be there on the auth.json<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n&nbsp; &nbsp; \"http-basic\": {\n&nbsp; &nbsp; &nbsp; &nbsp; \"repo.magento.com\": {\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"username\": \"PUBLIC_KEY\",\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"password\": \"PRIVATE_KEY\"\n&nbsp; &nbsp; &nbsp; &nbsp; }\n&nbsp; &nbsp; }\n}<\/code><\/pre>\n\n\n\n<p>Where PUBLIC_KEY and PRIVATE_KEY are your own keys that you got on Magento&#8217;s official website.<\/p>\n\n\n\n<p>After that, you can log in to your Magento directory and create your project with the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ cd \/var\/www\/magento\n$ composer create-project --repository-url=https:\/\/repo.magento.com\/ magento\/project-community-edition .<\/code><\/pre>\n\n\n\n<p>You might face a problem with the sample Nginx configuration file by Adobe, which can be quickly fixed with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sed -i 's\/php-fpm:9000\/fastcgi_backend\/g' \/var\/www\/magento\/nginx.conf.sample<\/code><\/pre>\n\n\n\n<p>Then, you can log out from nginx user and run the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ chown -R nginx: \/var\/ww\/magento\n$ chmod u+x bin\/magento\n$ find var generated vendor pub\/static pub\/media app\/etc -type f -exec chmod g+w {} +\n$ find var generated vendor pub\/static pub\/media app\/etc -type d -exec chmod g+ws {} +<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"8-Running-Magento-Installation\"><\/span>8. Running Magento Installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To proceed with the Magento installation, we need to edit the XML file from the installer to correct the MariaDB version. To do that, we need to edit the following file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ nano \/var\/www\/magento\/app\/etc\/di.xml<\/code><\/pre>\n\n\n\n<p>There, we&#8217;ll search for this line<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;item name=\"MariaDB-(10.2-10.6)\" xsi:type=\"string\"&gt;^10\\.&#91;2-6]\\.&lt;\/item&gt;<\/code><\/pre>\n\n\n\n<p>And change it to<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;item name=\"MariaDB-(10.2-10.11)\" xsi:type=\"string\"&gt;^10\\.(&#91;2-9]|10|11)\\.&lt;\/item&gt;<\/code><\/pre>\n\n\n\n<p>Then, save the file, and you should be good to go. Then log in as an nginx user and access your Magento directory:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ su - nginx -s \/bin\/bash<br>$ cd \/var\/www\/magento<\/code><\/pre>\n\n\n\n<p>And finally, run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ bin\/magento setup:install \\\n--use-secure=1 \\\n--use-secure-admin=1 \\\n--db-host=localhost \\\n--db-name=magento \\\n--base-url=http:\/\/example.com \\\n--base-url-secure=https:\/\/example.com \\\n--db-user=magento \\\n--db-password=Your_password2 \\\n--admin-firstname=YourName \\\n--admin-lastname=LastName \\\n--admin-email=admin@example.com \\\n--admin-user=admin \\\n--admin-password=admin_password \\\n--language=en_US \\\n--currency=USD \\\n--timezone=America\/Chicago \\\n--use-rewrites=1 \\<\/code><\/pre>\n\n\n\n<p>Once the installer runs and it&#8217;s finished, you&#8217;ll see the output with your personal admin URL. Keep a note on that since it&#8217;s the URL you&#8217;ll manage your store.<\/p>\n\n\n\n<p>You need now to create your Magento cron jobs, which can be accomplished with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ php bin\/magento cron:install<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"9-Configuring-PHP-FPM-for-Magento\"><\/span>9. Configuring PHP-FPM for Magento<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>We are almost there; now you need to configure the PHP-FPM service to serve the PHP files. To do that, open the file the following file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ nano \/etc\/php\/8.2\/fpm\/pool.d\/www.conf<\/code><\/pre>\n\n\n\n<p>You&#8217;ll see there are two directives, which refer to the user and group of the files from your Magento instance. You should use nginx for both. As shown here:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>user = nginx<br>group = nginx<\/code><\/pre>\n\n\n\n<p>The same should be done to the listen.owner and listen.group; both should use nginx.<\/p>\n\n\n\n<p>Now, we need to do some tweaks on the php.ini files for Magento to run properly. You can open the php.ini files and change the below values, or just paste and copy those sed commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sed -i 's\/max_execution_time = 30\/max_execution_time = 180\/' \/etc\/php\/8.2\/fpm\/php.ini<br>$ sed -i 's\/max_execution_time = 30\/max_execution_time = 180\/' \/etc\/php\/8.2\/cli\/php.ini<br>$ sed -i 's\/memory_limit = 128M\/memory_limit = 256M\/' \/etc\/php\/8.2\/fpm\/php.ini<br>$ sed -i 's\/upload_max_filesize = 2M\/upload_max_filesize = 25M\/g' \/etc\/php\/8.2\/fpm\/php.ini<br>$ sed -i 's\/post_max_size = 8M\/post_max_size = 25M\/g' \/etc\/php\/8.2\/fpm\/php.ini<br>$ sed -i 's\/zlib.output_compression = Off\/zlib.output_compression = On\/g' \/etc\/php\/8.2\/fpm\/php.ini<\/code><\/pre>\n\n\n\n<p>To apply the settings, we need to restart the php-fpm service:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ systemctl restart php8.2-fpm<\/code><\/pre>\n\n\n\n<h1 class=\"wp-block-heading\">10. Configuring Nginx with PHP-FPM<\/h1>\n\n\n\n<p>First of all, before creating the vhost for our domain\/subdomain, we need to increase the server_names_hash_bucket_size from our nginx. To do that, add the following line before the line that contains &#8220;include \/etc\/nginx\/conf.d\/*.conf;&#8221;:<\/p>\n\n\n\n<p>server_names_hash_bucket_size &nbsp;64;<\/p>\n\n\n\n<p>This should be done on the file \/etc\/nginx\/nginx.conf.<\/p>\n\n\n\n<p>After that, you can finally create the Magento configuration vhost file with:<\/p>\n\n\n\n<p>$ nano \/etc\/nginx\/conf.d\/magento.conf<\/p>\n\n\n\n<p>And the content:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#-- Start of file\nupstream fastcgi_backend {\n&nbsp; server &nbsp;unix:\/run\/php\/php8.2-fpm.sock;\n}\nserver {\n&nbsp; listen 443 ssl http2;\n&nbsp; server_name example.com;\n&nbsp; set $MAGE_ROOT \/var\/www\/magento;\n&nbsp; include \/var\/www\/magento\/nginx.conf.sample;\n&nbsp; client_max_body_size 25m;\n&nbsp; access_log \/var\/log\/nginx\/magento.access.log;\n&nbsp; error_log &nbsp;\/var\/log\/nginx\/magento.error.log;\n&nbsp; ssl_certificate \/etc\/letsencrypt\/live\/example.com\/fullchain.pem;\n&nbsp; ssl_certificate_key \/etc\/letsencrypt\/live\/example.com\/privkey.pem;\n&nbsp; ssl_trusted_certificate \/etc\/letsencrypt\/live\/example.com\/chain.pem;\n&nbsp; ssl_protocols TLSv1.2 TLSv1.3;\n&nbsp; ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384';\n&nbsp; ssl_prefer_server_ciphers on;\n&nbsp; ssl_session_cache shared:SSL:50m;\n&nbsp; ssl_session_timeout 1d;\n&nbsp; ssl_stapling on;\n&nbsp; ssl_stapling_verify on;\n&nbsp; ssl_dhparam \/etc\/ssl\/certs\/dhparam.pem;\n}\nserver {\n&nbsp; listen 80;\n&nbsp; server_name example.com;\n&nbsp; return 301 https:\/\/$host$request_uri;\n}\n# -- End of File\n# Where example.com is your actual domain!!<\/code><\/pre>\n\n\n\n<p>Before restarting nginx to apply the settings, it&#8217;s a good practice to run a nginx test before, so you avoid restarting the service with any errors. This can be done with<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ nginx -t<\/code><\/pre>\n\n\n\n<p>If you see the &#8220;syntax is ok&#8221; output, you can finally restart it with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ systemctl restart nginx<\/code><\/pre>\n\n\n\n<p>Then, if your domain is already pointed to your server, you can see your front page. And, for some reason, you are not able to see some static content or CSS\/JS, you can run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ su - nginx -s \/bin\/bash<br>$ cd \/var\/www\/magento<br>$ php bin\/magento setup:static-content:deploy -f<br>$ php bin\/magento indexer:reindex<\/code><\/pre>\n\n\n\n<p>To access our admin page, we need to disable the Two Factor Authentication that is enabled by default on Magento. So, as nginx user, you can run:<\/p>\n\n\n\n<p>Be sure to be logged in as nginx, so if you are not:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ su - nginx -s \/bin\/bash<\/code><\/pre>\n\n\n\n<p>Then<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ php \/var\/www\/magento\/bin\/magento module:disable Magento_AdminAdobeImsTwoFactorAuth<br>$ php \/var\/www\/magento\/bin\/magento module:disable Magento_TwoFactorAuth<\/code><\/pre>\n\n\n\n<p>After you disable it, you need to recreate the classes and clear the cache with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ php \/var\/www\/magento\/bin\/magento setup:di:compile<br>$ php \/var\/www\/magento\/bin\/magento cache:clear<\/code><\/pre>\n\n\n\n<p>If you haven&#8217;t copied the URL from your administrative page, you can retrieve it with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ php \/var\/www\/magento\/bin\/magento info:adminuri<\/code><\/pre>\n\n\n\n<p>And that&#8217;s it. You successfull installed Magento on your Debian 12 System. Please note that if you have a <a href=\"https:\/\/www.rosehosting.com\/linux-vps-hosting\/\">VPS with us<\/a>, you don&#8217;t need to do it alone; you can count on our expert admins to do it for you, as it&#8217;s included in our Fully Managed Support.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Magento 2 is a popular open-source e-commerce platform that provides a flexible and feature-rich solution for creating online stores and &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Magento on Debian 12\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/#more-46993\" aria-label=\"Read more about How to Install Magento on Debian 12\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":47001,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1700,1711,13],"tags":[48,216],"class_list":["post-46993","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","category-e-commerce","category-tutorials","tag-debian","tag-magento","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.2 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Magento on Debian 12 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Discover how to install Magento on Debian 12. Our guide provides step-by-step instructions, to make the process a breeze for you.\" \/>\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-on-debian-12\/\" \/>\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 on Debian 12\" \/>\n<meta property=\"og:description\" content=\"Discover how to install Magento on Debian 12. Our guide provides step-by-step instructions, to make the process a breeze for you.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/\" \/>\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=\"2023-10-30T17:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/09\/how-to-install-magento-on-debian-12.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Install Magento on Debian 12\" \/>\n<meta name=\"twitter:description\" content=\"How to Install Magento on Debian 12 | RoseHosting\" \/>\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=\"10 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-on-debian-12\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-debian-12\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Magento on Debian 12\",\"datePublished\":\"2023-10-30T17:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-debian-12\\\/\"},\"wordCount\":1280,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-debian-12\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/how-to-install-magento-on-debian-12.webp\",\"keywords\":[\"debian\",\"magento\"],\"articleSection\":[\"Debian\",\"E-Commerce\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-debian-12\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-debian-12\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-debian-12\\\/\",\"name\":\"How to Install Magento on Debian 12 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-debian-12\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-debian-12\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/how-to-install-magento-on-debian-12.webp\",\"datePublished\":\"2023-10-30T17:30:00+00:00\",\"description\":\"Discover how to install Magento on Debian 12. Our guide provides step-by-step instructions, to make the process a breeze for you.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-debian-12\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-debian-12\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-debian-12\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/how-to-install-magento-on-debian-12.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/how-to-install-magento-on-debian-12.webp\",\"width\":1024,\"height\":576,\"caption\":\"how to install magento on debian 12\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-debian-12\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Magento on Debian 12\"}]},{\"@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 on Debian 12 | RoseHosting","description":"Discover how to install Magento on Debian 12. Our guide provides step-by-step instructions, to make the process a breeze for you.","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-on-debian-12\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Magento on Debian 12","og_description":"Discover how to install Magento on Debian 12. Our guide provides step-by-step instructions, to make the process a breeze for you.","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2023-10-30T17:30:00+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/09\/how-to-install-magento-on-debian-12.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_title":"How to Install Magento on Debian 12","twitter_description":"How to Install Magento on Debian 12 | RoseHosting","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Magento on Debian 12","datePublished":"2023-10-30T17:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/"},"wordCount":1280,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/09\/how-to-install-magento-on-debian-12.webp","keywords":["debian","magento"],"articleSection":["Debian","E-Commerce","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/","name":"How to Install Magento on Debian 12 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/09\/how-to-install-magento-on-debian-12.webp","datePublished":"2023-10-30T17:30:00+00:00","description":"Discover how to install Magento on Debian 12. Our guide provides step-by-step instructions, to make the process a breeze for you.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/09\/how-to-install-magento-on-debian-12.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/09\/how-to-install-magento-on-debian-12.webp","width":1024,"height":576,"caption":"how to install magento on debian 12"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-debian-12\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Magento on Debian 12"}]},{"@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\/46993","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=46993"}],"version-history":[{"count":8,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/46993\/revisions"}],"predecessor-version":[{"id":47021,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/46993\/revisions\/47021"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/47001"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=46993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=46993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=46993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}