• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Prestashop online store in Linux

{{postValue.id}}

To install Prestashop online store in Linux

Prestashop is an open source e-Commerce shopping cart used by almost 1,30,000+ online stores. Installation of Prestashop is explained in this article.

Features

  • Several country currency options.
  • E-mail subscription
  • Unlimited payment options.
  • Create their own accounts.
  • Supports SSL Encryption.
  • SMS/Text-message option.
  • Full featured WYSIWYG editor.
  • products will be displayed in the homepage.
  • Built-in zoom option.
  • More categories and sub categories.

To install Prestashop

Create database for prestashop


\[root@linuxhelp1 ~\]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with   or g.
Your MariaDB connection id is 10
Server version: 5.5.47-MariaDB MariaDB Server

Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.
MariaDB \[(none)\]>  create database prestadb 
Query OK, 1 row affected (0.00 sec)
MariaDB \[(none)\]>  use prestadb 
Database changed
MariaDB \[prestadb\]>  grant all on prestadb.\* to prestauser@192.168.5.112 identified by ' linuxc' 
Query OK, 0 rows affected (0.00 sec)
MariaDB \[(none)\]>  grant all on prestadb.\* to prestauser@localhost identified by ' linuxc' 
Query OK, 0 rows affected (0.00 sec)
MariaDB \[(none)\]>  flush privileges 
Query OK, 0 rows affected (0.00 sec)
MariaDB \[(none)\]>  exit
Bye

Open the apache default port &rsquo 80&rsquo .


\[root@linuxhelp1 ~\]# firewall-cmd --permanent --add-port=80/tcp
success
\[root@linuxhelp1 ~\]# firewall-cmd --permanent --add-port=80/udp
success
\[root@linuxhelp1 ~\]# firewall-cmd --reload
Success

Disable SELinux as shown below.


\[root@linuxhelp1 ~\]# vim /etc/sysconfig/selinux

# This file controls the state of SELinux on the system.

SELINUX= can take one of these three values:

enforcing - SELinux security policy is enforced.

permissive - SELinux prints warnings instead of enforcing.

disabled - No SELinux policy is loaded.

SELINUX=disabled

SELINUXTYPE= can take one of these two values:

targeted - Targeted processes are protected,

minimum - Modification of targeted policy. Only selected processes are protected.

mls - Multi Level Security protection.

SELINUXTYPE=targeted


Download the prestashop software from the following link,  
[http://www.prestashop.com/en/download](http://www.prestashop.com/en/download)  
![ Installation-Prestashop-online-store-Linux-E-Commerce-shopping-cart-Download-prestashop](https://assets.linuxhelp.com/scr/6d1a9e3b36890615040ebe4bdeeb9ec4.png)  
![ Installation-Prestashop-online-store-Linux-E-Commerce-shopping-cart-Downloading-prestashop-complete](https://assets.linuxhelp.com/scr/5cced805e68a491d38138d0b75a12c59.png)

Goto your download location and unzip the extarcted packages.

[root@linuxhelp1 ~]# cd Downloads/ [root@linuxhelp1 Downloads]# ls prestashop_1.6.1.6.zip Extract the downloaded zip file and move them to your apache root document folder [root@linuxhelp1 Downloads]# unzip prestashop_1.6.1.6.zip Archive: prestashop_1.6.1.6.zip . . . inflating: prestashop/CONTRIBUTING.md
inflating: prestashop/footer.php
inflating: prestashop/error500.html
inflating: Install_PrestaShop.html


\[root@linuxhelp1 Downloads\]# mv prestashop/ /var/www/html/

```

Setup permissions for prestashop.

```

\[root@linuxhelp1 Downloads\]# cd /var/www/html/prestashop/
\[root@linuxhelp1 prestashop\]# chmod 755 \*.\*
\[root@linuxhelp1 prestashop\]# chown -R apache:apache /var/www/html/prestashop/
\[root@linuxhelp1 prestashop\]# mv \* /var/www/html/

```

Open your web browser and navigate to [http://< ip\_address> /install/](http://< ip_address> /install/) Select your preferred language and Click Next. ![ Installation-Prestashop-online-store-Linux-E-Commerce-shopping-cart-Open-browser-language](https://assets.linuxhelp.com/scr/beb93fff27b5c7061da2bf46969d6a8c.png) Accept the License agreement and click Next. ![ Installation-Prestashop-online-store-Linux-E-Commerce-shopping-cart-License ](https://assets.linuxhelp.com/scr/d706b4ebbe161e7e13ce452da677f921.png) Enter your Shop name, Shop category, Country, Logo of your shop, User account details and Administrative user mail id etc and click Next. ![ Installation-Prestashop-online-store-Linux-E-Commerce-shopping-cart-account ](https://assets.linuxhelp.com/scr/1e342b94433b5df7aa84ed2d4757ec9b.png) Enter the MySQL database name, database user and database password. ![ Installation-Prestashop-online-store-Linux-E-Commerce-shopping-cart-MySQL-database-name-user-password](https://assets.linuxhelp.com/scr/5e5cb3b1f3ca59b6cd11cc91283f2d98.png) ![ Installation-Prestashop-online-store-Linux-E-Commerce-shopping-cart-shop-password](https://assets.linuxhelp.com/scr/b8880040353affeec3262809ef64e8ee.png) Now the Prestashop installation starts. ![ Installation-Prestashop-online-store-Linux-E-Commerce-shopping-cart-installation-assistant](https://assets.linuxhelp.com/scr/60ae4f340ad1cc846ccd3a9d79370028.png) ![ Installation-Prestashop-online-store-Linux-E-Commerce-shopping-cart-installation-complete](https://assets.linuxhelp.com/scr/6531c8d6ab9c91b36962f66db4b0ce42.png) Go to web browser and navigate to [http://< IP\_address> /index.php](http://< IP_address> /index.php) ![ Installation-Prestashop-online-store-Linux-E-Commerce-shopping-cart-web-browser ](https://assets.linuxhelp.com/scr/f6a2b7e2e333c692ef49e7344b9f8860.png) Enter the user credentials. ![ Installation-Prestashop-online-store-Linux-E-Commerce-shopping-cart-user-credentials](https://assets.linuxhelp.com/scr/0e57926bdcb9815639a1efada92e8037.png) Now you can start shopping. ![ Installation-Prestashop-online-store-Linux-E-Commerce-shopping-cart-start-shopping](https://assets.linuxhelp.com/scr/5119644fcf8004ee3998e347e9c23adb.png)

Tags:
julian
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

why I'm getting blank pages when login via interface?

A

Whether your index.php may not be added in directory index (Check them in apache confiuration file)

Q

What are all the safety precautions to be taken while installing prestashop?

A

After installation remove install folder, and also provide accessible permission 755 for the document root

Q

Database connection error please help?

A

Make sure the created database user has all the privileges over the database created

Q

404 error while accessing my localhost in browser.what can I do ?

A

Check with your document root location of apache has prestashop folder included and also in executable form

Q

How to entry to the host file?

A

# vim /etc/hosts

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Ganesh Konka ?
Zentya 6.1 http proxy configuration

please send link for creating zentyal 6.1 for http proxy and firewall as gateway.

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.