How to install PrestaShop on Ubuntu 16.04
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.

Choose the required language and click next.

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

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

Enter the store details as required and click next.

Enter the required account details and click next.

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

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

The database is created and click next.

The installation of PrestaShop is in progress.

The installation is now complete.

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

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

The admin dashboard of PrestaShop appears on the screen.

Thus we conclude the installation of PrestaShop on Ubuntu 16.04.
Comments ( 0 )
No comments available