How to Install Prestashop on OpenSUSE Leap 42.3

Written by Santosh Prasad

PrestaShop is an open source eCommerce solution. There are lots of tools comes with it which helps to build successful online shop. It is written in PHP programming language with support for the MySQL database management system.

In this article I will show you how to install PrestaShop on OpenSUSE leap 42.3.


  • LAMP Stack should be installed on the system.
  • PHP Modules : zypper in php php-mysql php-gd php-mbstring php-common php-fileinfo

PrestaShop Installation

First of all you have to download the latest stable version of PrestaShop using wget command.

# wget https://download.prestashop.com/download/releases/prestashop_1.7.2.4.zip
--2017-11-14 10:11:19-- https://download.prestashop.com/download/releases/prestashop_1.7.2.4.zip
Resolving download.prestashop.com (download.prestashop.com)...
Connecting to download.prestashop.com (download.prestashop.com)||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 59625556 (57M) [application/zip]
Saving to: ‘prestashop_1.7.2.4.zip’

100%[=========================================================================================================================================================================>] 59,625,556 718KB/s in 74s

2017-11-14 10:12:34 (786 KB/s) - ‘prestashop_1.7.2.4.zip’ saved [59625556/59625556]

After downloading now extract the package in your web root document directory using below command.

# unzip prestashop_1.7.2.4.zip -d /srv/www/htdocs/
Archive: prestashop_1.7.2.4.zip
inflating: /srv/www/htdocs/index.php
inflating: /srv/www/htdocs/Install_PrestaShop.html
inflating: /srv/www/htdocs/prestashop.zip

Go to your web root document directory and list it.

# cd /srv/www/htdocs/
# ls -l
total 63756
-rw-rw-rw- 1 root root 308 Apr 4 2017 Install_PrestaShop.html
drwxrwxr-x 2 wwwrun www 4096 Oct 9 23:15 gif
-rw-rw-rw- 1 root root 641728 Jan 24 2017 index.php
-rwxrwxr-x 1 wwwrun www 2356 Mar 18 2017 info2html.css

Set the appropriate owner and permission using below command.

# chown -R wwwrun:www /srv/www/htdocs/
# chmod -R 775 /srv/www/htdocs/

Next create a Apache virtual host file called ” presta.conf” and put the below content in it.

# vim /etc/apache2/conf.d/presta.conf
DocumentRoot "/srv/www/htdocs"
ServerName presta.looklinux.com
<Directory "/srv/www/htdocs/">
DirectoryIndex index.php
Options FollowSymLinks
AllowOverride All
Require all granted

Save and close file. Now enable Apache rewrite modules on your server.

# vim /etc/sysconfig/apache2
APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_core authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl socache_shmcb userdir reqtimeout authn_core php7 rewrite"

Restart your Apache service using below command.

# systemctl restart apache

Make sure you configure your firewall using below command.

# vim /etc/sysconfig/SuSEfirewall2

Now go to your web browser and type the below URL. In my case my url is:


Next installation screen will appear. Select Language and proceed with the installation process.


Accept licence agreement and click on Next button.


Next screen will appear for system compatibility check.


Put your all account information.


Click on Next button.



It will some time to complete installation process.


PrestaShop has been installed successfully on your system. A message to delete the install folder is displayed on the screen.


Type the below command to remove the installation folder.

# rm -rf install
Thank you! for visiting Look Linux.

If you find this tutorial helpful please share with your friends to keep it alive. For more helpful topic browse my website www.looklinux.com. To become an author at Look Linux Submit Article. Stay connected to Facebook.

About the author


Santosh Prasad

Hi! I'm Santosh and I'm here to post some cool article for you. If you have any query and suggestion please comment in comment section.

Leave a Comment