<?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>cezerin Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/cezerin/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 22 Aug 2019 21:13:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.13</generator>
	<item>
		<title>How to install Cezerin platform on Ubuntu 18.04?</title>
		<link>https://www.osradar.com/install-cezerin-platform-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/install-cezerin-platform-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sun, 25 Aug 2019 23:11:25 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[bionic]]></category>
		<category><![CDATA[cezerin]]></category>
		<category><![CDATA[e-commerce]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mongodb]]></category>
		<category><![CDATA[NodeJS]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13163</guid>

					<description><![CDATA[<p>Today much of the trade remains traditional, but every time the trend is turned to the Internet. In this sense, companies large and small, need applications and tools to help promote their products. In addition, create all the infrastructure to conduct E-commerce. So, Linux is outlined as the ideal system to be the system behind [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-cezerin-platform-ubuntu-18-04/">How to install Cezerin platform on Ubuntu 18.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>Today much of the trade remains traditional, but every time the trend is turned to the Internet. In this sense, companies large and small, need applications and tools to help promote their products. In addition, create all the infrastructure to conduct E-commerce. So, Linux is outlined as the ideal system to be the system behind the entire infrastructure. Today, I will show you how to install Cezerin on Ubuntu 18.04. With Cezerin you can deploy an e-commerce platform quickly and easily.</p>
<h2>What is Cezerin?</h2>
<p><a href="https://github.com/cezerin/cezerin" rel="noopener">Cezerin</a> is React and Node.js based eCommerce platform. Allows creating Progressive Web Apps.</p>
<p>In other words, you can make a commercial site in a few minutes with this application.</p>
<p>Of course, Cezerin is open source and has the basic operations to make your online store. Although it is simple, it has many features:</p>
<ul>
<li>Products (options, variants, attributes).</li>
<li>Product categories.</li>
<li>Inventory and stock management.</li>
<li>Customers.</li>
<li>Customer groups.</li>
<li>Orders.</li>
<li>Order custom statuses.</li>
</ul>
<p>So, let us get to work.</p>
<h2>Install Cezerin on Ubuntu 18.04</h2>
<p>To install Cezerin it is necessary to have an Ubuntu 18.04 server that has the sudo command available.</p>
<p>On the other hand, since the application is built with NodeJS, it needs to be installed correctly. In addition, to manage the application data use the database manager NoSQL MongoDB. In other words, you have to install them both.</p>
<h3>1) Install NodeJS on Ubuntu 18.04</h3>
<p>The first step is to install NodeJS on Ubuntu 18.04. For that, we have a detailed tutorial that will make you achieve this goal.</p>
<p>Read <a href="https://www.osradar.com/how-to-install-nodejs-on-ubuntu-18-04-lts-linux-mint-19/" rel="noopener">How to install NodeJS on Ubuntu 18.04?</a></p>
<p>Once you have finished, you will be able to continue with the guide.</p>
<h3>2) Install MongoDB on Ubuntu 18.04</h3>
<p>Now it is MongoDB&#8217;s turn. For this, we will use the version available in the official repository of the project. So add it and then install MongoDB.</p>
<p>First, open a terminal and run the following command to add the GPG key of the repository.</p>
<pre>:~$ wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -</pre>
<figure id="attachment_13183" aria-describedby="caption-attachment-13183" style="width: 749px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13183" src="https://www.osradar.com/wp-content/uploads/2019/08/1-16.jpeg" alt="1.-Adding the GPG key for the repository" width="749" height="91" srcset="https://www.osradar.com/wp-content/uploads/2019/08/1-16.jpeg 749w, https://www.osradar.com/wp-content/uploads/2019/08/1-16-300x36.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/1-16-696x85.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/1-16-741x91.jpeg 741w" sizes="(max-width: 749px) 100vw, 749px" /><figcaption id="caption-attachment-13183" class="wp-caption-text">1.-Adding the GPG key for the repository</figcaption></figure>
<p>It then adds the repository as such to the list of software origins.</p>
<pre>:~$ echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.2 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list</pre>
<p>After this, refresh the APT cache.</p>
<pre>:~$ sudo apt update</pre>
<p>Install MongoDB on Ubuntu with the following command:</p>
<pre>:~$ sudo apt install mongodb-org mongodb-org-shell mongodb-org-server mongodb-org-mongos libcurl3</pre>
<figure id="attachment_13184" aria-describedby="caption-attachment-13184" style="width: 920px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13184" src="https://www.osradar.com/wp-content/uploads/2019/08/2-14.jpeg" alt="2.- Install MongoDB on Ubuntu 18.04" width="920" height="233" srcset="https://www.osradar.com/wp-content/uploads/2019/08/2-14.jpeg 920w, https://www.osradar.com/wp-content/uploads/2019/08/2-14-300x76.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/2-14-768x195.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/2-14-696x176.jpeg 696w" sizes="(max-width: 920px) 100vw, 920px" /><figcaption id="caption-attachment-13184" class="wp-caption-text">2.- Install MongoDB on Ubuntu 18.04</figcaption></figure>
<p>Check the installed version:</p>
<pre>:~$ mongod -version
db version v4.2.0
git version: a4b751dcf51dd249c5865812b390cfd1c0129c30
OpenSSL version: OpenSSL 1.1.1  11 Sep 2018
allocator: tcmalloc
modules: none
build environment:
distmod: debian92
distarch: x86_64
target_arch: x86_64</pre>
<h3>3) Install Cezerin on Ubuntu 18.04</h3>
<p>After installing the pre-requirements, we will be able to install Cezerin. To do this, navigate to your personal folder and download the source code using git.</p>
<pre>:~$ cd ~
:~$ git clone https://github.com/cezerin/cezerin.git cezerin</pre>
<figure id="attachment_13185" aria-describedby="caption-attachment-13185" style="width: 844px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13185" src="https://www.osradar.com/wp-content/uploads/2019/08/3-15.jpeg" alt="3.- Downloading Cezering using git" width="844" height="175" srcset="https://www.osradar.com/wp-content/uploads/2019/08/3-15.jpeg 844w, https://www.osradar.com/wp-content/uploads/2019/08/3-15-300x62.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/3-15-768x159.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/3-15-696x144.jpeg 696w" sizes="(max-width: 844px) 100vw, 844px" /><figcaption id="caption-attachment-13185" class="wp-caption-text">3.- Downloading Cezering using git</figcaption></figure>
<p>Then, navigate into the folder and run:</p>
<pre>:~$ cd cezerin
:~$ sudo npm install
:~$ sudo npm run build</pre>
<figure id="attachment_13186" aria-describedby="caption-attachment-13186" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13186" src="https://www.osradar.com/wp-content/uploads/2019/08/4-13.jpeg" alt="4.- Installing Cezerin on Ubuntu 18.04" width="1366" height="707" srcset="https://www.osradar.com/wp-content/uploads/2019/08/4-13.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/08/4-13-300x155.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/4-13-768x397.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/4-13-1024x530.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/4-13-696x360.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/4-13-1068x553.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/08/4-13-811x420.jpeg 811w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13186" class="wp-caption-text">4.- Installing Cezerin on Ubuntu 18.04</figcaption></figure>
<p>Once the &#8220;compilation&#8221; has been completed, the application must be installed as such. To do this, simply use the following:</p>
<pre>:~$ sudo npm run setup</pre>
<figure id="attachment_13187" aria-describedby="caption-attachment-13187" style="width: 663px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13187" src="https://www.osradar.com/wp-content/uploads/2019/08/5-7.jpeg" alt="5.- Install Cezerin on Ubuntu 18.04" width="663" height="370" srcset="https://www.osradar.com/wp-content/uploads/2019/08/5-7.jpeg 663w, https://www.osradar.com/wp-content/uploads/2019/08/5-7-300x167.jpeg 300w" sizes="(max-width: 663px) 100vw, 663px" /><figcaption id="caption-attachment-13187" class="wp-caption-text">5.- Install Cezerin on Ubuntu 18.04</figcaption></figure>
<p>Now you can start the program by using the following command:</p>
<pre>:~$ sudo npm start</pre>
<figure id="attachment_13188" aria-describedby="caption-attachment-13188" style="width: 825px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13188" src="https://www.osradar.com/wp-content/uploads/2019/08/6-4.jpeg" alt="6.- Starting the application" width="825" height="329" srcset="https://www.osradar.com/wp-content/uploads/2019/08/6-4.jpeg 825w, https://www.osradar.com/wp-content/uploads/2019/08/6-4-300x120.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/6-4-768x306.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/6-4-696x278.jpeg 696w" sizes="(max-width: 825px) 100vw, 825px" /><figcaption id="caption-attachment-13188" class="wp-caption-text">6.- Starting the application</figcaption></figure>
<p>Now, open your web browser and go to <code>http://Server-ip:3000</code>. Remember to open the port on the firewall.</p>
<figure id="attachment_13189" aria-describedby="caption-attachment-13189" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13189" src="https://www.osradar.com/wp-content/uploads/2019/08/7-8.png" alt="7.- Cezering running on Ubuntu 18.04" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/08/7-8.png 1366w, https://www.osradar.com/wp-content/uploads/2019/08/7-8-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/7-8-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/7-8-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/7-8-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/7-8-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/7-8-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13189" class="wp-caption-text">7.- Cezering running on Ubuntu 18.04</figcaption></figure>
<p>If you want to manage Cezerin as a systemd service, run the following commands:</p>
<pre>:~$ sudo nano /etc/systemd/system/cezerin.service</pre>
<p>And add the following:</p>
<pre>[Unit]
Description=Cezerin

[Service]
ExecStart=/usr/bin/npm start
WorkingDirectory=/opt/cezerin
Restart=always
RestartSec=10
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=nodejs-example

[Install]
WantedBy=multi-user.target</pre>
<figure id="attachment_13190" aria-describedby="caption-attachment-13190" style="width: 889px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13190" src="https://www.osradar.com/wp-content/uploads/2019/08/8.jpeg" alt="8.- Make Cezering a systemd service" width="889" height="299" srcset="https://www.osradar.com/wp-content/uploads/2019/08/8.jpeg 889w, https://www.osradar.com/wp-content/uploads/2019/08/8-300x101.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/8-768x258.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/8-696x234.jpeg 696w" sizes="(max-width: 889px) 100vw, 889px" /><figcaption id="caption-attachment-13190" class="wp-caption-text">8.- Make Cezering a systemd service</figcaption></figure>
<p>To apply the changes, reload systemd.</p>
<pre>:~$ sudo systemctl daemon-reload</pre>
<p>Now, you can start it, enable it or stop it easily.</p>
<p>And that is it.</p>
<h2>Conclusion</h2>
<p>As you can see, it is quite simple to deploy an E-Commerce platform with Cezerin. Of course, the potential of the application makes the possibilities unimaginable.</p>
<p>So, share this post and please join <a href="https://t.me/osradar">our Telegram channel.</a></p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-cezerin-platform-ubuntu-18-04/">How to install Cezerin platform on Ubuntu 18.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-cezerin-platform-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
