OpenCart is a popular open source shopping cart solution and provides elegantly written tools to establish a fully functional online store from scratch in a very short me with intuitive screens.It is a free open source ecommerce platform for online merchants.
We need to install LAMP . (See the LAMP installation)
Download the file from their website
http://www.opencart.com/index.php?route=download/download ( here I used winscp to upload the file from windows to virtualbox)
or
sudo wget https://github.com/opencart/opencart/archive/2.0.1.1.zip
mv opencart.* /var/www/opencart
chown -R www-data:www-data /var/www/opencart/
chmod 777 /var/www/opencart/
mysql -u root -p (Enter your mysql password)
CREATE DATABASE opencart;
CREATE USER opencart IDENTIFIED BY 'opencartadmin';
GRANT ALL ON opencart.* TO opencartadmin;
exit
Go to the browser and click upload the installation starts .
You must get the following errors!!
We need to install below methods to overcome this errors.
Install php Curl:
sudo apt-get install php5-curl php5-gd
To be writable we need rename to below names :
root@ubuntu:/var/www/opencart/upload# mv config-dist.php config.php
root@ubuntu:/var/www/opencart/upload/admin# mv config-dist.php config.php
Warning: mCrypt extension needs to be loaded for OpenCart to work! #php -m (view mcrypt module is installed) #sudo apt-get install php5-mcrypt #sudo php5enmod mcrypt #sudo service apache2 restart
Now see everything fine
![]()
Enter your db info
Installation completed...
Its your admin access page
Admin dashboard
Default opencart home page
Note: We need to remove the install directory from
root@ubuntu:/var/www/opencart/upload#rm -rf install/
Its ready the site.....