{"id":50479,"date":"2025-07-07T12:30:00","date_gmt":"2025-07-07T17:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=50479"},"modified":"2025-06-05T07:14:03","modified_gmt":"2025-06-05T12:14:03","slug":"how-to-install-magento-on-almalinux-10","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-almalinux-10\/","title":{"rendered":"How to install Magento on AlmaLinux 10"},"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\/2025\/07\/how-to-install-magento-on-almalinux-10.webp\" alt=\"How to Install Magento on AlmaLinux 10\" class=\"wp-image-50569\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/07\/how-to-install-magento-on-almalinux-10.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/07\/how-to-install-magento-on-almalinux-10-300x169.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/07\/how-to-install-magento-on-almalinux-10-150x84.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/07\/how-to-install-magento-on-almalinux-10-768x432.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Magento is a leading enterprise-grade e-commerce platform built on open-source technology, combining advanced features, flexibility, and a user-friendly interface. With features like integrated checkout, payment, and shipping, as well as catalog management and customer accounts, it makes the platform the choice for most online merchants. In this tutorial, we will show you how to install Magento on AlmaLinux 10.<\/p>\n\n\n\n<!--more-->\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69f25c0381aef\" 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-69f25c0381aef\"  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-almalinux-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-on-almalinux-10\/#Step-1-Add-System-User\" >Step 1. Add System User<\/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-almalinux-10\/#Step-2-Install-PHP\" >Step 2. Install 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-on-almalinux-10\/#Step-3-Install-Nginx\" >Step 3. Install Nginx<\/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-almalinux-10\/#Step-4-Install-Opensearch\" >Step 4. Install Opensearch<\/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-almalinux-10\/#Step-5-Install-MySQL-Server\" >Step 5. Install MySQL Server<\/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-almalinux-10\/#Step-6-Create-a-Database\" >Step 6. Create a Database<\/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-almalinux-10\/#Step-7-Install-Composer\" >Step 7. Install Composer<\/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-almalinux-10\/#Step-8-Download-and-Install-Magento\" >Step 8. Download and Install 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-almalinux-10\/#Step-9-Set-up-Cron-jobs\" >Step 9. Set up Cron jobs<\/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<ul class=\"wp-block-list\">\n<li>An <a href=\"https:\/\/www.rosehosting.com\/almalinux-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">AlmaLinux 10 VPS<\/a> with at least 4GB of RAM.<\/li>\n\n\n\n<li>SSH root access, or a user with sudo privileges.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Conventions<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># \u2013 given commands should be executed with root privileges either directly as a root user or by use of sudo command<br>$ \u2013 given commands should be executed as a regular user<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-1-Add-System-User\"><\/span>Step 1. Add System User<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Magento will be run under a system user. Let&#8217;s create a new system user.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># useradd -md \/opt\/magento -Urs \/bin\/bash magento<\/pre>\n\n\n\n<p>Then, let&#8217;s give the new user a password.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># passwd magento<\/pre>\n\n\n\n<p>You will be prompted to type the password for user &#8216;magento&#8217; twice; the password will not be shown on your screen. Then, let&#8217;s add this user as a sudoer.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># usermod -aG wheel magento<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-2-Install-PHP\"><\/span>Step 2. Install PHP<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>AlmaLinux 10 ships with PHP 8.4, and we will use this PHP version. However, we will also need PHP sodium, which is not available in the repository. We need to install the EPEL release to proceed with this.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># dnf install https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-10.noarch.rpm<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"># dnf update<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"># dnf install php-{bcmath,common,curl,fpm,gd,intl,mbstring,mysqlnd,pear,soap,sodium,xml,zip,cli} libsodium libsodium-devel<\/pre>\n\n\n\n<p>Next, we need to modify the following settings in the php.ini file:<\/p>\n\n\n\n<p>Increase memory_limit to 512M<br>Set short_open_tag to On<br>Set upload_max_filesize to 128M<br>Increase max_execution_time to 3600<\/p>\n\n\n\n<p>Let&#8217;s make the changes by executing these commands<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># su - magento<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo sed -i \"s\/memory_limit = .*\/memory_limit = 512M\/\" \/etc\/php.ini<br>$ sudo sed -i \"s\/upload_max_filesize = .*\/upload_max_filesize = 128M\/\" \/etc\/php.ini<br>$ sudo sed -i \"s\/short_open_tag = .*\/short_open_tag = On\/\" \/etc\/php.ini<br>$ sudo sed -i \"s\/max_execution_time = .*\/max_execution_time = 3600\/\" \/etc\/php.ini<\/pre>\n\n\n\n<p>Then, let&#8217;s create a PHP-FOM pool.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># sudo nano \/etc\/php-fpm.d\/magento.conf<\/pre>\n\n\n\n<p>We need to insert the following into the file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">user = magento<br>group = magento<br><br>listen = \/run\/php-fpm\/magento.sock<br>listen.owner = magento<br>listen.group = magento<br>pm = ondemand<br>pm.max_children = 50<br>pm.start_servers = 10<br>pm.min_spare_servers = 5<br>pm.max_spare_servers = 10<\/pre>\n\n\n\n<p>To apply the changes, we can restart PHP FPM.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo systemctl restart php-fpm<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-3-Install-Nginx\"><\/span>Step 3. Install Nginx<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this step, we are going to install and configure nginx as the web server, not Apache. Run this command to install it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo dnf install nginx -y<\/pre>\n\n\n\n<p>Start nginx and enable it on boot.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo systemctl enable --now nginx<\/pre>\n\n\n\n<p>Let&#8217;s create an nginx server block.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo nano \/etc\/nginx\/conf.d\/magento.conf<\/pre>\n\n\n\n<p>Insert the following into the file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">upstream fastcgi_backend {<br>server unix:\/run\/php-fpm\/magento.sock;<br>}<br><br>server {<br>server_name yourdomain.com;<br>listen 80;<br>set $MAGE_ROOT \/opt\/magento\/website;<br>set $MAGE_MODE production;<br><br>access_log \/var\/log\/nginx\/magento-access.log;<br>error_log \/var\/log\/nginx\/magento-error.log;<br><br>include \/opt\/magento\/website\/nginx.conf.sample;<br>}<\/pre>\n\n\n\n<p>Now, restart nginx to apply the changes.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo systemctl restart nginx<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-4-Install-Opensearch\"><\/span>Step 4. Install Opensearch<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>As an alternative to Elasticsearch, Magento now supports OpenSearch. In this step, we will install OpenSearch and then modify its settings. Let&#8217;s execute the commands below to proceed.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">curl -SL https:\/\/artifacts.opensearch.org\/releases\/bundle\/opensearch\/3.x\/opensearch-3.x.repo -o \/etc\/yum.repos.d\/opensearch-3.x.repo<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo rpm --import https:\/\/artifacts.opensearch.org\/publickeys\/opensearch-release.pgp<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo dnf update<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD=M0d1fyth15$ dnf install opensearch<\/pre>\n\n\n\n<p>Once installed, we need to do this:<\/p>\n\n\n\n<p>By default, OpenSearch uses SSL, but Magento doesn&#8217;t use it. So we need to disable the SSL plugin in OpenSearch for a successful Magento installation:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo nano \/etc\/opensearch\/opensearch.yml<\/pre>\n\n\n\n<p>And add this to the end of the yml file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">plugins.security.disabled: true<\/pre>\n\n\n\n<p>Save the file, then exit. Finally, we can enable the service and start it now. Please note that you cannot skip the step above, or else you will see the following error message when installing Magento:<\/p>\n\n\n\n<p>&#8220;Could not validate a connection to the OpenSearch. No alive nodes found in your cluster.&#8221;<\/p>\n\n\n\n<p>That&#8217;s it, we can start the service now.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo systemctl enable --now opensearch<\/pre>\n\n\n\n<p>Now, run the command below to check the connection to OpenSearch.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo curl -X GET https:\/\/localhost:9200 -u 'admin:M0d1fyth15$' --insecure<\/pre>\n\n\n\n<p>Make sure to replace the password in the command above with yours, and it should match the one you used to install OpenSearch.<\/p>\n\n\n\n<p>The command will return an output like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">{<br>  \"name\" : \"almalinux.rosehosting.com\",<br>  \"cluster_name\" : \"opensearch\",<br>  \"cluster_uuid\" : \"n798ronRTna-nbCkkxaqwg\",<br>  \"version\" : {<br>    \"distribution\" : \"opensearch\",<br>    \"number\" : \"3.0.0\",<br>    \"build_type\" : \"rpm\",<br>    \"build_hash\" : \"dc4efa821904cc2d7ea7ef61c0f577d3fc0d8be9\",<br>    \"build_date\" : \"2025-05-03T06:23:53.552902827Z\",<br>    \"build_snapshot\" : false,<br>    \"lucene_version\" : \"10.1.0\",<br>    \"minimum_wire_compatibility_version\" : \"2.19.0\",<br>    \"minimum_index_compatibility_version\" : \"2.0.0\"<br>  },<br>  \"tagline\" : \"The OpenSearch Project: https:\/\/opensearch.org\/\"<br>}<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">$ exit<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-5-Install-MySQL-Server\"><\/span>Step 5. Install MySQL Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Magento supports MySQL 8.4 or MariaDB 10.6. AlmaLinux 10 ships with MySQL 8.4 and MariaDB 10.11. So, in this step, we will install MySQL server 8.4.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># dnf install mysql-server<\/pre>\n\n\n\n<p>Once installed, we can run this command to enable it upon server reboot and start the service now.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl enable --now mysqld<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-6-Create-a-Database\"><\/span>Step 6. Create a Database<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>After installing the MySQL server in the previous step, we can proceed with creating a new database and a user for our Nextcloud website.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># mysql<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">mysql&gt; CREATE DATABASE magento;<br><br>mysql&gt; CREATE USER 'magento'@'localhost' IDENTIFIED BY \"m0d1fyth15\";<br><br>mysql&gt; GRANT ALL PRIVILEGES ON magento.* TO 'magento'@'localhost';<br><br>mysql&gt; FLUSH PRIVILEGES;<br><br>mysql&gt; SET GLOBAL log_bin_trust_function_creators = 1;<br><br>mysql&gt; \\q<\/pre>\n\n\n\n<p>Remember to replace &#8216;m0d1fyth15&#8217; with a stronger password.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-7-Install-Composer\"><\/span>Step 7. Install Composer<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Composer is a package manager for the PHP programming language that can be used for managing dependencies of PHP software and required libraries.<\/p>\n\n\n\n<p>The installation of Composer is straightforward and relatively easy. Simply download and install Composer with these commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># curl -sS https:\/\/getcomposer.org\/installer -o composer-setup.php<br># php composer-setup.php --install-dir=\/usr\/local\/bin --filename=composer<\/pre>\n\n\n\n<p>That\u2019s it. You have successfully installed Composer on your AlmaLinux server. Next, verify the installed version of Composer with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># composer --version<\/pre>\n\n\n\n<p>or<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># composer -V<\/pre>\n\n\n\n<p>The command will print this message:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Composer version 2.8.9 2025-05-13 14:01:37<br>PHP version 8.3.10 (\/usr\/bin\/php)<br>Run the \"diagnose\" command to get more detailed diagnostics output.<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-8-Download-and-Install-Magento\"><\/span>Step 8. Download and Install Magento<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Go to https:\/\/commercemarketplace.adobe.com\/ and create an account or log in if you already have an account. After logging in, navigate to the <a href=\"https:\/\/commercemarketplace.adobe.com\/customer\/accessKeys\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Adobe Commerce Marketplac<\/a>e and create the key pair. You will need the key pair when executing the command below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># su - magento<br>$ composer create-project --repository-url=https:\/\/repo.magento.com\/ magento\/project-community-edition=2.4.8 \/opt\/magento\/website <\/pre>\n\n\n\n<p>When prompted for a username, you need to use the &#8216;PUBLIC KEY&#8217; for the username and &#8216;PRIVATE KEY&#8217; for the password. It would be self-explanatory from here. Wait until the download finishes.<\/p>\n\n\n\n<p>After all required files are downloaded, we can proceed with the installation by running the command below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ cd \/opt\/magento\/website<br>$ bin\/magento setup:install \\<br>--base-url=http:\/\/yourdomain.com \\<br>--db-host=localhost \\<br>--db-name=magento \\<br>--db-user=magento \\<br>--db-password=m0d1fyth15 \\<br>--admin-firstname=Magento \\<br>--admin-lastname=Admin \\<br>--admin-email=admin@yourdomain.com \\<br>--admin-user=admin \\<br>--admin-password=m0d1fyth15 \\<br>--language=en_US \\<br>--currency=USD \\<br>--timezone=America\/Chicago \\<br>--use-rewrites=1 \\<br>--search-engine=opensearch<\/pre>\n\n\n\n<p>At the end of the installation, you will see an output similar to this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[SUCCESS]: Magento installation complete.<br>[SUCCESS]: Magento Admin URI: \/admin_f2ua7sp<br>Nothing to import.<\/pre>\n\n\n\n<p>Before logging in to the backend, we can disable Two-Factor Authentication first and enable it again later. We need to run these commands to disable the 2FA modules.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ php bin\/magento module:disable Magento_AdminAdobeImsTwoFactorAuth<br>$ php bin\/magento module:disable Magento_TwoFactorAuth<br>$ php bin\/magento setup:di:compile<br>$ php bin\/magento cache:clean<\/pre>\n\n\n\n<p>At this point, Magento is installed, and we can navigate to the backend at http:\/\/yourdomain.com\/admin_f2ua7sp using our favourite web browser. Please note that you will need to use your own link to access the backend.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-9-Set-up-Cron-jobs\"><\/span>Step 9. Set up Cron jobs<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Magento requires its cron jobs to run to automate its essential system functions. Let&#8217;s execute the command below to create Magento cron jobs under the user magento.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ php bin\/magento cron:install<\/pre>\n\n\n\n<p>Congratulation! You have successfully installed Magento on AlmaLinux 10.<\/p>\n\n\n\n<p>Of course, you don\u2019t have to install Magento on AlmaLinux 10 if you have a <a href=\"https:\/\/www.rosehosting.com\/magento-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">Magento server<\/a> with us, in which case you can simply ask our expert Linux hosting admins to set all of this up for you, quickly and easily. Our admins will install Magento on AlmaLinux 10 for you immediately without any additional fee, along with many useful optimizations that we can do for you. Managing a Magento based website is not just about the installation, we can help you with optimizing your Magento installation if you have an active service with us. Our admins will also help you with more complex Magento installations, like using Varnish, and other customizations.<\/p>\n\n\n\n<p>If you liked this post, please share it with your friends or leave a comment in the comments section. Thanks!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Magento is a leading enterprise-grade e-commerce platform built on open-source technology, combining advanced features, flexibility, and a user-friendly interface. With &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to install Magento on AlmaLinux 10\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-almalinux-10\/#more-50479\" aria-label=\"Read more about How to install Magento on AlmaLinux 10\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":50569,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2176,1711],"tags":[2263,1603,216],"class_list":["post-50479","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-almalinux","category-e-commerce","tag-almalinux-10","tag-how-to-install","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.4 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to install Magento on AlmaLinux 10 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn how to install Magento on AlmaLinux 10 or get our system admins to install it for you and get your shop up and running immediately.\" \/>\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-almalinux-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 on AlmaLinux 10\" \/>\n<meta property=\"og:description\" content=\"How to install Magento on AlmaLinux 10 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-almalinux-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=\"2025-07-07T17:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/07\/how-to-install-magento-on-almalinux-10.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: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-on-almalinux-10\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-almalinux-10\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to install Magento on AlmaLinux 10\",\"datePublished\":\"2025-07-07T17:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-almalinux-10\\\/\"},\"wordCount\":984,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-almalinux-10\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/how-to-install-magento-on-almalinux-10.webp\",\"keywords\":[\"almalinux 10\",\"how to install\",\"magento\"],\"articleSection\":[\"AlmaLinux\",\"E-Commerce\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-almalinux-10\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-almalinux-10\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-almalinux-10\\\/\",\"name\":\"How to install Magento on AlmaLinux 10 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-almalinux-10\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-almalinux-10\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/how-to-install-magento-on-almalinux-10.webp\",\"datePublished\":\"2025-07-07T17:30:00+00:00\",\"description\":\"Learn how to install Magento on AlmaLinux 10 or get our system admins to install it for you and get your shop up and running immediately.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-almalinux-10\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-almalinux-10\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-almalinux-10\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/how-to-install-magento-on-almalinux-10.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/how-to-install-magento-on-almalinux-10.webp\",\"width\":1024,\"height\":576,\"caption\":\"How to Install Magento on AlmaLinux 10\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-magento-on-almalinux-10\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install Magento on AlmaLinux 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 on AlmaLinux 10 | RoseHosting","description":"Learn how to install Magento on AlmaLinux 10 or get our system admins to install it for you and get your shop up and running immediately.","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-almalinux-10\/","og_locale":"en_US","og_type":"article","og_title":"How to install Magento on AlmaLinux 10","og_description":"How to install Magento on AlmaLinux 10 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-almalinux-10\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2025-07-07T17:30:00+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/07\/how-to-install-magento-on-almalinux-10.webp","type":"image\/webp"}],"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-on-almalinux-10\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-almalinux-10\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to install Magento on AlmaLinux 10","datePublished":"2025-07-07T17:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-almalinux-10\/"},"wordCount":984,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-almalinux-10\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/07\/how-to-install-magento-on-almalinux-10.webp","keywords":["almalinux 10","how to install","magento"],"articleSection":["AlmaLinux","E-Commerce"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-almalinux-10\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-almalinux-10\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-almalinux-10\/","name":"How to install Magento on AlmaLinux 10 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-almalinux-10\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-almalinux-10\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/07\/how-to-install-magento-on-almalinux-10.webp","datePublished":"2025-07-07T17:30:00+00:00","description":"Learn how to install Magento on AlmaLinux 10 or get our system admins to install it for you and get your shop up and running immediately.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-almalinux-10\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-almalinux-10\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-almalinux-10\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/07\/how-to-install-magento-on-almalinux-10.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/07\/how-to-install-magento-on-almalinux-10.webp","width":1024,"height":576,"caption":"How to Install Magento on AlmaLinux 10"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-magento-on-almalinux-10\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install Magento on AlmaLinux 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\/50479","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=50479"}],"version-history":[{"count":8,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/50479\/revisions"}],"predecessor-version":[{"id":50571,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/50479\/revisions\/50571"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/50569"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=50479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=50479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=50479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}