How to install  opencart 3.0.2 cms on linuxmint 18.03

To install opencart 3.0.2 cms on linuxmint 18.03

OpenCart is a popular and widely used open source eCommerce content management system (CMS) based on PHP and uses MySQL databases. It has everything you need to create and manage an online store.

Pre-requirements


Install LAMP (Apache, php5.6, mariadb-server)
In MariaDB (create database, user and give privileges to the user)

Installation

FOR PHP INSTALLATION

 apt-get install python-software-properties
 add-apt-repository ppa:ondrej/php
 apt-get update
 apt-get install -y php5.6  php5.6-mysql php5.6-curl php5.6-xml  php5.6-mcrypt php5.6-gd php5.6-zip php5.6-mbstring

download the opencart cms package using wget command

linuxhelp ~ # wget https://github.com/opencart/opencart/releases/download/3.0.2.0/3.0.2.0-OpenCart.zip
--2018-04-18 14:48:46--  https://github.com/opencart/opencart/releases/download/3.0.2.0/3.0.2.0-OpenCart.zip
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" & HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_requestHYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" & HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" X-Amz-Date=20180418T091851ZHYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" & HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" X-Amz-Expires=300HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" & HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" & HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" X-Amz-SignedHeaders=hostHYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" & HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" actor_id=0HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" & HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zipHYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" & HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" response-content-type=application%2Foctet-stream [following]
--2018-04-18 14:48:48--  https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" & HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_requestHYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" & HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" X-Amz-Date=20180418T091851ZHYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" & HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" X-Amz-Expires=300HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" & HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" & HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" X-Amz-SignedHeaders=hostHYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" & HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" actor_id=0HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" & HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zipHYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" & HYPERLINK " https://github-production-release-asset-2e65be.s3.amazonaws.com/2141186/35472250-6b2b-11e7-9682-7433c2747bde?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180418%2Fus-east-1%2Fs3%2Faws4_request& X-Amz-Date=20180418T091851Z& X-Amz-Expires=300& X-Amz-Signature=6e4d86eebbfc4549af56a3dc1ef5ba86d94ba97b157c6c8016d5446c19bea096& X-Amz-SignedHeaders=host& actor_id=0& response-content-disposition=attachment%3B%20filename%3D3.0.2.0-OpenCart.zip& response-content-type=application%2Foctet-stream" response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 54.231.113.203
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|54.231.113.203|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16544198 (16M) [application/octet-stream]
Saving to: ‘ 3.0.2.0-OpenCart.zip’ 

3.0.2.0-OpenCart.zip   100%[===========================> ]  15.78M  1.05MB/s    in 30s     

2018-04-18 14:49:19 (533 KB/s) - ‘ 3.0.2.0-OpenCart.zip’  saved [16544198/16544198]

After downloading extract this file

linuxhelp ~ # unzip 3.0.2.0-OpenCart.zip -d opencart
Archive:  3.0.2.0-OpenCart.zip
  inflating: opencart/build.xml      
  inflating: opencart/CHANGELOG.md   
  inflating: opencart/CHANGELOG_AUTO.md  
  inflating: opencart/composer.json  
  inflating: opencart/composer.lock  
  inflating: opencart/install.txt    
  inflating: opencart/license.txt    
  inflating: opencart/README.md      
.
.
.
  inflating: opencart/upload/system/storage/vendor/zoujingli/wechat-php-sdk/Wechat/WechatPoi.php  
  inflating: opencart/upload/system/storage/vendor/zoujingli/wechat-php-sdk/Wechat/WechatReceive.php  
  inflating: opencart/upload/system/storage/vendor/zoujingli/wechat-php-sdk/Wechat/WechatScript.php  
  inflating: opencart/upload/system/storage/vendor/zoujingli/wechat-php-sdk/Wechat/WechatService.php  
  inflating: opencart/upload/system/storage/vendor/zoujingli/wechat-php-sdk/Wechat/WechatUser.php  
here we have to move the file into the /var/www/html directory:
linuxhelp ~ # ls
3.0.2.0-OpenCart.zip  opencart
linuxhelp ~ # mv opencart/ /var/www/html/

Go to the Download directory

linuxhelp ~ # cd /var/www/html/
linuxhelp html # ls
index.html  opencart

change ownership and permission for the file

linuxhelp html # chown -R www-data:www-data opencart/   chmod -R 775 opencart/

Go to open cart directory then, upload directory

linuxhelp html # cd opencart/
linuxhelp opencart # ls
build.xml          CHANGELOG.md   composer.lock  license.txt  tests        upload
CHANGELOG_AUTO.md  composer.json  install.txt    README.md    upgrade.txt
linuxhelp opencart # cd upload/
linuxhelp upload # ls
admin  catalog  config-dist.php  image  index.php  install  php.ini  system

Rename the config-dist.php file

linuxhelp upload # mv config-dist.php config.php 

Go to admin directory to create one empty directory named config.php

linuxhelp upload # cd admin/
linuxhelp admin # ls
config-dist.php  controller  index.php  language  model  view
linuxhelp admin # touch config.php

Provide permission and ownership for the config.php file

linuxhelp admin # chown -R www-data:www-data config.php 
linuxhelp admin # chmod -R 775 config.php

Configure a virtual host for opencart.conf Create empty file an named impress.conf

linuxhelp html # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim opencart.conf
[..]
< VirtualHost *:80> 
ServerName www.linuxhelp1.com
DocumentRoot /var/www/html/opencart/
< Directory /var/www/html/> 
AllowOverride All
allow from all
< /Directory> 
< /VirtualHost> 
[..]

Enable the impress.conf file

linuxhelp sites-available # a2ensite opencart.conf 
Enabling site opencart.
To activate the new configuration, you need to run
service apache2 reload

Make an entry to the hosts file

linuxhelp sites-available # vim /etc/hosts
< give your ip address>    < give your domain name> 

Restart your Apache web server

linuxhelp sites-available # systemctl restart apache2.service

After restarting apache server open the browser and navigate to the following URL: http://domainname or ip address


Accept the license and continue


verify the pre-installation requirement



Configure the database connection setup and admin account setup




After the installation, you will see the following screen

login to the admin dashboard using the following option


use the admin credentials to log in


After the successful installation, you will see the admin dashboard of opencart CMS

with this, the method to install opencart 3.0.2 cms on linuxmint 18.03 comes to an end.

FAQ
Q
What is Opencart?
A
Opencart is a free and open source e-commerce platform for online shopping application and it provides a professional and reliable foundation from which we can build a successful online store. This foundation to use, to shop a variety of users and ranging from seasoned web developers looking for a user-friendly interface for using the shop owners will just launch their online business.
Q
how to create Custom error and access log for Opencart in apache?
A
To create custom error and access log, set the following in Apache virtaul host configuration of Opencart
Errorlog /var /log /opencart_domain/error_log
Customlog /var /log /opencart_domain /access_log
Q
How to provide host file entry for Opencart?
A
To provide host file entry for Opencart do follow this,
# /etc/hosts
Q
Is there any alternative to opencart?
A
The alternatives of Opencart are,
PrestaShop
WooCommerce
Shopify
Q
How to install Opencart on Centos/RHEL?
A
To install Opencart just follow this link,
https://www.linuxhelp.com/how-to-install-opencart-3-0-2-on-centos-7/