{"id":3966,"date":"2023-09-29T10:56:48","date_gmt":"2023-09-29T07:56:48","guid":{"rendered":"https:\/\/www.virtono.com\/community\/?p=3966"},"modified":"2023-09-29T10:56:54","modified_gmt":"2023-09-29T07:56:54","slug":"how-to-install-prestashop-on-centos-7","status":"publish","type":"post","link":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-prestashop-on-centos-7\/","title":{"rendered":"How to Install PrestaShop on CentOS 7"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"422\" data-attachment-id=\"3971\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-prestashop-on-centos-7\/attachment\/how-to-install-prestashop-on-centos-7\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-Install-PrestaShop-on-CentOS-7.png?fit=1920%2C1080&amp;ssl=1\" data-orig-size=\"1920,1080\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"How-to-Install-PrestaShop-on-CentOS-7\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-Install-PrestaShop-on-CentOS-7.png?fit=300%2C169&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-Install-PrestaShop-on-CentOS-7.png?fit=750%2C422&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-Install-PrestaShop-on-CentOS-7.png?resize=750%2C422&#038;ssl=1\" alt=\"How to Install PrestaShop on CentOS 7\" class=\"wp-image-3971\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-Install-PrestaShop-on-CentOS-7.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-Install-PrestaShop-on-CentOS-7.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-Install-PrestaShop-on-CentOS-7.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-Install-PrestaShop-on-CentOS-7.png?resize=1536%2C864&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-Install-PrestaShop-on-CentOS-7.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>PrestaShop is a widely used, open-source e-commerce platform. With its flexibility, scalability, and rich feature set, it has been adopted by many online retailers around the world. For those using the <a href=\"https:\/\/www.virtono.com\/cloud-vps\">CentOS 7 operating system<\/a>, this guide will take you step by step through the process of installing PrestaShop on CentOS 7.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_73 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><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><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-prestashop-on-centos-7\/#Step-by-step_Guide_to_Installing_PrestaShop_on_CentOS_7\" title=\"Step-by-step Guide to Installing PrestaShop on CentOS 7\">Step-by-step Guide to Installing PrestaShop on CentOS 7<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-prestashop-on-centos-7\/#Update_the_System\" title=\"Update the System:\">Update the System:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-prestashop-on-centos-7\/#Install_LAMP_Stack\" title=\"Install LAMP Stack:\">Install LAMP Stack:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-prestashop-on-centos-7\/#Download_the_PrestaShop_Package\" title=\"Download the PrestaShop Package:\">Download the PrestaShop Package:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-prestashop-on-centos-7\/#Extract_the_PrestaShop_Files\" title=\"Extract the PrestaShop Files:\">Extract the PrestaShop Files:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-prestashop-on-centos-7\/#Create_a_MySQL_Database_for_PrestaShop\" title=\"Create a MySQL Database for PrestaShop:\">Create a MySQL Database for PrestaShop:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-prestashop-on-centos-7\/#Modify_File_Permissions\" title=\"Modify File Permissions:\">Modify File Permissions:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-prestashop-on-centos-7\/#Configure_Apache_for_PrestaShop\" title=\"Configure Apache for PrestaShop:\">Configure Apache for PrestaShop:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-prestashop-on-centos-7\/#Install_Certbot\" title=\"Install Certbot\">Install Certbot<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-prestashop-on-centos-7\/#Restart_the_Apache_Server\" title=\"Restart the Apache Server:\">Restart the Apache Server:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-prestashop-on-centos-7\/#Complete_the_Installation_via_Web_Browser\" title=\"Complete the Installation via Web Browser:\">Complete the Installation via Web Browser:<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-prestashop-on-centos-7\/#Tips_for_a_Secure_PrestaShop_Installation\" title=\"Tips for a Secure PrestaShop Installation:\">Tips for a Secure PrestaShop Installation:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-prestashop-on-centos-7\/#Final_Thoughts\" title=\"Final Thoughts\">Final Thoughts<\/a><\/li><\/ul><\/nav><\/div>\n<h3 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Step-by-step_Guide_to_Installing_PrestaShop_on_CentOS_7\"><\/span>Step-by-step Guide to Installing PrestaShop on CentOS 7<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Before you start with the installation of PrestaShop, you must ensure that your system has the <a href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-lamp-on-centos-7\/\">LAMP stack installed<\/a>. LAMP stands for Linux, Apache, MySQL, and PHP \u2013 the essential components to run a web-based application like PrestaShop. If you haven&#8217;t installed the LAMP stack on your CentOS 7 yet, we will walk you through the process below.<\/p>\n\n\n\n<h4 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Update_the_System\"><\/span>Update the System: <span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>First and foremost, ensure your CentOS system is up-to-date.<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo yum update -y<br>sudo yum install nano wget tar -y<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Install_LAMP_Stack\"><\/span>Install LAMP Stack:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p><strong>Install Apache<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo yum install httpd -y<br>sudo systemctl start httpd.service<br>sudo systemctl enable httpd.service<br>sudo sed -i 's\/^\/#&amp;\/g' \/etc\/httpd\/conf.d\/welcome.conf<br>sudo sed -i \"s\/Options Indexes FollowSymLinks\/Options FollowSymLinks\/\" \/etc\/httpd\/conf\/httpd.conf<\/code><\/pre>\n\n\n\n<p><strong>Install and configure MariaDB<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo yum install mariadb mariadb-server  -y\nsudo systemctl start mariadb.service\nsudo systemctl enable mariadb.service\nsudo \/usr\/bin\/mysql_secure_installation<\/code><\/pre>\n\n\n\n<p><strong>Install PHP 7.4<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo yum install -y epel-release\nsudo yum install -y https:\/\/rpms.remirepo.net\/enterprise\/remi-release-7.rpm\nsudo yum-config-manager --enable remi-php74\nsudo yum install -y php php-cli php-fpm php-json php-common php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear php-bcmath php-intl\nphp -v<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Download_the_PrestaShop_Package\"><\/span>Download the PrestaShop Package:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>You can directly download the PrestaShop package using the wget command. Replace the URL with the latest version if necessary.<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>wget https:\/\/www.prestashop.com\/download\/old\/prestashop_1.7.8.1.zip<br>unzip prestashop_1.7.8.1.zip<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Extract_the_PrestaShop_Files\"><\/span>Extract the PrestaShop Files:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>Once downloaded, unzip the PrestaShop on CentOS 7 package to the desired directory, usually the web root.<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>unzip prestashop.zip -d \/var\/www\/html\/<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Create_a_MySQL_Database_for_PrestaShop\"><\/span>Create a MySQL Database for PrestaShop:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>Log into MySQL:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>mysql -u root -p<\/code><\/pre>\n\n\n\n<p>Enter the password when prompted.<\/p>\n\n\n\n<p>Now, create a database and user for PrestaShop on CentOS 7:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>CREATE DATABASE prestashop_db;<br>GRANT ALL PRIVILEGES ON prestashop_db.* TO 'prestashop_user'@'localhost' IDENTIFIED BY 'virtonostrongpassword';<br>FLUSH PRIVILEGES;<br>EXIT;<\/code><\/pre>\n\n\n\n<p>Replace &#8216;virtonostrongpassword&#8217; with a secure password of your choice.<\/p>\n\n\n\n<h4 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Modify_File_Permissions\"><\/span>Modify File Permissions:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>To ensure that PrestaShop on CentOS 7 can read and write the necessary files, adjust the permissions:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>chown -R apache:apache \/var\/www\/html\/<br>chmod -R 755 \/var\/www\/html\/<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Configure_Apache_for_PrestaShop\"><\/span>Configure Apache for PrestaShop:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>Create an Apache virtual host for your PrestaShop on CentOS 7 website. Let\u2019s assume your domain is &#8216;example.com&#8217;. Create a configuration file:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>nano \/etc\/httpd\/conf.d\/example.com.conf<\/code><\/pre>\n\n\n\n<p>Add the following content:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>&lt;VirtualHost *:80&gt;\n    ServerAdmin webmaster@example.com\n    DocumentRoot \/var\/www\/html\/\n    ServerName example.com\n    ServerAlias www.example.com\n    ErrorLog \/var\/log\/httpd\/example.com-error_log\n    CustomLog \/var\/log\/httpd\/example.com-access_log common\n&lt;\/VirtualHost&gt;<\/code><\/pre>\n\n\n\n<p>Save and exit the file.<\/p>\n\n\n\n<h4 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Install_Certbot\"><\/span><strong>Install Certbot<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>Now, install Certbot and its Apache plugin:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo yum install certbot python2-certbot-apache<\/code><\/pre>\n\n\n\n<p>Run Certbot along with the Apache plugin:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code><code>sudo certbot --apache<\/code><\/code><\/pre>\n\n\n\n<p>During the process, you will be asked for your email and agreement to the terms of service. Following that, Certbot will communicate with the Let&#8217;s Encrypt CA and respond with a challenge to prove domain ownership. The <code>--apache<\/code> flag tells Certbot to automatically update your Apache configuration to serve over HTTPS.<\/p>\n\n\n\n<p>You&#8217;ll be given a choice about how you want to configure HTTPS:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can choose to redirect HTTP traffic to HTTPS (recommended).<\/li>\n\n\n\n<li>Or you can keep both HTTP and HTTPS.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Restart_the_Apache_Server\"><\/span>Restart the Apache Server:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>To make these changes take effect, restart Apache:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo systemctl restart httpd<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Complete_the_Installation_via_Web_Browser\"><\/span>Complete the Installation via Web Browser:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p>Now, open your web browser and navigate to your domain (e.g., <a href=\"http:\/\/example.com\" target=\"_blank\" rel=\"noopener\">https:\/\/example.com<\/a>). Follow the on-screen prompts to complete the PrestaShop installation.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"472\" data-attachment-id=\"3967\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-prestashop-on-centos-7\/attachment\/screenshot-2023-09-29-at-09-55-29\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Screenshot-2023-09-29-at-09.55.29.png?fit=1984%2C1250&amp;ssl=1\" data-orig-size=\"1984,1250\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-2023-09-29-at-09.55.29\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Screenshot-2023-09-29-at-09.55.29.png?fit=300%2C189&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Screenshot-2023-09-29-at-09.55.29.png?fit=750%2C472&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Screenshot-2023-09-29-at-09.55.29.png?resize=750%2C472&#038;ssl=1\" alt=\"How to Install PrestaShop on CentOS 7\" class=\"wp-image-3967\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Screenshot-2023-09-29-at-09.55.29.png?resize=1024%2C645&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Screenshot-2023-09-29-at-09.55.29.png?resize=300%2C189&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Screenshot-2023-09-29-at-09.55.29.png?resize=768%2C484&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Screenshot-2023-09-29-at-09.55.29.png?resize=1536%2C968&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Screenshot-2023-09-29-at-09.55.29.png?w=1984&amp;ssl=1 1984w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"273\" data-attachment-id=\"3968\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-prestashop-on-centos-7\/attachment\/screenshot-2023-09-29-at-10-23-50\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Screenshot-2023-09-29-at-10.23.50.png?fit=1962%2C714&amp;ssl=1\" data-orig-size=\"1962,714\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-2023-09-29-at-10.23.50\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Screenshot-2023-09-29-at-10.23.50.png?fit=300%2C109&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Screenshot-2023-09-29-at-10.23.50.png?fit=750%2C273&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Screenshot-2023-09-29-at-10.23.50.png?resize=750%2C273&#038;ssl=1\" alt=\"How to Install PrestaShop on CentOS 7\" class=\"wp-image-3968\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Screenshot-2023-09-29-at-10.23.50.png?resize=1024%2C373&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Screenshot-2023-09-29-at-10.23.50.png?resize=300%2C109&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Screenshot-2023-09-29-at-10.23.50.png?resize=768%2C279&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Screenshot-2023-09-29-at-10.23.50.png?resize=1536%2C559&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/Screenshot-2023-09-29-at-10.23.50.png?w=1962&amp;ssl=1 1962w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Tips_for_a_Secure_PrestaShop_Installation\"><\/span>Tips for a Secure PrestaShop Installation:<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Use Strong Passwords: Always use complex passwords for both the database and the PrestaShop admin account.<br>Regular Backups: Schedule regular backups of your PrestaShop store to prevent data loss.<br>Update Frequently: Ensure you\u2019re always using the latest version of PrestaShop, PHP, and other components.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-accent-color has-text-color\"><span class=\"ez-toc-section\" id=\"Final_Thoughts\"><\/span>Final Thoughts<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Installing PrestaShop on CentOS 7 is a straightforward process, especially when you have the LAMP stack already in place. By following the steps above, you&#8217;ll have your online store up and running in no time. Remember, the key to a successful online store goes beyond the installation. Regular maintenance, monitoring, and updates are vital to keeping your store secure and functional.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PrestaShop is a widely used, open-source e-commerce platform. With its flexibility, scalability, and rich feature set, it has been adopted by many online retailers around the world. For those using the CentOS 7 operating system, this guide will take you step by step through the process of installing PrestaShop on<\/p>\n","protected":false},"author":8,"featured_media":3970,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[834,844,838,836,845,842,841,837,839,843,835,846,847,840,848],"class_list":["post-3966","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorial-how-to","tag-install-prestashop-centos","tag-install-prestashop-on-centos","tag-prestashop-apache","tag-prestashop-centos-7","tag-prestashop-database-configuration","tag-prestashop-e-commerce","tag-prestashop-lamp-stack","tag-prestashop-mysql","tag-prestashop-on-centos","tag-prestashop-online-store","tag-prestashop-open-source","tag-prestashop-php","tag-prestashop-web-hosting","tag-prestashop-web-server","tag-prestashop-website-setup"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-Install-PrestaShop-on-CentOS.png?fit=360%2C240&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7ISfL-11Y","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":3904,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-flask-on-ubuntu-and-centos\/","url_meta":{"origin":3966,"position":0},"title":"How to Install Flask on Ubuntu and CentOS","author":"George B.","date":"September 20, 2023","format":false,"excerpt":"Flask, a micro web framework written in Python, is an excellent tool for developers looking to create robust web applications. Its simplicity and flexibility make it a popular choice among developers worldwide. This article will guide you through the process of installing Flask on Ubuntu and CentOS. Prerequisites Make sure\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-Install-Flask-on-Ubuntu-and-CentOS.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3255,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-nagios-on-centos-7\/","url_meta":{"origin":3966,"position":1},"title":"How to install Nagios on CentOS 7","author":"George B.","date":"April 16, 2023","format":false,"excerpt":"In this article, we will discuss how to install Nagios on CentOS 7. Nagios is a powerful monitoring system that can help you keep track of your network resources, services, and applications. Before we begin, make sure that you have root access to the server you will be installing Nagios.\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-Nagios-on-CentOS.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-Nagios-on-CentOS.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-Nagios-on-CentOS.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3270,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/install-the-apache-on-centos\/","url_meta":{"origin":3966,"position":2},"title":"Install the Apache on CentOS","author":"George B.","date":"April 19, 2023","format":false,"excerpt":"In this article, we will go over the steps to install Apache on CentOS. Apache is a widely used web server software that allows you to serve web pages to users over the internet. It is a free and open-source software that is highly configurable and can be customized to\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-apache-on-centos.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-apache-on-centos.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-apache-on-centos.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":2877,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-cwp-centos-web-panel-on-centos-8\/","url_meta":{"origin":3966,"position":3},"title":"How to install CWP (CentOS Web Panel) on Centos 8","author":"George B.","date":"July 28, 2022","format":false,"excerpt":"What Is CWP? CentOS Web Panel (CWP) is a web hosting control panel. It's a no-cost alternative to cPanel. It has an easy-to-use interface and a variety of other features for beginners who want to set up and manage hosting servers. Using CWP is simple and convenient because you don't\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-21-at-16.19.14.png?fit=1057%2C704&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-21-at-16.19.14.png?fit=1057%2C704&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-21-at-16.19.14.png?fit=1057%2C704&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-21-at-16.19.14.png?fit=1057%2C704&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2022\/07\/Screenshot-2022-07-21-at-16.19.14.png?fit=1057%2C704&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3341,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-tomcat-on-centos-7\/","url_meta":{"origin":3966,"position":4},"title":"How to install Tomcat on CentOS 7","author":"George B.","date":"April 29, 2023","format":false,"excerpt":"If you are planning to install Tomcat on CentOS 7, you are in the right place. In this article, we will discuss the steps required to install Tomcat on CentOS 7. Tomcat is a popular Java application server that is widely used to deploy and run web applications. Before we\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-Tomcat-on-CentOS-7.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-Tomcat-on-CentOS-7.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-Tomcat-on-CentOS-7.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3487,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-and-configure-fail2ban-on-centos\/","url_meta":{"origin":3966,"position":5},"title":"How to Install and Configure fail2ban on CentOS","author":"George B.","date":"June 10, 2023","format":false,"excerpt":"We'll walk you through the step-by-step process of installing and configuring fail2ban on CentOS. By the end, you'll have a robust defense mechanism in place to protect your server from unauthorized access attempts. In today's interconnected world, security is of utmost importance, especially for servers and systems that are constantly\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-Install-and-Configure-fail2ban-on-CentOS.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-Install-and-Configure-fail2ban-on-CentOS.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-Install-and-Configure-fail2ban-on-CentOS.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/3966","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/comments?post=3966"}],"version-history":[{"count":3,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/3966\/revisions"}],"predecessor-version":[{"id":3973,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/3966\/revisions\/3973"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media\/3970"}],"wp:attachment":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media?parent=3966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/categories?post=3966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/tags?post=3966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}