Install Prestashop on OpenSUSE leap

Install Prestashop on OpenSUSE leap

prestashop 1.7, 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 is simple to install PrestaShop application and in this tutorial, you learn about the method to install Prestashop on OpenSUSE Leap 42.3

Requirements, prestashop 1.7

LAMP Stack

-Apache

-Mariadb

-php7

zypper in php php-mysql php-gd php-mbstring php-common php-fileinfo

Installing Prestashop

If you want to download the latest stable version of Prestashop, make sure you use the wget command along with its download link as follows.

wget https://download.prestashop.com/download/releases/prestashop_1.7.2.4.zip

Once it is downloaded, you shall extract the package by running the following command.

unzip prestashop_1.7.2.4.zip -d /srv/www/htdocs/

Later, you need to go to your Apache document root. Run the following command for the same purpose.

cd /srv/www/htdocs/
/srv/www/htdocs # ls -l

Provide appropriate owner permission and file execution permission with the help of the following commands.

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

Now, you need to configure the Apache VirtualHost. For that, you need to open the .conf file with the help of the following command.

vim /etc/apache2/conf.d/presta.conf

Add the following lines to it.

<VirtualHost *:80>
DocumentRoot “/srv/www/htdocs”
ServerName www.linuxhelp1.com
<Directory “/srv/www/htdocs/”>
DirectoryIndex index.php
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>

Once the configuration is done, you shall enable your Apache rewrite mode as follows.

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”

Finally. restart your apache service with the help of the following command.

systemctl restart apache

Also, make sure you configure your firewall with the help of the following command.

vim /etc/sysconfig/SuSEfirewall2
FW_CONFIGURATIONS_EXT=”apache”

Let us now proceed with the installation process via GUI. So, switch to the browser and type http://yourdomain. The installation wizzard for the PrestaShop, prestashop 1.7 application appears on your screen. Choose the language and proceed with the installation process.

Install Prestashop on OpenSUSE leap

Click on the license agreement check box and click on the Next button.

Install Prestashop on OpenSUSE leap

The system compatability check takes place in the next page.

Install Prestashop on OpenSUSE leap

Enter all the information about your account.

Install Prestashop on OpenSUSE leap

And click the Next button.

Install Prestashop on OpenSUSE leap

Install Prestashop on OpenSUSE leap

The installation is taking place. Let us wait for some time.

Install Prestashop on OpenSUSE leap

The installation has been completed. A message to delete the install folder is displayed on the screen.

Install Prestashop on OpenSUSE leap

So, in order to remove the installation folder, you need to run the following command.

inuxhelp:/srv/www/htdocs # rm -rf install

With this, the installation of PrestaShop, prestashop 1.7 comes to an end.

magento developer
prestashop ecommerce
opencart development company
ecommerce wordpress
E-Commerce Website

Corundum
Logo
Register New Account
Reset Password
Compare items
  • Total (0)
Compare
0