• 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 on Ubuntu 16.04

{{postValue.id}}

To install PrestaShop on Ubuntu 16.04

PrestaShop is an open-source e-commerce solution which allows you to maintain your own online shop. It is written in PHP programming language with support for the MySQL database management system.It also supports many different payment gateway systems like PayPal, Google Checkout etc. PrestaShop provides a theme by default and users can change the theme of the shop without altering its content. It also supports add-on modules that extend the software' s built-in functionalities. This tutorial explains the installation of PrestaShop on Ubuntu 16.04.

Pre- Requisite

LAMP environment (Apache, MySQL, PHP)

PHP dependency modules (apt-get install php5.6 php5.6-zip php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml php5.6-intl php5.6-intl php5.6-cli php5.6-gd php5.6-curl php5.6-sqlite3)

Installation procedure

To proceed with the installation procedure, download the PrestaShop package by running the wget command followed by the download link.

root@linuxhelp:~# wget https://download.prestashop.com/download/releases/prestashop_1.7.2.3.zip
--2017-10-14 04:54:30--  https://download.prestashop.com/download/releases/prestashop_1.7.2.3.zip
Resolving download.prestashop.com (download.prestashop.com)... 122.252.139.224
Connecting to download.prestashop.com (download.prestashop.com)|122.252.139.224|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 59627149 (57M) [application/zip]
Saving to: ‘ prestashop_1.7.2.3.zip’ 
prestashop_1.7.2.3. 100%[===================> ]  56.86M   864KB/s    in 63s     

2017-10-14 04:55:34 (926 KB/s) - ‘ prestashop_1.7.2.3.zip’  saved [59627149/59627149]

Extract the downloaded package by executing the unzip command.

root@linuxhelp:~# unzip prestashop_1.7.2.3.zip -d /var/www/html/prestashop
Archive:  prestashop_1.7.2.3.zip
  inflating: /var/www/html/prestashop/index.php  
  inflating: /var/www/html/prestashop/Install_PrestaShop.html  
  inflating: /var/www/html/prestashop/prestashop.zip  

Change the ownership & permission of file in HTML location.

root@linuxhelp:~#  chown www-data:www-data -R /var/www/html/
root@linuxhelp:~#  chmod -R 775 /var/www/html/

Create a virtual host configuration file for PrestaShop named prestashop.conf and enter the following changes in the file. Save and exit the file.

root@linuxhelp:~# nano /etc/apache2/sites-available/prestashop.conf

< VirtualHost *:80> 
ServerAdmin admin@presta.com
DocumentRoot /var/www/html/prestashop/
ServerName presta.com
< Directory /var/www/html/prestashop/> 
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
< /Directory> 
ErrorLog /var/log/apache2/presta.com-error_log
CustomLog /var/log/apache2/presta.com-access_log common
< /VirtualHost> 

Create an entry in hosts file using nano editor and enter the content in the file. Save and exit the file.

root@linuxhelp:~# nano /etc/hosts
machine ip   presta.com

Restart the Apache service.

root@linuxhelp:~# systemctl restart apache2.service

Switch over to the browser and enter the URL as presta.com. The installation procedure of PrestaShop opens on the screen.
installation wizard

Choose the required language and click next.
language

The License Agreement appears on the screen. Mark the I agree option and click next.
license agreement

Next the installation wizard checks the system compatibility and has been verified and click next.
system compatibility

Enter the store details as required and click next.
store details

Enter the required account details and click next.
account details

Enter the required database details and click test database connection option.
database details

The installation wizard prompts the user for the permission to create database, click attempt to create database option.
create database

The database is created and click next.
system checks

The installation of PrestaShop is in progress.
installation progress

The installation is now complete.
installation complete

To open admin panel, click the Manage your store option to navigate to Back office of your site.
admin panel

The login page appears on the screen. Enter the admin credentials and login.
admin credentials

The admin dashboard of PrestaShop appears on the screen.
admin dashboard

Thus we conclude the installation of PrestaShop on Ubuntu 16.04.

Tags:
eli
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

May I know How to enable the site access for Prestashop?

A

You can enable the Site access for Prestashop by using the Following "command #a2ensite file.conf".

Q

How to enable rewrite modules for PrestaShop?

A

To rewrite modules for Prestashop you can enter the following command

#a2enmode rewrite to enable the rewrite modules

Q

What are the modules to be enabled on PHP for Centos?

A

For Prestashop use the following,

php5.6 php5.6-zip php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml php5.6-intl php5.6-intl php5.6-cli php5.6-gd php5.6-curl php5.6-sqlite3

Q

What is PrestaShop?

A

PrestaShop is an open-source e-commerce solution which allows you to maintain your own online shop. It is written in PHP programming language with support for the MySQL database management system.It also supports many different payment gateway systems like PayPal, Google Checkout etc. PrestaShop provides a theme by default and users can change the theme of the shop without altering its content.

Q

How to download the Prestashop archive format?

A

You can download with wget command example "https://download.prestashop.com/download/releases/prestashop_1.7.2.3.zip"

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 Luk Van De Looverbosch ?
How to create a root ?

Hello,
How to create root@linuxhelp in Linux Mint 20.1 64-bit ?
Thanks in advance for your reply.
Best regards.

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.