• 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 1.7.4 on MX Linux 17

{{postValue.id}}

How to install Prestashop 1.7.4 on MX Linux 17

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. In this tutorial, we will cover the installation of Prestashop on MX Linux 17.

Prerequisites

Install LAMP(Apache, MariaDB, php7) In MariaDB (create database and user and give privileges to that user )

Php installation with required following modules

add-apt-repository ppa:ondrej/php 
apt-get update 
apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc php7.0-gd php7.0-mbstring php7.0  php7.0-common  php7.0-xmlrpc php7.0-soap  php7.0-xml php7.0-intl  php7.0-cli  php7.0-ldap php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl

Download a Prestashop package using the following URL https://www.prestashop.com/en/download

Navigate to the Download directory

root@linuxhelp:~# cd Downloads/

Extract the downloaded package

root@linuxhelp:~/Downloads# unzip prestashop_1.7.4.2.zip
  Archive:  prestashop_1.7.4.2.zip
  inflating: prestashop.zip          
  inflating: index.php               
  inflating: Install_PrestaShop.html

Extract the Official document as follows

root@linuxhelp:~/Downloads# unzip prestashop.zip -d prestashop
Archive:  prestashop.zip
   creating: prestashop/classes/
  inflating: prestashop/classes/Zone.php  
   creating: prestashop/classes/exception/
  inflating: prestashop/classes/exception/PrestaShopPaymentException.php  
  inflating: prestashop/classes/exception/PrestaShopDatabaseException.php  
  inflating: prestashop/classes/exception/PrestaShopException.php  
  inflating: prestashop/classes/exception/PrestaShopObjectNotFoundException.php  
  inflating: prestashop/classes/exception/index.php
.
.
   creating: prestashop/app/Resources/views/
  inflating: prestashop/app/Resources/views/base.html.twig  
   creating: prestashop/app/Resources/views/default/
  inflating: prestashop/app/Resources/views/default/index.html.twig  
  inflating: prestashop/app/Resources/all_languages.json  
  inflating: prestashop/app/Resources/legacy-to-standard-locales.json  
   creating: prestashop/app/Resources/geoip/
  inflating: prestashop/app/Resources/geoip/index.php  
  inflating: prestashop/app/.htaccess  
  inflating: prestashop/app/AppKernel.php  

Move the extracted file into the HTML directory

root@linuxhelp:~/Downloads# mv prestashop /var/www/

Navigate to the apache document root directory

root@linuxhelp:~/Downloads# cd /var/www/

Change ownership and permission of the as Prestashop follows

root@linuxhelp:/var/www# chown -R www-data.www-data prestashop
root@linuxhelp:/var/www# chmod -R 775 prestashop

Create a new virtual host configuration for accessing the Prestashop

root@linuxhelp:/var/www# vim /etc/apache2/sites-available/prestashop.conf
<VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/prestashop/

<Directory /var/www/prestashop/>
AllowOverride All
Allow from all
</Directory>

</VirtualHost>

Enable site access

root@linuxhelp:/var/www# a2ensite prestashop.conf
Enabling site prestashop.
To activate the new configuration, you need to run:
  service apache2 reload

Disable default access

root@linuxhelp:/var/www# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
  service apache2 reload

Enable rewrite module

root@linuxhelp:/var/www# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  service apache2 restart

Restart the apache service to make the changes effect

root@linuxhelp:/var/www# service apache2 restart
[ ok ] Restarting Apache httpd web server: apache2.

Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://<ipaddress or domain name browser url

Choose the language for using Prestashop as shown below Choose language

Accept the license agreement ![License acceptance}(https://assets.linuxhelp.com/scr/370c765a6329a26d1231a63d7d8dbb7c.png)

Verify the compatibility for installing Prestashop as shown below Verify compitibility checking

Configure the Site information and Admin user setup as follow Admin setup

Configure the Database setup Database setup

You will see the installation of Prestashop Prestashop installation

After the installation, you will see the following page as shown below Aftre installation

Access the login page from the options shown below Access login page

You can log in using the admin user credentials Admin login

After the Successful login, you will see the Admin dashboard of Prestashop as shown below Admin dashboard

You will see the version of Prestashop Prestashop version

You will see the Homepage of Prestashop as shown below Home page

With this, the method to install Prestashop on MX Linux 17 comes to an end.

Tags:
gabriel
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

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 from MySQL for 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

What types of businesses use PrestaShop?

A

From goods and services to downloadable products, reservations and marketplaces, PrestaShop is designed to fit all types of businesses.
You can view their business constraints at https://www.prestashop.com/en/showcase.

Q

How much does PrestaShop cost?

A

PrestaShop is 100% free with no monthly fees and commission fees for your sales.

Q

Do I have to buy modules and themes to run an online store?

A

Nope! PrestaShop includes 600 free features and a customizable, mobile responsive default template. From payment solutions to marketing features, PrestaShop comes with everything you need to start a professional online store.

Q

Why is PrestaShop free?

A

Prestashop believes that everyone should have the ability to start to sell online https://www.prestashop.com/en/sell-online for free. By forming partnerships with industry leaders (such as Google, PayPal, eBay, etc.), they are able to share their powerful ecommerce software with the world, for free. These strategic partnerships empower users with rich features and financially support the progress and growth of PrestaShop.

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 Gibbson ?
How do i run both nginx and apache in same instance on centos

Hi...,

my server is based centos operating system and my webserver is already running on Apache.... i need to run both apache and nginx on same instance ... please help me to implement this concept...

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.