How to Create Own Online Shopping Store Using “OpenCart” in Linux

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

13 Responses

  1. olivedev says:

    Great tutorial, but why not save time and effort by using a managed hosting for hosting OpenCart? Using such hosting you can quickly and easily install OpenCart on server. There won’t be any need to worry about server management as well. Here is a tutorial that explains how easy it is:

  2. Slava says:

    Hi! Thank you very much for this tutorial!
    For me, opencart installation began only after I typed in browser /opencart-master/ after my ip-adress, that’s where all opencart files are located (/var/www/html/opencart-master)

  3. Antonis says:

    Thanks for this tutorial.

    There is an issue at step 11 if you are using MySQL as your database.
    There is an error message “Database opencartdb could not be found” (or something like that).
    Although you have successfully completed step 8, the problem resolves on the MySQL driver.
    So you have to install the php5-mysql module (debian/ubuntu users type: sudo apt-get install php5-mysql)
    This should solve the problem.

    • Ravi Saive says:


      Sorry for the trouble, actually we forgot to add that php5-mysql package must be installed in ordered to communicate with PHP/MySQL. Thanks for the tip, we’ve included in the article, hope it will help others who face similar problem..

  4. Victor1 says:

    Just a question, and how do you add payment methods? e.g. VISA, mastercard, paypal, etc.?

  5. Avishek Kumar says:

    Use Ctrl + Z to suspend the script.
    To kill use kill %%

    When you run kill %% may be you get all the characters on different lines, in the program output flow, but need not worry. Just input the above command and press return key.
    Keep Connected!

  6. Ashish says:

    Awesome one , thanks Avishek

  7. Abrar says:


    i follow your every steps

    when i type ip address in the url its redirecting to apache2 default page only i cannot access OpenCart ..configuration i have done correct and permission also i have given correct . the problem i am facing in apache2 default page is coming its not redirecting to opencart

    help me ..

    i am using ubuntu mate 15.04 – 64bit

    • Ashish Srivastava says:

      Hi Abrar ,

      Have you followed step 5 ,

      # cd opencart-master
      # mv -v upload/* ../opencart-master/

      as seems that it is not the data so you are getting apache testing page

      I have followed steps . this is working fine for me ..

      • Abrar says:

        yes i follow everystep that you shown even i try in fedora 22, ubuntu 15.04 but in vain as same result i am getting apache page..

        ok let me try again …thanks for replying

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?