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 192.168.5.119.

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

cd /tmp

wget http://www.prestashop.com/download/old/prestashop_1.6.0.9.zip

apt-get install unzip

unzip prestashop_1.6.0.9.zip -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 DATABASE pcquestdb;

CREATE USER pcquestdbuser@localhost IDENTIFIED BY ‘ pcquestdbpassword’;

GRANT ALL PRIVILEGES on pcquestdb.* to prestashopuser@localhost

FLUSH PRIVILEGES;

exit

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:192.168.5.119/prestashop/install. Replace the

IP address 192.168.5.119 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 http://192.168.5.119/prestashop/admin4755y8m0m/index.php. 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 http://192.168.5.119/prestashop/index.php.   

presata

No Comments so far

Jump into a conversation

No Comments Yet!

You can be the one to start a conversation.

<