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
zypper in php php-mysql php-gd php-mbstring php-common php-fileinfo
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.
Once it is downloaded, you shall extract the package by running the following command.
unzip prestashop_126.96.36.199.zip -d /srv/www/htdocs/
Later, you need to go to your Apache document root. Run the following command for the same purpose.
/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.
Add the following lines to it.
Require all granted
Once the configuration is done, you shall enable your Apache rewrite mode as follows.
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.
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.
Click on the license agreement check box and click on the Next button.
The system compatability check takes place in the next page.
Enter all the information about your account.
And click the Next button.
The installation is taking place. Let us wait for some time.
The installation has been completed. A message to delete the install folder is displayed on the screen.
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.