{"id":14204,"date":"2025-12-27T12:17:58","date_gmt":"2025-12-27T06:47:58","guid":{"rendered":"https:\/\/www.youstable.com\/blog\/?p=14204"},"modified":"2025-12-27T12:18:00","modified_gmt":"2025-12-27T06:48:00","slug":"create-mongodb-on-linux","status":"publish","type":"post","link":"https:\/\/www.youstable.com\/blog\/create-mongodb-on-linux","title":{"rendered":"How to Create MongoDB on Linux Server in 2026? &#8211; (Step by Step Guide)"},"content":{"rendered":"\n<p><strong>To create MongoDB on a Linux server<\/strong>, install the official MongoDB package, start and enable the mongod service, secure it with authentication, configure network access (bindIp and firewall), then create your database and users with mongosh. <\/p>\n\n\n\n<p>This guide covers Ubuntu\/Debian and RHEL\/CentOS, plus hardening, backups, and troubleshooting. Setting up a database doesn\u2019t have to be complicated. <\/p>\n\n\n\n<p>In this beginner friendly guide, you\u2019ll learn how to create MongoDB on a Linux server the right way installing it from the official repository, securing access, creating databases and users, and applying production ready best practices we use every day managing high traffic workloads at YouStable.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"what-youll-learn-and-what-you-need\"><strong>What You\u2019ll Learn (And What You Need)<\/strong>?<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"533\" src=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2025\/12\/image-108.png\" alt=\"Create MongoDB on Linux\" class=\"wp-image-14544\" srcset=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2025\/12\/image-108.png 800w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2025\/12\/image-108-150x100.png 150w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>Primary keyword target: create MongoDB on Linux server. We\u2019ll also cover how to install <a href=\"https:\/\/www.youstable.com\/blog\/what-is-mongodb-on-linux-server\/\">MongoDB on Ubuntu, set up MongoDB on CentOS\/RHEL, secure MongoDB on Linux<\/a>, and manage the mongod service.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"prerequisites\"><strong>Prerequisites<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A clean Linux VPS or dedicated server (Ubuntu 22.04\/24.04, Debian 12, RHEL 8\/9, AlmaLinux\/Rocky 8\/9)<\/li>\n\n\n\n<li>Sudo or root access<\/li>\n\n\n\n<li>At least 2 vCPU, 4 GB RAM for small to medium apps<\/li>\n\n\n\n<li>Open ports via firewall or security groups (27017\/TCP for MongoDB if remote access is needed)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"install-mongodb-on-ubuntu-debian-step-by-step\"><strong>Install MongoDB on Ubuntu\/Debian<\/strong> &#8211; <strong>Step by Step<\/strong><\/h2>\n\n\n\n<p>The safest path is using the official MongoDB repository (example here uses MongoDB 7.0). Replace the codename if you\u2019re on a different distribution.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"ubuntu-22-04-24-04-jammy-noble\"><strong>Ubuntu 22.04\/24.04 (Jammy\/Noble)<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># Import the MongoDB public GPG key\ncurl -fsSL https:\/\/pgp.mongodb.com\/server-7.0.asc | \\\nsudo gpg -o \/usr\/share\/keyrings\/mongodb-server-7.0.gpg --dearmor\n\n# Add the MongoDB repo (Jammy for Ubuntu 22.04; use noble for 24.04)\necho \"deb &#91; arch=amd64,arm64 signed-by=\/usr\/share\/keyrings\/mongodb-server-7.0.gpg ] \\\nhttps:\/\/repo.mongodb.org\/apt\/ubuntu jammy\/mongodb-org\/7.0 multiverse\" | \\\nsudo tee \/etc\/apt\/sources.list.d\/mongodb-org-7.0.list\n\n# Update and install\nsudo apt update\nsudo apt install -y mongodb-org\n\n# Enable and start\nsudo systemctl enable --now mongod\n\n# Verify status\nsystemctl status mongod --no-pager\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"debian-12-bookworm\"><strong>Debian 12 (Bookworm)<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># Import MongoDB GPG key\ncurl -fsSL https:\/\/pgp.mongodb.com\/server-7.0.asc | \\\nsudo gpg -o \/usr\/share\/keyrings\/mongodb-server-7.0.gpg --dearmor\n\n# Add repo\necho \"deb &#91; arch=amd64,arm64 signed-by=\/usr\/share\/keyrings\/mongodb-server-7.0.gpg ] \\\nhttps:\/\/repo.mongodb.org\/apt\/debian bookworm\/mongodb-org\/7.0 main\" | \\\nsudo tee \/etc\/apt\/sources.list.d\/mongodb-org-7.0.list\n\n# Install\nsudo apt update\nsudo apt install -y mongodb-org\nsudo systemctl enable --now mongod\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"step-by-step-install-mongodb-on-rhel-centos-stream-almalinux-rocky\"><strong>Step-by-Step: Install MongoDB on RHEL, CentOS Stream, AlmaLinux, Rocky<\/strong><\/h2>\n\n\n\n<p>Create a repo file, then install with dnf\/yum.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Create the repo file\nsudo tee \/etc\/yum.repos.d\/mongodb-org-7.0.repo &gt;\/dev\/null &lt;&lt;'EOF'\n&#91;mongodb-org-7.0]\nname=MongoDB Repository\nbaseurl=https:\/\/repo.mongodb.org\/yum\/redhat\/$releasever\/mongodb-org\/7.0\/x86_64\/\ngpgcheck=1\nenabled=1\ngpgkey=https:\/\/pgp.mongodb.com\/server-7.0.asc\nEOF\n\n# Install\nsudo dnf install -y mongodb-org\n# or: sudo yum install -y mongodb-org\n\n# Enable and start\nsudo systemctl enable --now mongod\n\n# Check\nsudo systemctl status mongod --no-pager\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"secure-configuration-enable-auth-and-lock-down-network\"><strong>Secure Configuration: Enable Auth and Lock Down Network<\/strong><\/h2>\n\n\n\n<p>By default, MongoDB often binds to 127.0.0.1 (local only) without users. In production, enable authentication and explicitly control access.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"1-create-the-first-admin-user\"><strong>1) Create the first admin user<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># Open the shell\nmongosh\n\n# In the shell:\nuse admin\ndb.createUser({\n  user: \"admin\",\n  pwd: passwordPrompt(),\n  roles: &#91;\n    { role: \"userAdminAnyDatabase\", db: \"admin\" },\n    { role: \"readWriteAnyDatabase\", db: \"admin\" },\n    { role: \"clusterAdmin\", db: \"admin\" }\n  ]\n})\nexit\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"2-turn-on-authorization\"><strong>2) Turn on authorization<\/strong><\/h3>\n\n\n\n<p>Edit \/etc\/mongod.conf and enable the security block. Also confirm your bindIp settings.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano \/etc\/mongod.conf\n\n# Ensure the following entries exist:\nnet:\n  port: 27017\n  bindIp: 127.0.0.1  # Add your server IP or 0.0.0.0 only if firewall-restricted\n\nsecurity:\n  authorization: enabled\n\n# Save, then:\nsudo systemctl restart mongod\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"3-test-admin-login\"><strong>3) Test admin login<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>mongosh -u admin -p --authenticationDatabase admin\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"create-your-application-database-and-user\"><strong>Create Your Application Database and User<\/strong><\/h2>\n\n\n\n<p>With admin authentication in place, create a dedicated database and a least-privilege user for your app.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mongosh -u admin -p --authenticationDatabase admin\n\n# Inside mongosh:\nuse appdb\ndb.createUser({\n  user: \"appuser\",\n  pwd: passwordPrompt(),\n  roles: &#91; { role: \"readWrite\", db: \"appdb\" } ]\n})\n\n# Optional: create a collection and insert a test document\ndb.createCollection(\"users\")\ndb.users.insertOne({ name: \"Alice\", role: \"admin\" })\n\n# Test with the app user from the OS shell:\nexit\nmongosh \"mongodb:\/\/appuser@localhost:27017\/appdb?authSource=appdb\"\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"allow-remote-access-firewall-and-selinux\"><strong>Allow Remote Access (Firewall and SELinux)<\/strong><\/h2>\n\n\n\n<p>Expose MongoDB only to trusted sources such as your app server or private network. Avoid binding to 0.0.0.0 without strict firewall rules.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"ufw-ubuntu-debian\"><strong>UFW (Ubuntu\/Debian)<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># Allow a specific app server IP:\nsudo ufw allow from 203.0.113.10 to any port 27017 proto tcp\n\n# If you must open publicly (not recommended):\nsudo ufw allow 27017\/tcp\nsudo ufw reload\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"firewalld-rhel-centos-alma-rocky\"><strong>firewalld (RHEL\/CentOS\/Alma\/Rocky)<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># Allow a specific source\nsudo firewall-cmd --permanent --add-rich-rule='rule family=\"ipv4\" source address=\"203.0.113.10\" port protocol=\"tcp\" port=\"27017\" accept'\nsudo firewall-cmd --reload\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"selinux-if-enforcing\"><strong>SELinux (if enforcing)<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code># Allow MongoDB default port in SELinux\nsudo semanage port -a -t mongod_port_t -p tcp 27017 2&gt;\/dev\/null || \\\nsudo semanage port -m -t mongod_port_t -p tcp 27017\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"service-management-and-logs\"><strong>Service Management and Logs<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Start\/Stop\/Restart:<\/strong> sudo systemctl start|stop|restart mongod<\/li>\n\n\n\n<li><strong>Enable at boot:<\/strong> sudo systemctl enable mongod<\/li>\n\n\n\n<li><strong>Logs:<\/strong> \/var\/log\/mongodb\/mongod.log<\/li>\n\n\n\n<li><strong>Data directory: <\/strong>\/var\/lib\/mongo (default), user\/group: mongod<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"production-hardening-and-performance-tips\"><strong>Production Hardening and Performance Tips<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use dedicated Linux user and default directories; do not run as root.<\/li>\n\n\n\n<li>Keep bindIp restrictive (loopback or private\/VPC subnets only).<\/li>\n\n\n\n<li><strong>Backups:<\/strong> schedule mongodump and offsite copies; test restores regularly.<\/li>\n\n\n\n<li>Disable Transparent Huge Pages at boot and set swappiness to 1\u201310 for latency-sensitive workloads.<\/li>\n\n\n\n<li><strong>Raise file descriptors and processes:<\/strong> set nofile and nproc (e.g., 64000+) in \/etc\/security\/limits.d\/mongodb.conf.<\/li>\n\n\n\n<li>Use XFS for better WiredTiger performance on larger datasets.<\/li>\n\n\n\n<li>Pin major version; apply minor updates after staging tests.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code># Example: increase limits\necho -e \"mongod soft nofile 64000\\nmongod hard nofile 64000\\nmongod soft nproc 64000\\nmongod hard nproc 64000\" | \\\nsudo tee \/etc\/security\/limits.d\/mongodb.conf\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"backups-and-restore-mongodump-mongorestore\"><strong>Backups and Restore (mongodump\/mongorestore)<\/strong><\/h2>\n\n\n\n<p>Logical backups are simple and portable. For large clusters, consider filesystem snapshots or Ops\/Cloud Manager, but mongodump is a great start.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Backup a single database\nmongodump --authenticationDatabase admin -u admin -p --db appdb --out \/backups\/appdb-$(date +%F)\n\n# Restore\nmongorestore --authenticationDatabase admin -u admin -p --db appdb --drop \/backups\/appdb-2025-01-01\/appdb\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"optional-initialize-a-single-node-replica-set\"><strong>Optional: Initialize a Single-Node Replica Set<\/strong><\/h2>\n\n\n\n<p>Even for single instances, a replica set unlocks features like change streams. Convert your standalone to a single-node replica set as follows.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Edit \/etc\/mongod.conf, under replication:\nreplication:\n  replSetName: rs0\n\nsudo systemctl restart mongod\n\n# Initialize\nmongosh -u admin -p --authenticationDatabase admin --eval 'rs.initiate()'\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"troubleshooting-common-errors\"><strong>Troubleshooting: Common Errors<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Port 27017 not reachable:<\/strong> Check bindIp, firewall\/SELinux, and that mongod is running.<\/li>\n\n\n\n<li><strong>Authentication failed:<\/strong> Verify authSource parameter and user\u2019s database. Recreate user if needed.<\/li>\n\n\n\n<li><strong>Service won\u2019t start:<\/strong> Inspect \/var\/log\/mongodb\/mongod.log for permission errors or corrupted files; ensure \/var\/lib\/mongo is owned by mongod.<\/li>\n\n\n\n<li><strong>High <\/strong><a href=\"https:\/\/www.youstable.com\/blog\/fix-high-physical-memory-usage-in-cpanel\/\">memory usage:<\/a> WiredTiger caches aggressively. Tune cacheSizeGB under storage.wiredTiger.engineConfig if necessary and ensure adequate RAM.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"real-world-example-mern-app-on-ubuntu-vps\"><strong>Real-World Example: MERN App on Ubuntu VPS<\/strong><\/h2>\n\n\n\n<p>On a 2 vCPU\/4 GB Ubuntu 22.04 VPS, install MongoDB 7.0 via the official repo, enable authorization, create appdb and appuser with readWrite, allow the app server\u2019s IP to 27017 via UFW, and set up nightly mongodump. This minimal setup comfortably serves thousands of requests for a typical MERN stack.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"why-host-mongodb-with-youstable\"><strong>Why Host MongoDB with YouStable<\/strong><\/h2>\n\n\n\n<p>If you\u2019d rather skip the heavy lifting, <a href=\"https:\/\/www.youstable.com\/blog\/benefits-of-fully-managed-dedicated-server\/\">YouStable\u2019s managed VPS and dedicated servers<\/a> are optimized for databases with NVMe storage, private networking, and 24\u00d77 support. We help you deploy, secure, monitor, and back up MongoDB so you can focus on your application, not the plumbing.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"faqs\"><strong>FAQ&#8217;s<\/strong><\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1765959546962\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"1-is-it-better-to-install-mongodb-from-the-os-repo-or-the-official-mongodb-repository\">1. <strong>Is it better to install MongoDB from the OS repo or the official MongoDB repository?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Use the official MongoDB repository. OS repos often lag behind and may lack features or security updates. The official repo gives you current, supported builds for Ubuntu\/Debian and RHEL-based distributions.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765959556111\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"2-how-do-i-create-a-mongodb-database-and-user-on-linux\">2. <strong>How do I create a MongoDB database and user on Linux?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Log in with mongosh, switch to your database, and create a user with the proper role. Example: use appdb; db.createUser({user:&#8221;appuser&#8221;, pwd:passwordPrompt(), roles:[{role:&#8221;readWrite&#8221;, db:&#8221;appdb&#8221;}]}). Always enable authorization in \/etc\/mongod.conf for production.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765959576324\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"3-how-can-i-secure-mongodb-for-remote-access\">3. <strong>How can I secure MongoDB for remote access?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Enable auth, restrict bindIp to private or specific IPs, and allow only trusted sources through UFW or firewalld. Consider VPN or private VPC networking. Never expose 27017 to the open internet without strong controls and monitoring.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765959583014\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"4-what-resources-does-mongodb-need-on-a-linux-server\">4. <strong>What resources does MongoDB need on a Linux server?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>For small apps, start with 2 vCPU and 4 GB RAM. Increase RAM for working set size, use NVMe SSDs, and monitor CPU, disk I\/O, and cache utilization. Configure higher file descriptors and consider XFS for better performance with WiredTiger.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765959590542\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"5-how-do-i-back-up-and-restore-mongodb\">5. <strong>How do I back up and restore MongoDB?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Use mongodump for logical backups and mongorestore for restores. For larger datasets or minimal downtime, use filesystem snapshots or replica set secondaries. Always test restores\u2014it\u2019s the only reliable proof your backups work.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>To create MongoDB on a Linux server, install the official MongoDB package, start and enable the mongod service, secure it [&hellip;]<\/p>\n","protected":false},"author":21,"featured_media":16363,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[350],"tags":[],"class_list":["post-14204","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledgebase"],"acf":[],"featured_image_src":"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2025\/12\/How-to-Create-MongoDB-on-Linux-Server.jpg","author_info":{"display_name":"Sanjeet Chauhan","author_link":"https:\/\/www.youstable.com\/blog\/author\/sanjeet"},"_links":{"self":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/14204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/comments?post=14204"}],"version-history":[{"count":5,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/14204\/revisions"}],"predecessor-version":[{"id":16365,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/14204\/revisions\/16365"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media\/16363"}],"wp:attachment":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media?parent=14204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/categories?post=14204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/tags?post=14204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}