<?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>e commerce Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/e-commerce-2/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sun, 17 May 2020 21:46:21 +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 Prestashop on Ubuntu 20.04?</title>
		<link>https://www.osradar.com/install-prestashop-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/install-prestashop-ubuntu-20-04/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sun, 17 May 2020 23:32:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[e commerce]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[PrestaShop]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=20375</guid>

					<description><![CDATA[<p>If there&#8217;s one thing the Internet has revolutionized, it&#8217;s commerce. Now almost any store needs a website to offer its products and services, but it also needs to be able to function as an online store where you can purchase right there. This is why I taught you how to install Prestashop on Ubuntu 20.04. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-prestashop-ubuntu-20-04/">How to install Prestashop 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>If there&#8217;s one thing the Internet has revolutionized, it&#8217;s commerce. Now almost any store needs a website to offer its products and services, but it also needs to be able to function as an online store where you can purchase right there. This is why I taught you <strong>how to install Prestashop on Ubuntu 20.04</strong>. Because Prestashop allows you to deploy an online store in a very comfortable way.</p>



<h2>Prestashop ideal for the E-commerce</h2>



<p><a href="https://www.prestashop.com/" target="_blank" rel="noreferrer noopener">Prestashop</a> is an open-source web application, written in <a href="https://www.osradar.com/how-to-install-php-7-4-on-ubuntu-18-04-19-04-19-10/" target="_blank" rel="noreferrer noopener">PHP</a> that allows you to create and deploy a website for a business. To some extent, it is similar to WordPress but Prestashop adds unique features for a business.</p>



<p>Some of its features are:</p>



<ul><li>Allows you to create a catalog of products</li><li>With Prestashop, you can deploy a payment system</li><li>Customer Service System</li><li>You can manage shipments of products.</li></ul>



<p>So, let us start.</p>



<h2>Install Prestashop on Ubuntu 20.04</h2>



<p>Prestashop is managed from a web interface created in PHP. Therefore, a functional web server is required along with a real database manager such as MariaDB or MySQL.</p>



<p>In any case, Prestashop is quite flexible and can also be used in conjunction with Nginx or PostgreSQL.</p>



<p>So, to install LAMP on Ubuntu 20.04 read our post about it.</p>



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



<p>However, you also have to install some PHP modules for Prestashop to work properly.</p>



<pre class="wp-block-preformatted">php7.4 php7.4-gd php7.4-mbstring php7.4-mysql php7.4-curl php-xml php-cli php7.4-intl php7.4-zip</pre>



<p>Once these modules are installed correctly, you can continue.</p>



<h3>Creating a new database for Prestashop</h3>



<p>Prestashop requires a database created to store all the information generated by the application.</p>



<p>So, open the MariaDB shell:</p>



<pre class="wp-block-preformatted">:~$ sudo mysql -u root -p</pre>



<p>And then, it creates the database, the user along with the appropriate permissions.</p>



<pre class="wp-block-preformatted">&gt; CREATE DATABASE prestadb;
&gt; GRANT ALL PRIVILEGES ON prestadb.* TO 'prestauser'@'localhost' IDENTIFIED BY 'prestapss';
&gt; FLUSH PRIVILEGES;
&gt; exit;</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="965" height="404" src="https://www.osradar.com/wp-content/uploads/2020/05/1-11.png" alt="1.- Create a new database for Prestahop" class="wp-image-20377" srcset="https://www.osradar.com/wp-content/uploads/2020/05/1-11.png 965w, https://www.osradar.com/wp-content/uploads/2020/05/1-11-300x126.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/1-11-768x322.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/1-11-696x291.png 696w" sizes="(max-width: 965px) 100vw, 965px" /><figcaption>1.- Create a new database for Prestahop</figcaption></figure>



<p>So, you can continue.</p>



<h3>Download Prestashop on Ubuntu 20.04</h3>



<p>Prestashop requires a database created to store all the information generated by the application.</p>



<p>To download Prestashop it is necessary to install some necessary packages such as <a href="https://www.osradar.com/the-wget-command/" target="_blank" rel="noreferrer noopener">wget</a> and unzip.</p>



<pre class="wp-block-preformatted">:~$ sudo apt install wget unzip</pre>



<p>Now, you do proceed with the download:</p>



<pre class="wp-block-preformatted">~$ cd /tmp/<br>:~$ wget -c https://github.com/PrestaShop/PrestaShop/releases/download/1.7.6.5/prestashop_1.7.6.5.zip</pre>



<p><strong>At the time of writing, the latest version of Prestashop is 1.7.6.5</strong></p>



<p>When the download is finished, decompress the file with the unzip command in a new folder called Prestashop.</p>



<pre class="wp-block-preformatted">:~$ mkdir prestashop<br>:~$ unzip prestashop_1.7.6.5.zip -d prestashop/<br>:~$ prestashop cd &amp;&amp; unzip prestashop.zip</pre>



<p>Then, go back to the previous folder and move the entire <code>prestashop</code> folder into the Apache root directory.</p>



<pre class="wp-block-preformatted">:~$ cd ..<br>:~$ sudo mv prestashop /var/www/html/</pre>



<p>Then assign the folder the necessary permissions and make Apache the new owner of the folder.</p>



<pre class="wp-block-preformatted">:~$ sudo chown -R www-data:www-data /var/www/html/prestashop/<br>:~$ sudo chmod -R 755 /var/www/html/prestashop</pre>



<p>Now create a new Virtualhost for Prestashop.</p>



<pre class="wp-block-preformatted">:~$ sudo nano /etc/apache2/sites-available/prestashop.conf</pre>



<p>And add the following:</p>



<pre class="wp-block-preformatted">&lt;VirtualHost *:80&gt;
   ServerAdmin admin@your_domain.com
   DocumentRoot /var/www/html/prestashop
   ServerName your-domain.com

   &lt;Directory /var/www/html/prestashop&gt;
        Options FollowSymlinks
        AllowOverride All
        Require all granted 
   &lt;/Directory&gt;
ErrorLog ${APACHE_LOG_DIR}/your-domain.com_error.log
CustomLog ${APACHE_LOG_DIR}/your-domain.com_access.log combined
</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="939" height="299" src="https://www.osradar.com/wp-content/uploads/2020/05/2-14.png" alt="2.- Creating a new Virtualhost for Prestashop" class="wp-image-20378" srcset="https://www.osradar.com/wp-content/uploads/2020/05/2-14.png 939w, https://www.osradar.com/wp-content/uploads/2020/05/2-14-300x96.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/2-14-768x245.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/2-14-696x222.png 696w" sizes="(max-width: 939px) 100vw, 939px" /><figcaption>2.- Creating a new Virtualhost for Prestashop</figcaption></figure>



<p>Replace &#8220;shop.osradar.test&#8221; with yours. So, save the changes and close the file.</p>



<p>Now, enable the new Virtualhost and the rewrite modulo. To apply these changes, restart the Apache service.</p>



<pre class="wp-block-preformatted">:~$ sudo ln -s /etc/apache2/sites-available/prestashop.conf /etc/apache2/sites-enabled/prestashop.conf
:~$ sudo a2enmod rewrite
:~$ sudo systemctl restart apache2</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="140" src="https://www.osradar.com/wp-content/uploads/2020/05/3-12-1024x140.png" alt="3.- Configuring the new Virtualhost for Prestashop" class="wp-image-20379" srcset="https://www.osradar.com/wp-content/uploads/2020/05/3-12-1024x140.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/3-12-300x41.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/3-12-768x105.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/3-12-696x95.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/3-12.png 1031w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- Configuring the new Virtualhost for Prestashop</figcaption></figure>



<p>Now complete the installation.</p>



<h3>Install Prestashop on Ubuntu 20.04</h3>



<p>Now it is necessary to complete the installation of Prestashop from the web interface. So, open a web browser and go to http://your-domain and you will see the following:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/05/4-10-1024x506.png" alt="4.- Prestashop installation" class="wp-image-20381" srcset="https://www.osradar.com/wp-content/uploads/2020/05/4-10-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/4-10-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/4-10-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/4-10-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/4-10-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/05/4-10.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>4.- Prestashop installation</figcaption></figure>



<p>There you will have to select the language of the installation.</p>



<p>On this screen, you will be shown the terms of the license. If you accept, you can continue.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/05/5-6-1024x506.png" alt="5.- License terms" class="wp-image-20382" srcset="https://www.osradar.com/wp-content/uploads/2020/05/5-6-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/5-6-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/5-6-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/5-6-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/5-6-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/05/5-6.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>5.- License terms</figcaption></figure>



<p>Then, you will have to define the information about your store. Also, here you will create the new administrator account.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/05/6-4-1024x506.png" alt="6.- Store information on Prestashop" class="wp-image-20383" srcset="https://www.osradar.com/wp-content/uploads/2020/05/6-4-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/6-4-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/6-4-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/6-4-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/6-4-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/05/6-4.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>6.- Store information on Prestashop</figcaption></figure>



<p>Now, it&#8217;s the turn to define the database connection, for this you have to write the credentials previously created.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/05/7-4-1024x506.png" alt="7.- Configuring the database connection" class="wp-image-20384" srcset="https://www.osradar.com/wp-content/uploads/2020/05/7-4-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/7-4-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/7-4-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/7-4-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/7-4-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/05/7-4.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>7.- Configuring the database connection</figcaption></figure>



<p>Then you will start the installation. However, in order to access the login page, you must delete the installation folder.</p>



<pre class="wp-block-preformatted">:~$ cd /var/www/html/prestashop/
:~$ sudo rm -r install/</pre>



<p>Now you&#8217;ll see the Logbook screen.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/05/8-2-1024x506.png" alt="8.- Prestashop log in page" class="wp-image-20385" srcset="https://www.osradar.com/wp-content/uploads/2020/05/8-2-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/8-2-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/8-2-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/8-2-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/8-2-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/05/8-2.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>8.- Prestashop log in page</figcaption></figure>



<p>Log in with your credentials and you will see the administration panel.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/05/9-2-1024x506.png" alt="9.- Pestashop on Ubuntu 20.04" class="wp-image-20386" srcset="https://www.osradar.com/wp-content/uploads/2020/05/9-2-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/9-2-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/9-2-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/9-2-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/9-2-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/05/9-2.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>9.- Pestashop on Ubuntu 20.04</figcaption></figure>



<p>So, enjoy it.</p>



<h2>Conclusion</h2>



<p>Having an oonline dyke can relaunch your business. And for this, there is nothing better than Prestashop that will allow you to have everything you need to do it yourself.</p>



<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener">our Telegram channel</a>. If you like our work you can also buy us a coffee.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-prestashop-ubuntu-20-04/">How to install Prestashop 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/install-prestashop-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
