{"id":965,"date":"2017-06-11T07:44:07","date_gmt":"2017-06-11T04:44:07","guid":{"rendered":"https:\/\/community.virtono.com\/?p=965"},"modified":"2017-06-11T07:44:07","modified_gmt":"2017-06-11T04:44:07","slug":"how-to-install-mongodb-on-debian-8","status":"publish","type":"post","link":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-mongodb-on-debian-8\/","title":{"rendered":"How to Install MongoDB on Debian 8"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_73 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-mongodb-on-debian-8\/#Introduction\" title=\"Introduction\">Introduction<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-mongodb-on-debian-8\/#Step_1_%E2%80%94_Installing_MongoDB_Updating_our_repository\" title=\"Step 1 \u2014 Installing MongoDB \/ Updating our repository\">Step 1 \u2014 Installing MongoDB \/ Updating our repository<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-mongodb-on-debian-8\/#Step_2_%E2%80%94_Securing_MongoDB_with_a_Firewall\" title=\"Step 2 \u2014 Securing MongoDB with a Firewall\">Step 2 \u2014 Securing MongoDB with a Firewall<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-mongodb-on-debian-8\/#Step_3_%E2%80%94_Enabling_Access_to_External_Servers_Optional\" title=\"Step 3 \u2014 Enabling Access to External Servers (Optional)\">Step 3 \u2014 Enabling Access to External Servers (Optional)<\/a><\/li><\/ul><\/nav><\/div>\n<h3 id=\"introduction\"><span class=\"ez-toc-section\" id=\"Introduction\"><\/span>Introduction<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Part of the MEAN stack MongoDB is the new\u00a0NoSQL document database that is being implemented within modern web applications. So using MongoDB in your own application will give it the edge, you will be able to deal with a large amount of data. On top of all that you will be able to access that data with just a few commands with writing big queries to fire in your database. In this tutorial we will learn how to install MongoDB and configure it for safety purposes.<\/p>\n<div><\/div>\n<h2 id=\"step-1-\u2014-installing-mongodb\"><span class=\"ez-toc-section\" id=\"Step_1_%E2%80%94_Installing_MongoDB_Updating_our_repository\"><\/span>Step 1 \u2014 Installing MongoDB \/ Updating our repository<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>if you are thinking that Debian is pre-loaded with MongoDB&#8217;s repositories, you are not wrong, but still its always better to have an up-to-date version. So let us just add the official updated repository on our server.<\/p>\n<p>Debian has to verify the software package&#8217;s authenticity by using GPG keys, so let&#8217;s import\u00a0the key for the official MongoDB repository.<\/p>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<ul class=\"prefixed\">\n<li class=\"line\">sudo apt-key adv &#8211;keyserver hkp:\/\/keyserver.ubuntu.com:80 &#8211;recv \u00a00EKIDH450359A14518324HF23711F9B6534DSFE<\/li>\n<\/ul>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<p>Output<\/p>\n<pre class=\"code-pre \"><code>gpg: Total number processed: 1\r\ngpg:               imported: 1  (RSA: 1)\r\n<\/code><\/pre>\n<p>Now to add MongoDB repository details so <code>apt<\/code> will know where to download the packages from.<\/p>\n<p>Issue the following command to create a list file for MongoDB.<\/p>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<ul class=\"prefixed\">\n<li class=\"line\">echo &#8220;deb http:\/\/repo.mongodb.org\/apt\/debian jessie\/mongodb-org\/3.4 main&#8221; | sudo tee \/etc\/apt\/sources.list.d\/mongodb-org-3.4.list<\/li>\n<\/ul>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<p>After adding the repository details, update the packages list:<\/p>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<ul class=\"prefixed\">\n<li class=\"line\">sudo apt-get update<\/li>\n<\/ul>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<p>Now install the MongoDB package itself with the following command:<\/p>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<ul class=\"prefixed\">\n<li class=\"line\">sudo apt-get install -y mongodb-org<\/li>\n<\/ul>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<p>This installs the latest stable version of MongoDB, along with some helpful management tools for the MongoDB server.<\/p>\n<p>Once MongoDB installs, start the service, and ensure it starts when your server reboots:<\/p>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<ul class=\"prefixed\">\n<li class=\"line\">sudo systemctl enable mongod.service<\/li>\n<li class=\"line\">sudo systemctl start mongod<\/li>\n<\/ul>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<p>Then use <code>systemctl<\/code> to check that the service has started properly:<\/p>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<ul class=\"prefixed\">\n<li class=\"line\">sudo systemctl status mongod<\/li>\n<\/ul>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<p>You should see the following output, indicating that the service is running:<\/p>\n<div class=\"code-label \" title=\"Output\">Output<\/div>\n<pre class=\"code-pre \"><code>\u25cf <span class=\"highlight\">mongod.service<\/span> - High-performance, schema-free document-oriented database\r\n   Loaded: loaded (\/lib\/systemd\/system\/mongod.service; enabled)\r\n   Active: active (running) since Tue 2017-02-28 19:51:51 UTC; 7s ago\r\n     Docs: https:\/\/docs.mongodb.org\/manual\r\n Main PID: 8958 (mongod)\r\n   CGroup: \/system.slice\/mongod.service\r\n           \u2514\u25008958 \/usr\/bin\/mongod --quiet --config \/etc\/mongod.conf\r\n\r\nFeb 28 19:51:51 cart-61037 systemd[1]: Started High-performance, schema-free document-oriented database.\r\n<\/code><\/pre>\n<p>Now that MongoDB is successfully installed, let&#8217;s secure it with the software firewall.<\/p>\n<div><\/div>\n<h2 id=\"step-2-\u2014-securing-mongodb-with-a-firewall\"><span class=\"ez-toc-section\" id=\"Step_2_%E2%80%94_Securing_MongoDB_with_a_Firewall\"><\/span>Step 2 \u2014 Securing MongoDB with a Firewall<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>MongoDB is the database for your website, and ofcourse your database should be secure and should only be accessed from certain locations. So you need to setup firewalls so that your precious database is safe. By can do that by specifying the IP addresses of the locations that it will be accessed from.\u00a0 We&#8217;ll use the iptables firewall to set up this rule, as well as a few other rules to secure the system.<\/p>\n<p>Before we write any rules, install the <code>iptables-persistent<\/code> package so you can save the rules you create. This way the rules will be applied every time you restart your server. Execute this command:<\/p>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<ul class=\"prefixed\">\n<li class=\"line\">sudo apt-get install iptables-persistent<\/li>\n<\/ul>\n<p>Next, remove any existing rules that may be in place, just in case:<\/p>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<ul class=\"prefixed\">\n<li class=\"line\">sudo iptables -F<\/li>\n<\/ul>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<p>Then add a rule that allows established connections to continue talking. This way our existing SSH connection won&#8217;t be interrupted:<\/p>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<ul class=\"prefixed\">\n<li class=\"line\">sudo iptables -A INPUT -m conntrack &#8211;ctstate ESTABLISHED,RELATED -j ACCEPT<\/li>\n<\/ul>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<p>Next, ensure that SSH access is allowed:<\/p>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<ul class=\"prefixed\">\n<li class=\"line\">sudo iptables -A INPUT -p tcp &#8211;dport <span class=\"highlight\">22<\/span> -j ACCEPT<\/li>\n<\/ul>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<p>If you plan to connect to MongoDB from a remote server, add these rules which will allow access to MongoDB&#8217;s default port from your application server:<\/p>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<ul class=\"prefixed\">\n<li class=\"line\">sudo iptables -A INPUT -s <span class=\"highlight\">your_other_server_ip<\/span> -p tcp &#8211;destination-port 27017 -m state &#8211;state NEW,ESTABLISHED -j ACCEPT<\/li>\n<li class=\"line\">sudo iptables -A OUTPUT -d <span class=\"highlight\">your_other_server_ip<\/span> -p tcp &#8211;source-port 27017 -m state &#8211;state ESTABLISHED -j ACCEPT<\/li>\n<\/ul>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<p>Next, add these rules which allow traffic on the local loopback device:<\/p>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<ul class=\"prefixed\">\n<li class=\"line\">sudo iptables -A INPUT -i lo -j ACCEPT<\/li>\n<li class=\"line\">sudo iptables -A OUTPUT -o lo -j ACCEPT<\/li>\n<\/ul>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<p>Finally, change the firewall policy to drop all other traffic:<\/p>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<ul class=\"prefixed\">\n<li class=\"line\">sudo iptables -P INPUT DROP<\/li>\n<\/ul>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>Verify that the rules look correct:<\/p>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<ul class=\"prefixed\">\n<li class=\"line\">sudo iptables -S<\/li>\n<\/ul>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<p>You should see output similar to this:<\/p>\n<pre class=\"code-pre \"><code><\/code><\/pre>\n<div class=\"secondary-code-label \" title=\"Output\">Output<\/div>\n<pre class=\"code-pre \"><code>-P INPUT DROP\r\n-P FORWARD ACCEPT\r\n-P OUTPUT ACCEPT\r\n-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT\r\n-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT\r\n-A INPUT -s <span class=\"highlight\">your_other_server_ip<\/span>\/32 -p tcp -m tcp --dport 27017 -m state --state NEW,ESTABLISHED -j ACCEPT\r\n-A INPUT -i lo -j ACCEPT\r\n-A OUTPUT -d <span class=\"highlight\">your_other_server_ip<\/span>\/32 -p tcp -m tcp --sport 27017 -m state --state ESTABLISHED -j ACCEPT\r\n-A OUTPUT -o lo -j ACCEPT\r\n<\/code><\/pre>\n<p>Finally, save the rules:<\/p>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<ul class=\"prefixed\">\n<li class=\"line\">netfilter-persistent save<\/li>\n<\/ul>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<p>To learn more about these firewall rules, take a look at <a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-set-up-a-firewall-using-iptables-on-ubuntu-14-04\" target=\"_blank\" rel=\"noopener\">How To Set Up a Firewall Using Iptables on Ubuntu 14.04<\/a>.<\/p>\n<div><\/div>\n<h2 id=\"step-3-\u2014-enabling-access-to-external-servers-optional\"><span class=\"ez-toc-section\" id=\"Step_3_%E2%80%94_Enabling_Access_to_External_Servers_Optional\"><\/span>Step 3 \u2014 Enabling Access to External Servers (Optional)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Current versions of MongoDB don&#8217;t accept external connections by default. If you&#8217;ve restricted access to specific IP addresses with the firewall, you can modify MongoDB&#8217;s configuration to accept remote connections.<\/p>\n<p>Edit the MongoDB configuration file:<\/p>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<ul class=\"prefixed\">\n<li class=\"line\">sudo nano \/etc\/mongod.conf<\/li>\n<\/ul>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<p>Locate this section:<\/p>\n<div class=\"code-label \" title=\"mongod.conf\">mongod.conf<\/div>\n<pre class=\"code-pre \"><code># network interfaces\r\nnet:\r\n  port: 27017\r\n  bindIp: <span class=\"highlight\">127.0.0.1<\/span>\r\n<\/code><\/pre>\n<p>Mongo is listening on the local loopback address, so it&#8217;ll only accept local connections. Change the <code>bindIp<\/code> value so it includes the IP address of your MongoDB server:<\/p>\n<div class=\"code-label \" title=\"mongod.conf\">mongod.conf<\/div>\n<pre class=\"code-pre \"><code># network interfaces\r\nnet:\r\n  port: 27017\r\n  bindIp: 127.0.0.1<span class=\"highlight\">, your_server_ip<\/span>\r\n<\/code><\/pre>\n<p>Save the file and exit the editor.<\/p>\n<p>Then restart MongoDB to apply the change:<\/p>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<ul class=\"prefixed\">\n<li class=\"line\">sudo systemctl restart mongod<\/li>\n<\/ul>\n<pre class=\"code-pre command\"><code><\/code><\/pre>\n<p>Your remote machine should now be able to connect. However, you may also want to <a href=\"https:\/\/docs.mongodb.com\/v3.2\/tutorial\/enable-authentication\/\" target=\"_blank\" rel=\"noopener\">enable authentication<\/a> to secure your database even further.<\/p>\n<div><\/div>\n<h2 id=\"conclusion\"><\/h2>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Part of the MEAN stack MongoDB is the new\u00a0NoSQL document database that is being implemented within modern web applications. So using MongoDB in your own application will give it the edge, you will be able to deal with a large amount of data. On top of all that you<\/p>\n","protected":false},"author":3,"featured_media":967,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[],"class_list":["post-965","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorial-how-to"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/06\/mongodb-for-giant-ideas-bbab5c3cf8.png?fit=1024%2C512&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7ISfL-fz","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":3230,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-mongodb-on-ubuntu\/","url_meta":{"origin":965,"position":0},"title":"How to install MongoDB on Ubuntu","author":"George B.","date":"April 13, 2023","format":false,"excerpt":"Welcome to this comprehensive guide on how to install MongoDB on Ubuntu! In the following steps, you will learn everything you need to know to set up MongoDB on your Ubuntu system. Whether you're a beginner or an experienced user, this guide will walk you through the installation process, providing\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-MongoDB-Ubuntu-22.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-MongoDB-Ubuntu-22.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-MongoDB-Ubuntu-22.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3687,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-deploy-mongodb-on-kubernetes\/","url_meta":{"origin":965,"position":1},"title":"How to Deploy MongoDB on Kubernetes","author":"George B.","date":"July 29, 2023","format":false,"excerpt":"This tutorial will walk you through installing MongoDB on Kubernetes cluster. We'll assume that you've already got K3s and Helm set up on your machine. The deployment of applications like MongoDB on Kubernetes cluster is made easier by the Kubernetes package manager Helm. Before getting too technical, it's important to\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/07\/How-to-Deploy-MongoDB-on-Kubernetes.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1067,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-mongodb-on-ubuntu-16-04\/","url_meta":{"origin":965,"position":2},"title":"How to Install MongoDB on Ubuntu 16.04","author":"Shreyash Sharma","date":"October 9, 2017","format":false,"excerpt":"Introduction MongoDB it is a document-oriented database. It is a free and open-source database. It does not rely on a traditional table-based relational database structure that\u2019s why it is classified as a NoSQL database. Instead it uses JSON-like documents with dynamic schemas. Before you add data to database MongoDB does\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/mongodb-1.jpeg?fit=1040%2C560&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/mongodb-1.jpeg?fit=1040%2C560&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/mongodb-1.jpeg?fit=1040%2C560&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/mongodb-1.jpeg?fit=1040%2C560&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1127,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/mongodb\/","url_meta":{"origin":965,"position":3},"title":"MongoDB","author":"Shreyash Sharma","date":"October 17, 2017","format":false,"excerpt":"Series:\u00a0Introduction to the MEAN Stack Part 1: Definition of the MEAN stack Part 2:\u00a0Setup of the MEAN stack Part 3:\u00a0Node.js Part 4:\u00a0npm Part 5:\u00a0Connect Part 6:\u00a0Express Part 7:\u00a0MongoDB Part 8:\u00a0Mongoose Part 9:\u00a0REST Part 10:\u00a0Baucis Part 11:\u00a0Bower Part 12:\u00a0AngularJS Part 13:\u00a0Restangular So far our server has only returned static data: files\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/mongodb-1.jpeg?fit=1040%2C560&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/mongodb-1.jpeg?fit=1040%2C560&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/mongodb-1.jpeg?fit=1040%2C560&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/mongodb-1.jpeg?fit=1040%2C560&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1068,"url":"https:\/\/www.virtono.com\/community\/knowledgebase\/mongodb-and-nosql-databases\/","url_meta":{"origin":965,"position":4},"title":"MongoDB And NoSQL Databases","author":"Shreyash Sharma","date":"October 9, 2017","format":false,"excerpt":"Introduction MongoDB it is a document-oriented database. It is a free and open-source database. It does not rely on a traditional table-based relational database structure that\u2019s why it is classified as a NoSQL database. Instead it uses JSON-like documents with dynamic schemas. Before you add data to database MongoDB does\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/mongodb.jpeg?fit=1040%2C560&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/mongodb.jpeg?fit=1040%2C560&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/mongodb.jpeg?fit=1040%2C560&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/mongodb.jpeg?fit=1040%2C560&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1089,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/setup-of-the-mean-stack\/","url_meta":{"origin":965,"position":5},"title":"Setup of the MEAN stack","author":"Daniel Draga","date":"October 9, 2017","format":false,"excerpt":"Series:\u00a0Introduction to the MEAN Stack Part 1: Definition of the MEAN stack Part 2:\u00a0Setup of the MEAN stack Part 3:\u00a0Node.js Part 4:\u00a0npm Part 5:\u00a0Connect Part 6:\u00a0Express Part 7:\u00a0MongoDB Part 8:\u00a0Mongoose Part 9:\u00a0REST Part 10:\u00a0Baucis Part 11:\u00a0Bower Part 12:\u00a0AngularJS Part 13:\u00a0Restangular In this article, we will lay out the basics for\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/meanjs-1024x492.png?fit=1024%2C492&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/meanjs-1024x492.png?fit=1024%2C492&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/meanjs-1024x492.png?fit=1024%2C492&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2017\/10\/meanjs-1024x492.png?fit=1024%2C492&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/comments?post=965"}],"version-history":[{"count":2,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/965\/revisions"}],"predecessor-version":[{"id":968,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/965\/revisions\/968"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media\/967"}],"wp:attachment":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media?parent=965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/categories?post=965"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/tags?post=965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}