<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>opencart installation on ubuntu 20.04 Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/opencart-installation-on-ubuntu-20-04/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 07 Dec 2020 08:51:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How To Install &#038; Configure OpenCart On Ubuntu 20.04</title>
		<link>https://www.osradar.com/how-to-install-configure-opencart-on-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/how-to-install-configure-opencart-on-ubuntu-20-04/#comments</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Tue, 01 Sep 2020 20:44:37 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[How To Install And Configure OpenCart E-Commerce Platform On Ubuntu 20.04]]></category>
		<category><![CDATA[how to tutorials]]></category>
		<category><![CDATA[opencart installation on ubuntu 20.04]]></category>
		<category><![CDATA[opencart linux]]></category>
		<category><![CDATA[opencart ubuntu 20.04]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=22798</guid>

					<description><![CDATA[<p>In this tutorial, you&#8217;ll learn that how to install and configure OpenCart E-commerce platform on Ubuntu 20.04. As the name indicates, opencart provides the e-commerce platform for online business and companies to operate their stores online. Opencart is very powerful, convinient and great management program used to manage multiple stores online. Here we&#8217;ll list some [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-configure-opencart-on-ubuntu-20-04/">How To Install &amp; Configure OpenCart On Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>In this tutorial, you&#8217;ll learn that <a href="https://www.osradar.com/?p=22798" target="_blank" rel="noreferrer noopener">how to install and configure OpenCart E-commerce</a> platform on Ubuntu 20.04. As the name indicates, opencart provides the e-commerce platform for online business and companies to operate their stores online. Opencart is very powerful, convinient and great management program used to manage multiple stores online. Here we&#8217;ll list some features of the OpenCart.</p>



<h2>Salient Features of OpenCart</h2>



<ul><li>Administrator Dashboard: All the important information available at a glimpse.</li><li>User Management: OpenCart allows you to set advanced user privileges and separate access for user groups and users.</li><li>Multi-Store: Manage multiple stores from one admin interface.</li><li>Options, attributes: No matter the case OpenCart offers a solution on adding extra important product variables.</li></ul>



<p>To install the OpenCart on Ubuntu, you need to fulfil the following requirements.</p>



<h3>Requirements</h3>



<ul><li>Web Server(Apache, Nginx)</li><li>PHP(5.4 or greater)</li><li>Database (MySQLi recommended)</li><li>Curl enabled</li></ul>



<p>Let&#8217;s move towards the installation process.</p>



<h3>Step 1: Update Your System</h3>



<p>As usual we do, update your system and upgrade your system to have the latest packages installed.</p>



<pre class="wp-block-verse">sudo apt update &amp;&amp; sudo apt upgrade</pre>



<p>Install curl and some additional packages by hitting below command in your terminal.</p>



<pre class="wp-block-verse">sudo apt install vim git unzip curl -y</pre>



<h3>Step 2: Install MariaDB Database</h3>



<p>To install MariaDB on your Ubuntu system, follow the below guide. As I&#8217;ve already installed so I&#8217;m going to proceed further. After the installation of MariaDB database, create the database as seen below:</p>



<p><a href="https://www.osradar.com/how-to-install-mariadb-on-ubuntu-20-04/" target="_blank" rel="noreferrer noopener">How To Install MariaDB on Ubuntu 20.04</a></p>



<pre class="wp-block-verse">sudo mysql -u root -p
Enter password:
MariaDB [(none)]&gt; CREATE DATABASE opencart;
MariaDB [(none)]&gt; CREATE USER 'opencart'@'localhost' IDENTIFIED BY 'Your_Password';
MariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON opencart . * TO 'opencart'@'localhost';
MariaDB [(none)]&gt; FLUSH PRIVILEGES;
MariaDB [(none)]&gt; exit;</pre>



<h3>Step 3: Install &amp; Configure Web Server &amp; PHP</h3>



<p>Visit the below link to install Nginx along with PHP-FPM on Ubuntu 20.04. After the installation finished, do the further changes given below.</p>



<p><a href="https://www.osradar.com/how-to-install-nginx-with-php-fpm-on-ubuntu-20-04/" target="_blank" rel="noreferrer noopener">How To Install Nginx With PHP-FPM on Ubuntu 20.04</a></p>



<p>After the installation finished, edit the <strong>/etc/php/7.4/fpm/php.ini </strong>and set up the memory limit to 512M and also setup your timezone.</p>



<p>Verify the PHP-FPM services.</p>



<pre class="wp-block-verse">sabir@Ubuntu20:~$ <strong>sudo systemctl status php7.4-fpm.service</strong>
● php7.4-fpm.service - The PHP 7.4 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php7.4-fpm.service; enabled; vendor p&gt;
Active: <strong>active (running)</strong> since Fri 2020-08-28 07:44:33 PKT; 25min ago
Docs: man:php-fpm7.4(8)
Process: 1178 ExecStartPost=/usr/lib/php/php-fpm-socket-helper install /ru&gt;
Main PID: 902 (php-fpm7.4)
Status: "Processes active: 0, idle: 2, Requests: 0, slow: 0, Traffic: 0re&gt;
Tasks: 3 (limit: 3449)
Memory: 19.0M
CGroup: /system.slice/php7.4-fpm.service
├─ 902 php-fpm: master process (/etc/php/7.4/fpm/php-fpm.conf)
├─1176 php-fpm: pool www
└─1177 php-fpm: pool www
اگست 28 07:44:16 Ubuntu20 systemd[1]: Starting The PHP 7.4 FastCGI Process Man&gt;
اگست 28 07:44:33 Ubuntu20 systemd[1]: Started The PHP 7.4 FastCGI Process Mana&gt;
lines 1-16/16 (END)</pre>



<h3>Step 4 Clone OpenCart&#8217;s files &amp; Configure Nginx</h3>



<p>Now, create the directory to store the files that will be served by the Web Server when requested. By default the location of files is root directory but you can select your desired one according to your needs.</p>



<pre class="wp-block-verse">sudo mkdir /var/www/html/commerce/ &amp;&amp; cd /var/www/html/commerce/
sudo git clone https://github.com/opencart/opencart.git</pre>



<p>When the git command finished, a new directory will be created at <strong>/var/www/html/commerce </strong>named opencart. The files will be cloned at this directory from github.</p>



<p>Once, it finished go to the upload &amp; upload/admin directory to rename them as shown below.</p>



<pre class="wp-block-verse">cd /var/www/html/commerce/opencart/upload/
sudo mv c<strong>onfig-dist.php</strong> <strong>config.php</strong>
cd /var/www/html/commerce/opencart/upload/admin
sudo mv config-dist.php config.php</pre>



<h3>Configure Nginx</h3>



<p>Do the following changes listed below to server Nginx with OpenCart. Navigate to the <strong>sites-enabled</strong> directory, back up the default file &amp; create new with the new config.</p>



<pre class="wp-block-verse">cd /etc/nginx/sites-enabled/<br>sudo mv default /tmp</pre>



<pre class="wp-block-verse">sudo nano /etc/nginx/sites-enabled/opencart.conf</pre>



<p>For users having FQDN, it is recommend to replace example.com with it. And add the following data into the file.</p>



<pre class="wp-block-verse">server {
listen 80 default_server;
listen [::]:80 default_server
server_name example.com;
root /var/www/html/commerce/opencart/upload;
index index.php index.htm index.html;
location / { try_files $uri $uri/ /index.php?$args;
 }
 location ~ .php$ {
 fastcgi_pass unix:/run/php/php7.4-fpm.sock;
 fastcgi_index index.php;
 fastcgi_read_timeout 240; 
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
 include fastcgi_params; 
fastcgi_split_path_info ^(.+.php)(/.+)$; 
}
}</pre>



<h3>Step 5: Change OpenCart&#8217;s Files Permissions</h3>



<p>Run the below commands to give OpenCart proper permissions.</p>



<pre class="wp-block-verse">sudo chown -R www-data:www-data /var/www/html/commerce/<br>sudo chmod -R 755 /var/www/html/commerce/<br>sudo systemctl restart nginx php7.4-fpm</pre>



<h3>Step 6: Setup OpenCart via Web Interface</h3>



<p>Open your favorite browser andtype the domain name or IP of the web server to access OpenCart Web interface. Then you&#8217;ll see the welcome page to accept the license agreement. Accept it to continue.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="893" height="372" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/08/11-1.png" alt="" class="wp-image-23192" srcset="https://www.osradar.com/wp-content/uploads/2020/08/11-1.png 893w, https://www.osradar.com/wp-content/uploads/2020/08/11-1-300x125.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/11-1-768x320.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/11-1-696x290.png 696w" sizes="(max-width: 893px) 100vw, 893px" /></figure>



<p>On the next page, you&#8217;ll see the information about the server configuration. If everything is okay click on the <strong>&#8220;Continue&#8221;</strong> button.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="750" height="490" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/08/12.png" alt="" class="wp-image-23193" srcset="https://www.osradar.com/wp-content/uploads/2020/08/12.png 750w, https://www.osradar.com/wp-content/uploads/2020/08/12-300x196.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/12-696x455.png 696w" sizes="(max-width: 750px) 100vw, 750px" /></figure>



<p>Then, provide the Database details as provided in the starting of the installation. Also provide the admin credentials for administrative privileges. Finally hit <strong>&#8220;Continue&#8221;</strong>.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="978" height="503" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/08/13.png" alt="" class="wp-image-23198" srcset="https://www.osradar.com/wp-content/uploads/2020/08/13.png 978w, https://www.osradar.com/wp-content/uploads/2020/08/13-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/13-768x395.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/13-696x358.png 696w" sizes="(max-width: 978px) 100vw, 978px" /></figure>



<p>As of successful installation, you&#8217;ll see the message to delete your installation directory to finish the installation. Simply delete the directory and press on &#8220;<strong>Login to your Administration&#8221; </strong>button.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="912" height="274" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/08/14.png" alt="" class="wp-image-23194" srcset="https://www.osradar.com/wp-content/uploads/2020/08/14.png 912w, https://www.osradar.com/wp-content/uploads/2020/08/14-300x90.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/14-768x231.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/14-696x209.png 696w" sizes="(max-width: 912px) 100vw, 912px" /></figure>



<h3>Step 7: Advanced steps to Operate OpenCart</h3>



<p>Now, login to the dashboard and you&#8217;ll see an alert to move the storage directory out of the public directory. Hit &#8220;<strong>Move</strong>&#8221; button to perform the action. Then you&#8217;ll see the dashboard as seen below:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="866" height="354" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/08/15.jpg" alt="" class="wp-image-23195" srcset="https://www.osradar.com/wp-content/uploads/2020/08/15.jpg 866w, https://www.osradar.com/wp-content/uploads/2020/08/15-300x123.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/08/15-768x314.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/08/15-696x285.jpg 696w" sizes="(max-width: 866px) 100vw, 866px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" width="738" height="356" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/08/16.png" alt="" class="wp-image-23196" srcset="https://www.osradar.com/wp-content/uploads/2020/08/16.png 738w, https://www.osradar.com/wp-content/uploads/2020/08/16-300x145.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/16-696x336.png 696w" sizes="(max-width: 738px) 100vw, 738px" /></figure>



<p>And then you can perform different steps, do different settings and manage your online store. For more detailed documentation, visit the official page of OpenCart.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="832" height="410" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/08/17.png" alt="" class="wp-image-23197" srcset="https://www.osradar.com/wp-content/uploads/2020/08/17.png 832w, https://www.osradar.com/wp-content/uploads/2020/08/17-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/17-768x378.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/17-696x343.png 696w" sizes="(max-width: 832px) 100vw, 832px" /></figure>



<p>So, this is how you can install and configure OpenCart on Ubuntu 20.04.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-configure-opencart-on-ubuntu-20-04/">How To Install &amp; Configure OpenCart On Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-configure-opencart-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
