{"id":45385,"date":"2023-06-19T12:30:00","date_gmt":"2023-06-19T17:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=45385"},"modified":"2023-06-30T14:10:29","modified_gmt":"2023-06-30T19:10:29","slug":"how-to-install-prestashop-on-almalinux-9","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-prestashop-on-almalinux-9\/","title":{"rendered":"How to Install PrestaShop on Almalinux 9"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"742\" height=\"372\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/05\/how-to-install-prestashop-on-almalinux-9.webp\" alt=\"how to install prestashop on almalinux 9\" class=\"wp-image-45746\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Prestashop is a flexible and scalable <a href=\"https:\/\/www.rosehosting.com\/ecommerce-hosting\/\">eCommerce platform<\/a>. Prestashop is one of the best open-source eCommerce CMS with out-of-the-box features. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">The platform itself is written in PHP and released under Open Software License (OSL). People are using Prestashop mainly for their store, and the <a href=\"https:\/\/storeleads.app\/reports\/prestashop\">number of Prestashop users is growing<\/a>. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this tutorial, we will walk you through the Prestashop installation on Almalinux 9.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 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-6a1f6a950644c\" 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-6a1f6a950644c\"  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-prestashop-on-almalinux-9\/#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-prestashop-on-almalinux-9\/#Step-1-Log-in-to-your-server-via-SSH\" >Step 1: Log in to your server via SSH<\/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-prestashop-on-almalinux-9\/#Step-2-Install-and-Configure-Nginx\" >Step 2. Install and Configure Nginx<\/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-prestashop-on-almalinux-9\/#Step-3-Install-MariaDB-and-Create-a-Database\" >Step 3. Install MariaDB and Create a 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-prestashop-on-almalinux-9\/#Step-4-Install-PHP\" >Step 4. Install PHP<\/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-prestashop-on-almalinux-9\/#Step-5-Install-SSL-Certificate\" >Step 5. Install SSL Certificate<\/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-prestashop-on-almalinux-9\/#Step-6-Install-Prestashop\" >Step 6. Install Prestashop<\/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 Almalinux 9 VPS<\/li>\n\n\n\n<li>SSH root access or regular system user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-1-Log-in-to-your-server-via-SSH\"><\/span>Step 1: Log in to your server via SSH<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First, you will need to log in to your AlmaLinux 9 VPS via SSH as the root user:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh root@IP_Address -p Port_number<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You must replace &#8216;IP_Address&#8217; and &#8216;Port_number&#8217; with your server&#8217;s respective IP address and SSH port number. Additionally, replace &#8216;root&#8217; with the username of the system user with sudo privileges.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can check whether you have the proper AlmaLinux version installed on your server with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># cat \/etc\/almalinux-release<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It will return an output like this.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">AlmaLinux release 9.1 (Lime Lynx)<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-2-Install-and-Configure-Nginx\"><\/span>Step 2. Install and Configure Nginx<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">We will use nginx as the web server, and the installation is easy.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># dnf install nginx -y<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then, create an nginx server block for our Prestashop website. Make sure to replace prestashop.yourdomain.com with your actual domain\/subdomain name pointing to your server IP address.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># nano \/etc\/nginx\/conf.d\/prestashop.conf<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Copy and paste the following into the file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">server {\n    listen 80;\n    root \/var\/www\/html\/prestashop;\n    index  index.php index.html index.htm;\n    server_name  prestashop.yourdomain.com;\n\n    location \/ {\n    rewrite ^\/api\/?(.*)$ \/webservice\/dispatcher.php?url=$1 last;\n    rewrite ^\/([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?\/.+\\.jpg$ \/img\/p\/$1\/$1$2.jpg last;\n    rewrite ^\/([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?\/.+\\.jpg$ \/img\/p\/$1\/$2\/$1$2$3.jpg last;\n    rewrite ^\/([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?\/.+\\.jpg$ \/img\/p\/$1\/$2\/$3\/$1$2$3$4.jpg last;\n    rewrite ^\/([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?\/.+\\.jpg$ \/img\/p\/$1\/$2\/$3\/$4\/$1$2$3$4$5.jpg last;\n    rewrite ^\/([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?\/.+\\.jpg$ \/img\/p\/$1\/$2\/$3\/$4\/$5\/$1$2$3$4$5$6.jpg last;\n    rewrite ^\/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?\/.+\\.jpg$ \/img\/p\/$1\/$2\/$3\/$4\/$5\/$6\/$1$2$3$4$5$6$7.jpg last;\n    rewrite ^\/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?\/.+\\.jpg$ \/img\/p\/$1\/$2\/$3\/$4\/$5\/$6\/$7\/$1$2$3$4$5$6$7$8.jpg last;\n    rewrite ^\/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?\/.+\\.jpg$ \/img\/p\/$1\/$2\/$3\/$4\/$5\/$6\/$7\/$8\/$1$2$3$4$5$6$7$8$9.jpg last;\n    rewrite ^\/c\/([0-9]+)(-[_a-zA-Z0-9-]*)(-[0-9]+)?\/.+\\.jpg$ \/img\/c\/$1$2.jpg last;\n    rewrite ^\/c\/([a-zA-Z-]+)(-[0-9]+)?\/.+\\.jpg$ \/img\/c\/$1.jpg last;\n    rewrite ^\/([0-9]+)(-[_a-zA-Z0-9-]*)(-[0-9]+)?\/.+\\.jpg$ \/img\/c\/$1$2.jpg last;\n    try_files $uri $uri\/ \/index.php?$args;\n    }\n\n    rewrite ^images_ie\/?([^\/]+)\\.(jpe?g|png|gif)$ js\/jquery\/plugins\/fancybox\/images\/$1.$2 last;\n\n    rewrite ^\/api\/?(.*)$ \/webservice\/dispatcher.php?url=$1 last;\n\n    rewrite ^(\/install(?:-dev)?\/sandbox)\/(.*) \/$1\/test.php last;\n\n    #Change this block to your admin folder\n    location \/admin_CHANGE_ME {\n        if (!-e $request_filename) {\n            rewrite ^\/.*$ \/admin_CHANGE_ME\/index.php last;\n        }\n    }\n\n    # Source code directories\n    location ~ ^\/(app|bin|cache|classes|config|controllers|docs|localization|override|src|tests|tools|translations|travis-scripts|vendor|var)\/ {\n        deny all;\n    }\n    # Prevent exposing other sensitive files\n    location ~ \\.(yml|log|tpl|twig|sass)$ {\n        deny all;\n    }\n\n    location ~ \\.php$ {\n        fastcgi_pass unix:\/run\/php-fpm\/www.sock;\n        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\n        include fastcgi_params;\n    }\n}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Save the file and exit.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-3-Install-MariaDB-and-Create-a-Database\"><\/span>Step 3. Install MariaDB and Create a Database<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In this step, we are going to install the <a href=\"https:\/\/www.rosehosting.com\/mariadb-hosting\/\">MariaDB server<\/a> from the default Almalinux repository. To install the MariaDB server, execute this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># dnf install mariadb-server<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Once installed, let&#8217;s run the MariaDB server and enable it to run on boot.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl enable --now mariadb<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now, we can proceed with creating a new database and database user for our Prestashop website.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mysql -e \"create database prestashop\"\nmysql -e \"grant all privileges on prestashop.* to prestashop@localhost identified by 'm0d1fyth15'\"<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Make sure you create a stronger database password; replace m0d1fyth15 in the command above with a stronger password.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-4-Install-PHP\"><\/span>Step 4. Install PHP<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Since Prestashop 8 supports PHP 8.0 and the said PHP version is shipped with AlmaLinux 9, we can install it directly from the default repository. Let&#8217;s run this command below to install PHP and its extensions.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># dnf install php-{curl,fpm,gd,imagick,intl,mbstring,mysqlnd,xml,zip}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Once completed, the PHP-FPM service will be running automatically. We are not going to edit the PHP-FPM configuration; we will use the default PHP-FPM www.conf file. To ensure PHP-FPM is running, you can verify it with this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl status php-fpm<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">And make sure to run it on boot.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl enable php-fpm<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-5-Install-SSL-Certificate\"><\/span>Step 5. Install SSL Certificate<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This step is optional but highly recommended to complete. This step will walk you through SSL installation from <a href=\"https:\/\/www.rosehosting.com\/blog\/free-lets-encrypt-ssl-certificate-alternatives\/\">Let\u2019s Encrypt<\/a> using certbot.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt install python3-certbot-nginx<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now, we are ready to install the SSL certificate, run this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># certbot<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Follow or answer the prompts; you need to provide your email address, accept the Let\u2019s Encrypt TOS, and whether you want to share your email address with the <a href=\"https:\/\/www.eff.org\/\">Electronic Frontier Foundation<\/a>. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then, you need to choose which domain\/subdomain name you would like to activate HTTPS for. Choose your Prestashop website by typing the number and hitting ENTER. Let\u2019s encrypt will install the certificate, and it will ask you whether to configure HTTP to HTTPS redirection or not; you can choose redirect, then certbot will create the redirection and reload nginx if everything is okay.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After running the &#8216;certbot&#8217; command, you will get an output like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Saving debug log to \/var\/log\/letsencrypt\/letsencrypt.log\nEnter email address (used for urgent renewal and security notices)\n(Enter 'c' to cancel): you@yourdomain.com\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nPlease read the Terms of Service at\nhttps:\/\/letsencrypt.org\/documents\/LE-SA-v1.3-September-21-2022.pdf. You must\nagree in order to register with the ACME server. Do you agree?\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n(Y)es\/(N)o: y\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nWould you be willing, once your first certificate is successfully issued, to\nshare your email address with the Electronic Frontier Foundation, a founding\npartner of the Let's Encrypt project and the non-profit organization that\ndevelops Certbot? We'd like to send you email about our work encrypting the web,\nEFF news, campaigns, and ways to support digital freedom.\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n(Y)es\/(N)o: n\nAccount registered.\n\nWhich names would you like to activate HTTPS for?\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n1: prestashop.yourdomain.com\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nSelect the appropriate numbers separated by commas and\/or spaces, or leave input\nblank to select all options shown (Enter 'c' to cancel): 1\nRequesting a certificate for prestashop.yourdomain.com\n\nSuccessfully received certificate.\nCertificate is saved at: \/etc\/letsencrypt\/live\/prestashop.yourdomain.com\/fullchain.pem\nKey is saved at: \/etc\/letsencrypt\/live\/prestashop.yourdomain.com\/privkey.pem\nThis certificate expires on 2023-07-18.\nThese files will be updated when the certificate renews.\nCertbot has set up a scheduled task to automatically renew this certificate in the background.\n\nDeploying certificate\nSuccessfully deployed certificate for prestashop.yourdomain.com to \/etc\/nginx\/sites-enabled\/prestashop.conf\nCongratulations! You have successfully enabled HTTPS on https:\/\/prestashop.yourdomain.com\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nIf you like Certbot, please consider supporting our work by:\n* Donating to ISRG \/ Let's Encrypt: https:\/\/letsencrypt.org\/donate\n* Donating to EFF: https:\/\/eff.org\/donate-le\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-6-Install-Prestashop\"><\/span>Step 6. Install Prestashop<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, we get to the final and main step. In this step, we will download the Prestashop source file and extract it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># cd \/tmp\n# wget https:\/\/assets.prestashop3.com\/dst\/edition\/corporate\/8.0.2\/prestashop_edition_basic_version_8.0.2.zip -O prestashop8.zip\n# unzip prestashop8.zip<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After extracting it, you will get prestashop.zip containing all Prestashop files. Let&#8217;s unzip it and store the files on our PrestaShop website&#8217;s document root.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># unzip prestashop.zip -d \/var\/www\/html\/prestashop<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Once finished, we need to correct the permission. The files and directory should be owned by user &#8216;apache&#8217; because PHP-FPM also uses user &#8216;apache&#8217;.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># chown -R apache: \/var\/www\/html\/prestashop<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Go to <em>http:\/\/prestashop.yourdomain.com<\/em> to complete the installation<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Please note for security reasons; you need to delete the &#8216;install&#8217; directory inside your Prestashop document root after the installation is completed.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># rm -rf \/var\/www\/html\/prestashop\/install\/<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then, you will see an admin_RANDOMSTRING in your \/var\/www\/html\/prestashop directory. Please edit your nginx server block and make sure &#8220;admin_CHANGE_ME&#8221; points to the correct admin directory, like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">#Change this block to your admin folder\nlocation \/admin2023xhty {\n    if (!-e $request_filename) {\n    rewrite ^\/.*$ \/admin2023xhty\/index.php last;\n    }\n}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Save the file, then exit. Do not forget to restart nginx to apply the changes. Then, you should be able to access your Prestashop backend using the login credentials you created during the installation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Congratulation! You have successfully installed Prestashop on Almalinux 9, and now you can start using it, then build and customize it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are one of our web hosting customers and use our managed Linux Hosting, you don\u2019t have to follow this tutorial and install <a href=\"https:\/\/www.rosehosting.com\/almalinux-hosting\/\">Prestashop on Almalinux 9<\/a> yourself; our Linux admins will set up and configure a <a href=\"https:\/\/www.rosehosting.com\/prestashop-hosting\/\">Prestashop VPS<\/a> for you. They are available 24\u00d77 and will take care of your request immediately, and all you need to do is to submit a ticket; you can count on our support team.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PS. If you liked this post, please share it with your friends on social networks or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Prestashop is a flexible and scalable eCommerce platform. Prestashop is one of the best open-source eCommerce CMS with out-of-the-box features.<\/p>\n","protected":false},"author":4,"featured_media":45746,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,1711,2072,13],"tags":[1910,376],"class_list":["post-45385","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-e-commerce","category-open-source","category-tutorials","tag-almalinux","tag-prestashop","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.7 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install PrestaShop on Almalinux 9 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn how to effortlessly install PrestaShop on AlmaLinux 9 and kickstart your online store journey. Follow our comprehensive guide!\" \/>\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-prestashop-on-almalinux-9\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Prestashop on Almalinux 9\" \/>\n<meta property=\"og:description\" content=\"Learn how to effortlessly install PrestaShop on AlmaLinux 9 and kickstart your online store journey. Follow our comprehensive guide!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-prestashop-on-almalinux-9\/\" \/>\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-06-19T17:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-30T19:10:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/05\/how-to-install-prestashop-on-almalinux-9.webp\" \/>\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\/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 Prestashop on Almalinux 9\" \/>\n<meta name=\"twitter:description\" content=\"Learn how to effortlessly install PrestaShop on AlmaLinux 9 and kickstart your online store journey. Follow our comprehensive guide!\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-prestashop-on-almalinux-9\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-prestashop-on-almalinux-9\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install PrestaShop on Almalinux 9\",\"datePublished\":\"2023-06-19T17:30:00+00:00\",\"dateModified\":\"2023-06-30T19:10:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-prestashop-on-almalinux-9\\\/\"},\"wordCount\":828,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-prestashop-on-almalinux-9\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/how-to-install-prestashop-on-almalinux-9.webp\",\"keywords\":[\"almalinux\",\"PrestaShop\"],\"articleSection\":[\"CentOS\",\"E-Commerce\",\"Open-source\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-prestashop-on-almalinux-9\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-prestashop-on-almalinux-9\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-prestashop-on-almalinux-9\\\/\",\"name\":\"How to Install PrestaShop on Almalinux 9 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-prestashop-on-almalinux-9\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-prestashop-on-almalinux-9\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/how-to-install-prestashop-on-almalinux-9.webp\",\"datePublished\":\"2023-06-19T17:30:00+00:00\",\"dateModified\":\"2023-06-30T19:10:29+00:00\",\"description\":\"Learn how to effortlessly install PrestaShop on AlmaLinux 9 and kickstart your online store journey. Follow our comprehensive guide!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-prestashop-on-almalinux-9\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-prestashop-on-almalinux-9\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-prestashop-on-almalinux-9\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/how-to-install-prestashop-on-almalinux-9.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/how-to-install-prestashop-on-almalinux-9.webp\",\"width\":742,\"height\":372,\"caption\":\"how to install prestashop on almalinux 9\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-prestashop-on-almalinux-9\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install PrestaShop on Almalinux 9\"}]},{\"@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 PrestaShop on Almalinux 9 | RoseHosting","description":"Learn how to effortlessly install PrestaShop on AlmaLinux 9 and kickstart your online store journey. Follow our comprehensive guide!","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-prestashop-on-almalinux-9\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Prestashop on Almalinux 9","og_description":"Learn how to effortlessly install PrestaShop on AlmaLinux 9 and kickstart your online store journey. Follow our comprehensive guide!","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-prestashop-on-almalinux-9\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2023-06-19T17:30:00+00:00","article_modified_time":"2023-06-30T19:10:29+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/05\/how-to-install-prestashop-on-almalinux-9.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_title":"How to Install Prestashop on Almalinux 9","twitter_description":"Learn how to effortlessly install PrestaShop on AlmaLinux 9 and kickstart your online store journey. Follow our comprehensive guide!","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-prestashop-on-almalinux-9\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-prestashop-on-almalinux-9\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install PrestaShop on Almalinux 9","datePublished":"2023-06-19T17:30:00+00:00","dateModified":"2023-06-30T19:10:29+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-prestashop-on-almalinux-9\/"},"wordCount":828,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-prestashop-on-almalinux-9\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/05\/how-to-install-prestashop-on-almalinux-9.webp","keywords":["almalinux","PrestaShop"],"articleSection":["CentOS","E-Commerce","Open-source","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-prestashop-on-almalinux-9\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-prestashop-on-almalinux-9\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-prestashop-on-almalinux-9\/","name":"How to Install PrestaShop on Almalinux 9 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-prestashop-on-almalinux-9\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-prestashop-on-almalinux-9\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/05\/how-to-install-prestashop-on-almalinux-9.webp","datePublished":"2023-06-19T17:30:00+00:00","dateModified":"2023-06-30T19:10:29+00:00","description":"Learn how to effortlessly install PrestaShop on AlmaLinux 9 and kickstart your online store journey. Follow our comprehensive guide!","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-prestashop-on-almalinux-9\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-prestashop-on-almalinux-9\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-prestashop-on-almalinux-9\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/05\/how-to-install-prestashop-on-almalinux-9.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/05\/how-to-install-prestashop-on-almalinux-9.webp","width":742,"height":372,"caption":"how to install prestashop on almalinux 9"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-prestashop-on-almalinux-9\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install PrestaShop on Almalinux 9"}]},{"@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\/45385","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=45385"}],"version-history":[{"count":11,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/45385\/revisions"}],"predecessor-version":[{"id":46345,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/45385\/revisions\/46345"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/45746"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=45385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=45385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=45385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}