<?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>database Archives - Installing.in</title>
	<atom:link href="https://www.installing.in/tag/database/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.installing.in/tag/database/</link>
	<description></description>
	<lastBuildDate>Fri, 27 Sep 2019 08:28:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
<site xmlns="com-wordpress:feed-additions:1">110734269</site>	<item>
		<title>Installing Percona MongoDB on Ubuntu 18.04</title>
		<link>https://www.installing.in/installing-percona-mongodb-on-ubuntu-18-04/</link>
					<comments>https://www.installing.in/installing-percona-mongodb-on-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[Rajeev]]></dc:creator>
		<pubDate>Sat, 21 Sep 2019 18:36:12 +0000</pubDate>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mongodb]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.installing.in/?p=509</guid>

					<description><![CDATA[<p>Percona Server for MongoDB is mostly the same as MongoDB server that you can install from the Ubuntu repository but percona mongodb comes with few additional features like pluggable storage... </p>
<p>The post <a href="https://www.installing.in/installing-percona-mongodb-on-ubuntu-18-04/">Installing Percona MongoDB on Ubuntu 18.04</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Percona Server for MongoDB is mostly the same as MongoDB server that you can install from the Ubuntu repository but percona mongodb comes with few additional features like pluggable storage engine API, hot backup and Percona&#8217;s memory engine.</p>
<p><img data-recalc-dims="1" fetchpriority="high" decoding="async" class="alignnone size-full wp-image-513" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2019/09/server-mongodb-big-1.png?resize=700%2C206&#038;ssl=1" alt="server-mongoDB-big" width="700" height="206" /></p>
<p>We can install it easily by adding the percona&#8217;s repository to ubuntu or by downloading the source and compiling it ourselves. For this guide, I will be using the first method because that makes upgrading very easy later on.</p>
<p>For this guide, I will be using a freshly created 1GB VPS from <a href="https://www.vultr.com/?ref=7841070-4F" target="_blank" rel="noopener noreferrer">Vultr</a> hosted in Singapore.</p>
<p>After logging into the server via SSH go through these steps using sudo if you are not logged in as root.</p>
<p><strong>Step 1: Add Percona&#8217;s repository:</strong></p>
<p>To add their repository percona has created a .deb file that we need to download and install. Let&#8217;s start by downloading the package with this command:</p>
<pre>wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb</pre>
<p>Now install this package with this command:</p>
<pre>dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb</pre>
<p>This will add the repository and other requirements.</p>
<p><strong>Step 2: Enable the repository:</strong></p>
<p>We need to enable this freshly added repository. To do so run this command:</p>
<pre>percona-release enable psmdb-42 release</pre>
<p>4.2 is the latest version at the time of writing and we are enabling repository for this version by the above command.</p>
<p><strong>Step 3: Install Percona MongoDB</strong></p>
<p>Update the local package information first</p>
<pre>apt update</pre>
<p>Now run this to install</p>
<pre>apt install percona-server-mongodb</pre>
<p>This will install the percona mongodb on your server and start it.</p>
<p>Check the status of mongodb by running this command:</p>
<pre><span class="pre">service</span> <span class="pre">mongod</span> <span class="pre">status</span></pre>
<p>You will see something like this</p>
<p><img data-recalc-dims="1" decoding="async" class="alignnone size-full wp-image-510" src="https://i0.wp.com/www.installing.in/wp-content/uploads/2019/09/percona-mongodb.png?resize=686%2C424&#038;ssl=1" alt="percona mongodb" width="686" height="424" /></p>
<p>If the server is not running you can use this command to start</p>
<pre><span class="pre">service</span> <span class="pre">mongod</span> <span class="pre">start</span></pre>
<p>To stop the server you can use</p>
<pre><span class="pre">service</span> <span class="pre">mongod</span> <span class="pre">stop</span></pre>
<p>and to restart mongodb server</p>
<pre><span class="pre">service</span> <span class="pre">mongod</span> restart</pre>
<p>If you need to change the configuration MongoDB configuration file is located at /etc/mongod.conf</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.installing.in/installing-percona-mongodb-on-ubuntu-18-04/">Installing Percona MongoDB on Ubuntu 18.04</a> appeared first on <a href="https://www.installing.in">Installing.in</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.installing.in/installing-percona-mongodb-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">509</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 23/52 objects using Redis
Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Minified using Disk
Database Caching 2/17 queries in 0.005 seconds using Redis

Served from: installing.in @ 2026-05-21 00:28:53 by W3 Total Cache
-->