How to Install and Configure PrestaShop on Ubuntu

by March 28, 2016 0 comments

PrestaShop is a free, open source e-commerce solution. It supports payment gateways such as DirecPay, Google Checkout, Authorize.Net, Skrill, PayPal, PayPal Payments Pro (Direct) and EBANX Checkout via their respective APIs. Further payment modules are offered commercially. PrestaShop uses a web template system which allows users to customize store themes and add new features through add-on modules.

Let’s check how to install this popular eCommerce platform on Ubuntu through these few simple steps.

Here we used Ubuntu server with LAMP installed and should have a static IP address

Step 1: Download the zip file of PrestaShop and extract the file in the /var/www/html folder by using given commands:

cd /tmp


apt-get install unzip

unzip -d /var/www/html/

Step 2: Change the permissions for PrestaShop, as follows:

chown -R www-data:www-data /var/www/html/prestashop/

Step 3: We need to initialize a database for PrestaShop, create the database for the PrestaShop as follows:

Here we are adding database=pcquestdb user= pcquestdbuser and password= pcquestdbpassword:

mysql -u root -p


CREATE USER pcquestdbuser@localhost IDENTIFIED BY ‘ pcquestdbpassword’;

GRANT ALL PRIVILEGES on pcquestdb.* to prestashopuser@localhost



Step 4: Restart services

service apache2 restart

service mysql restart

Step 5: Open your browser and proceed with PrestaShop web-installation by using the link http: Replace the

IP address with your IP address then

select your language and press Next and in next page select check-box for accepting terms and conditions. Press Next.

Step 6: In this step, it will check whether the required software suits your system for PrestaShop. If something is missing, it will show you the error message with required software. Install the required package then Press Next and fill-in the credentials.

Step 7: Next, configure the database to be used by PrestaShop, give the values as per the database created in step 3 or whatever you have provided while installing. After giving the values press Test your database connection now. It will check the connectivity, after successful connection press Next.

Step 8: It will initiate the installation. The screenshot shows the successful PrestaShop installation.

Step 9: Next, we need to remove the installation folder to proceed further, as follows:

rm -r /var/www/html/prestashop/install/

Step 10: We can access the backend admin page of PrestaShop at URL Please check your admin name in PrestaShop folder at /var/www/html/prestashop/ directory as in my case it is “admin4755y8m0m”. Once you open admin page, put the credentials as selected at the time of installation.

Step 11: After login, it will show your default welcome screen or dashboard.

Step 12: Now, we are ready for the frontend. We can access it at   


No Comments so far

Jump into a conversation

No Comments Yet!

You can be the one to start a conversation.