How to Install PrestaShop CMS 1.7.5.1 On CentOS 7.6

Installation Of PrestaShop CMS 1.7.5.1 On centos 7.6

PrestaShop CMS is a simple and small flat file content management system which is written in Php.It enables everyone to manage their own websites without any programming knowledge.It is very easy to use.It stores all the pages right on your website,which makes your website even more portable.This video covers the tutorial on Installation of prestaShop CMS 1.7.5.1 on Centos 7.6

Features

• Create an unlimited amount of pages • Create own blog • Create an album to show images to your visitors • Include a contact form in your page.

PHP Modules

php php-gd php-pdo php-simplexml php-mbstring php-mcrypt php-zip

Software requirements

o Ubuntu 18.10 o Apache 2.4.3 o Php 7.2

Download Link

https://github.com/pluck-cms/pluck/archive/4.7.9-dev1.zip

Change the directory to Downloads and view the zip file of prestashop Zip file that has directly downloaded from the website.

[root@linuxhelp ~]# cd Downloads/
[root@linuxhelp Downloads]# ll
total 130048
-rw-r--r-- 1 root root 71374932 Apr 20 08:18 prestashop_1.7.5.1.zip

Move the Zip file OF PrestaShop CMS to the Apaches Document Root Directory.

 [root@linuxhelp Downloads]# mv prestashop_1.7.5.1.zip /var/www

Change the directory to Apache’s Document root directory to extract the zip file of prestaShop CMS

[root@linuxhelp Downloads]# cd /var/www

Create a directory for Quick CMS 6.6 as follows

 [root@linuxhelp www]# mkdir prestashop

Extract the zip file OF prestaShop Cms by executing the following command.

[root@linuxhelp www]# unzip prestashop_1.7.5.1.zip 
Archive:  prestashop_1.7.5.1.zip
  inflating: prestashop.zip          
  inflating: index.php               
  inflating: Install_PrestaShop.html  

List the contents in the /var/www

[root@linuxhelp www]# ll
total 146704
drwxr-xr-x 2 root root        6 Nov  5 07:17 cgi-bin
drwxr-xr-x 2 root root       22 Apr 15 11:10 html
-rw-rw-rw- 1 root root   703707 Feb 12 18:14 index.php
-rw-rw-rw- 1 root root      441 Nov 27 14:41 Install_PrestaShop.html
drwxr-xr-x 2 root root        6 Apr 20 08:24 prestashop
-rw-r--r-- 1 root root 71374932 Apr 20 08:18 prestashop_1.7.5.1.zip
-rw-rw-rw- 1 root root 78136275 Feb 12 18:14 prestashop.zip

Extract the new zip file of prestashop CMS inside the prestashop directory that has created after extracting the old Zip file of Prestashop CMS as follows:

 [root@linuxhelp www]# unzip prestashop.zip -d prestashop
Archive:  prestashop.zip
  inflating: prestashop/error500.html  
  inflating: prestashop/autoload.php  
  inflating: prestashop/init.php     
  inflating: prestashop/composer.lock  
  inflating: prestashop/images.inc.php  
.
.
.
inflating: prestashop/src/Adapter/Debug/DebugMode.php  
   creating: prestashop/src/Adapter/BestSales/
  inflating: prestashop/src/Adapter/BestSales/BestSalesProductSearchProvider.php  
   creating: prestashop/src/Adapter/Media/
  inflating: prestashop/src/Adapter/Media/MediaServerConfiguration.php  
  inflating: prestashop/src/.htaccess  

change the directory to prestashop as follows:

 [root@linuxhelp www]# cd prestashop/

List the contents to view the extracted files and folders of Prestashop zip file

[root@linuxhelp prestashop]# ll
total 612
drwxr-xr-x  9 root root   4096 Feb 12 22:44 admin
drwxr-xr-x  5 root root    107 Feb 12 22:44 app
-rw-r--r--  1 root root   1230 Feb 12 20:49 autoload.php
drwxr-xr-x  2 root root     66 Feb 12 20:49 bin
drwxr-xr-x  8 root root    147 Feb 12 20:49 cache
drwxr-xr-x 24 root root   4096 Feb 12 20:49 classes
-rw-r--r--  1 root root 292512 Feb 12 20:49 composer.lock
drwxr-xr-x  5 root root   4096 Feb 12 20:49 config
drwxr-xr-x  4 root root     66 Feb 12 20:49 controllers
-rw-r--r--  1 root root    878 Feb 12 20:49 docker-compose.yml
drwxr-xr-x  6 root root    235 Feb 12 20:49 docs
drwxr-xr-x  2 root root     40 Feb 12 20:49 download
-rw-r--r--  1 root root   2454 Feb 12 20:49 error500.html
-rw-r--r--  1 root root   4733 Feb 12 20:49 images.inc.php
drwxr-xr-x 18 root root   4096 Feb 12 20:49 img
-rw-r--r--  1 root root   1082 Feb 12 20:49 index.php
-rw-r--r--  1 root root   1168 Feb 12 20:49 init.php
drwxr-xr-x 10 root root    256 Feb 12 20:49 install
-rw-r--r--  1 root root   4943 Feb 12 20:49 INSTALL.txt
drwxr-xr-x  7 root root   4096 Feb 12 20:49 js
-rw-r--r--  1 root root 183529 Feb 12 22:43 LICENSES
drwxr-xr-x  3 root root   4096 Feb 12 20:49 localization
drwxr-xr-x  3 root root     50 Feb 12 20:49 mails
drwxr-xr-x 59 root root   4096 Feb 12 22:44 modules
drwxr-xr-x  5 root root    116 Feb 12 20:49 override
-rw-r--r--  1 root root  66094 Feb 12 20:49 package-lock.json
drwxr-xr-x  2 root root   4096 Feb 12 20:49 pdf
drwxr-xr-x  5 root root     74 Feb 12 20:49 src
drwxr-xr-x  4 root root    152 Feb 12 22:44 themes
drwxr-xr-x  4 root root     75 Feb 12 22:44 tools
drwxr-xr-x  4 root root     49 Feb 12 20:49 translations
drwxr-xr-x  2 root root     23 Feb 12 20:49 upload
drwxr-xr-x  5 root root    122 Feb 12 22:44 var
drwxr-xr-x 43 root root   4096 Feb 12 22:44 vendor
drwxr-xr-x  2 root root     45 Feb 12 20:49 webservice

Assign Ownership Permissions to the prestashop directory

[root@linuxhelp prestashop]# chown -R apache. ./

Assign Writable permissions to the prestashop directory

[root@linuxhelp prestashop]# chmod -R 775 ./

Create a Customised Configuration file for PrestaShop CMS as follows:

 [root@linuxhelp prestashop]# vim /etc/httpd/conf.d/presta.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/prestashop/

<directory /var/www/prestashop/>
allowoverride all
allow from all
</directory>
</virtualhost>

Configure the MariaDB For PrestaShop CMS through the below way.

[root@linuxhelp prestashop]# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 36
Server version: 5.5.60-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> create database presta character set utf8mb4;
Query OK, 1 row affected (0.00 sec)

MariaDB [(none)]> use presta;
Database changed
MariaDB [presta]> create user prestauser@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.00 sec)

MariaDB [presta]> grant all on presta.* to prestauser@localhost;
Query OK, 0 rows affected (0.00 sec)

MariaDB [presta]> flush privileges;
Query OK, 0 rows affected (0.00 sec)

MariaDB [presta]> exit
Bye

Restart the service of Apache after configuring the MariaDB for PrestaShop CMS to start the installation .

[root@linuxhelp prestashop]# systemctl restart httpd

Enter the Servername in the url that has configured inside the virtual hosting of PrestaShop CMS

Choose the language in the Welcome Page Of PrestaShop CMS and Click Next.

Agree the license terms And Click next to proceed further.

After the successful verification of prestashop Compatibility with system environments ,Click Next

Enroll the store information and login Credentials , Click Next Enter the database details to verify the database connection and click Next

Themes,database tables,Modules are processing and getting installed

Installation Of PrestaShop is finished

Rename the install folder to access the front-office and back-office of prestaShop CMS website of Admins Account by listing the contents.

[root@linuxhelp prestashop]# ll
total 616
drwxrwxr-x  9 apache apache   4096 Feb 12 22:44 admin
drwxrwxr-x  5 apache apache    107 Feb 12 22:44 app
-rwxrwxr-x  1 apache apache   1230 Feb 12 20:49 autoload.php
drwxrwxr-x  2 apache apache     66 Feb 12 20:49 bin
drwxrwxr-x  8 apache apache    147 Feb 12 20:49 cache
drwxrwxr-x 24 apache apache   4096 Feb 12 20:49 classes
-rwxrwxr-x  1 apache apache 292512 Feb 12 20:49 composer.lock
drwxrwxr-x  5 apache apache   4096 Apr 20 08:38 config
drwxrwxr-x  4 apache apache     66 Feb 12 20:49 controllers
-rwxrwxr-x  1 apache apache    878 Feb 12 20:49 docker-compose.yml
drwxrwxr-x  6 apache apache    235 Feb 12 20:49 docs
drwxrwxr-x  2 apache apache     40 Apr 20 08:36 download
-rwxrwxr-x  1 apache apache   2454 Feb 12 20:49 error500.html
-rwxrwxr-x  1 apache apache   4733 Feb 12 20:49 images.inc.php
drwxrwxr-x 18 apache apache   4096 Apr 20 08:36 img
-rwxrwxr-x  1 apache apache   1082 Feb 12 20:49 index.php
-rwxrwxr-x  1 apache apache   1168 Feb 12 20:49 init.php
drwxrwxr-x 10 apache apache    256 Feb 12 20:49 install
-rwxrwxr-x  1 apache apache   4943 Feb 12 20:49 INSTALL.txt
drwxrwxr-x  7 apache apache   4096 Feb 12 20:49 js
-rwxrwxr-x  1 apache apache 183529 Feb 12 22:43 LICENSES
drwxrwxr-x  3 apache apache   4096 Feb 12 20:49 localization
drwxrwxr-x  3 apache apache     50 Apr 20 08:36 mails
drwxrwxr-x 67 apache apache   4096 Apr 20 08:39 modules
drwxrwxr-x  5 apache apache    116 Feb 12 20:49 override
-rwxrwxr-x  1 apache apache  66094 Feb 12 20:49 package-lock.json
drwxrwxr-x  2 apache apache   4096 Feb 12 20:49 pdf
-rw-rw-rw-  1 apache apache   3148 Apr 20 08:38 robots.txt
drwxrwxr-x  5 apache apache     74 Feb 12 20:49 src
drwxrwxr-x  4 apache apache    152 Feb 12 22:44 themes
drwxrwxr-x  4 apache apache     75 Feb 12 22:44 tools
drwxrwxr-x  4 apache apache     93 Apr 20 08:39 translations
drwxrwxr-x  2 apache apache     23 Apr 20 08:36 upload
drwxrwxr-x  5 apache apache    122 Feb 12 22:44 var
drwxrwxr-x 43 apache apache   4096 Feb 12 22:44 vendor
drwxrwxr-x  2 apache apache     45 Feb 12 20:49 webservice

[root@linuxhelp prestashop]# mv install/ final/

Click front-office to view the website from client point of view.

Click back-office to manage the website and enter the log in credentials

Installation Of PrestaShop CMS 1.7.5.1 On Centos 7.6 Comes to end.

FAQ
Q
Is there any feature to limit the quantity of the product in Prestashop CMS 1.7.5.1?
A
yes,you can set a minimal quantity for products in prestashop 1.7.5.1
Q
Is it possible to track the products in prestashop CMS 1.7.5.1?
A
Yes,it is possible to track the product in prestashop CMS 1.7.5.1.
Q
Is SEO available in prestashop 1.7.5.1 CMS?
A
yes.you can run the SEO In prestashop 1.7.5.1.
Q
How to upgrade my prestashop 1.7.5.1 version?
A
with one-clicl you can upgrade the prestashop 1.7.5.1 CMS
Q
Is it posiible to run Multiple stores on the same backoffice In prestashop 1.7.5.1 CMS?
A
Yes,it is posiible to run multiple stores on the same backoffice on prestashop cms 1.7.5.1