How to Install OpenCart in Redhat Linux 7, CentOS Server 7 & Fedora 22, 21 - 64/32-Bit - Cloud Network

Networking | Support | Tricks | Troubleshoot | Tips

Buymecoffe

Buy Me A Coffee

Saturday, June 20, 2015

How to Install OpenCart in Redhat Linux 7, CentOS Server 7 & Fedora 22, 21 - 64/32-Bit


Hello Everyone,

In this tutorial,

Let Us Install Own Online Shopping Store Using “OpenCart” in CentOS  Desktop

You Can also Install in Redhat Linux, Fedora Server

OpenCart Web Panel Demo

Store Front – http://demo.opencart.com/
Admin Login – http://demo.opencart.com/admin/

Admin Login
Username: demo
Password:  demo

Installing Apache, PHP and MariaDB

Install Apache
Step1 :- yum install httpd

Install PHP and Extensions
Step2 :- yum install php php-mysql php5-curl php5-mcrypt php-pecl-zip php-gd

Install MariaDB
Step3 :- yum install mariadb-server mariadb

Start Apache and MariaDB services
Step4 :- systemctl restart httpd.service
Step5 :- systemctl restart mariadb.service

Downloading and Setting OpenCart
Website :- http://www.opencart.com/index.php?route=download/download/

Alternatively, Step6 :- wget  https://github.com/opencart/opencart/archive/master.zip

Step7 :- cp master.zip   /var/www/html/
Step8 :- cd /var/www/html
Step8 :- apt-get install unzip
Step9 :- unzip master.zip
Step10 :- cd opencart-master
Step11 :- mv -v upload/* ../opencart-master/
Step12 :- cp  /var/www/html/opencart-master/admin/config-dist.php  /var/www/html/opencart-master/admin/config.php
Step13 :- cp  /var/www/html/opencart-master/config-dist.php  /var/www/html/opencart-master/config.php
Step14 :- chmod 777 -R /var/www/html/opencart-master

Creating OpenCart Database

Step15 :- mysql -u root -p
CREATE DATABASE opencartdb;
CREATE USER 'opencartuser'@'localhost' IDENTIFIED BY 'mypassword';
GRANT ALL PRIVILEGES ON opencartdb.*  TO  'opencartuser'@'localhost‘;
FLUSH PRIVILEGES;


OpenCart Web Installation

http://<web server IP address>

To Remove install directory, you may like to run the below command.
Step16 :- rm -rf  /var/www/html/opencart-master/install


Access OpenCart Web and Admin
Step17 :- http://<web server IP address>/opencart-master/


In order to login to Opencart Admin Panel, point your browser to
Step18 :- http://<web server IP address>/opencart-master/admin


Error:-
Warning: mCrypt extension needs to be loaded for OpenCart to work!”

yum install php-mcrypt
yum update
systemctl restart httpd.service

NOTE :- For Any Clarification Please Comment Below

Comment,
Like and
Share us and help us to spread.


####--------------------------­------------------------------­------------------------------­####
Subscribe :- http://www.youtube.com/user...
Website :- http://www.cloudnetwork.in
Facebook :- http://facebook.com/itCloud...
Twitter :- http://twitter.com/itcloudnet
Pinterset :- http://pinterset.com/itclou...
LinkedIn :- http://in.linkedin.com/pub/...
Google+ :- https://plus.google.com/u/0...
Skype Id :- cloud.network1
E-Mail Id :- itcloudnet@gmail.com
####--------------------------­------------------------------­------------------------------­--####

Thanking You
Hope U Like it........