Tuesday, November 2, 2021
In this post we are going to install MongoDB on a Linux operating system.
Here are the steps:
1. Download the community edition of MongoDB from the page https://www.mongodb.com/download-center?jmp=nav#community click on the "Linux" tab is selected and select the Linux version that you want
2. After you download the file extract the file with the tar command
tar -zxvf mongodb-linux-x86_64-rhel70-4.0.1.tgz
3. Create a new folder in the /opt/ directory call mongodb with the command mkdir /opt/mongodb
4. Copy the extracted files to the newly created folder with the command
cp -R -n mongodb-linux-x86_64-rhel70-4.0.1/* /opt/mongodb
5. Type mongod to verify that MongoDB has been installed
You will noticed that MongoDB tries to start itself but shut itself down because there's no data
folder that it expects. That's easy enough to fix. All you have to do is type in the following command in the terminal mkdir /data mkdir /data/db/ Now you can type mongod to start MongoDB.
Here are the steps:
1. Download the community edition of MongoDB from the page https://www.mongodb.com/download-center?jmp=nav#community click on the "Linux" tab is selected and select the Linux version that you want
2. After you download the file extract the file with the tar command
tar -zxvf mongodb-linux-x86_64-rhel70-4.0.1.tgz
3. Create a new folder in the /opt/ directory call mongodb with the command mkdir /opt/mongodb
4. Copy the extracted files to the newly created folder with the command
cp -R -n mongodb-linux-x86_64-rhel70-4.0.1/* /opt/mongodb
You will noticed that MongoDB tries to start itself but shut itself down because there's no data
folder that it expects. That's easy enough to fix. All you have to do is type in the following command in the terminal mkdir /data mkdir /data/db/ Now you can type mongod to start MongoDB.
Subscribe to:
Post Comments (Atom)
Search This Blog
Tags
Web Development
Linux
Javascript
DATA
CentOS
ASPNET
SQL Server
Cloud Computing
ASP.NET Core
ASP.NET MVC
SQL
Virtualization
AWS
Database
ADO.NET
AngularJS
C#
CSS
EC2
Iaas
System Administrator
Azure
Computer Programming
JQuery
Coding
ASP.NET MVC 5
Entity Framework Core
Web Design
Infrastructure
Networking
Visual Studio
Errors
T-SQL
Ubuntu
Stored Procedures
ACME Bank
Bootstrap
Computer Networking
Entity Framework
Load Balancer
MongoDB
NoSQL
Node.js
Oracle
VirtualBox
Container
Docker
Fedora
Java
Source Control
git
ExpressJS
MySQL
NuGet
Blogger
Blogging
Bower.js
Data Science
JSON
JavaEE
Web Api
DBMS
HTML5
MVC
SPA
Storage
github
AJAX
Big Data
Design Pattern
DevOps
Eclipse IDE
Elastic IP
GIMP
Graphics Design
Heroku
Postman
R
SSL
Security
Visual Studio Code
ASP.NET MVC 4
CLI
Linux Commands
Powershell
Python
Server
Subnets
Telerik
VPC
Windows Server 2016
angular-seed
font-awesome
log4net
servlets
tomcat
AWS CloudWatch
Active Directory
Angular
Blockchain
Collections
Compatibility
Cryptocurrency
DIgital Life
DNS
Downloads
Google Blogger
Google Chrome
Google Fonts
Hadoop
IAM
KnockoutJS
LINQ
Linux Performance
Logging
Mobile-First
Open Source
Prototype
R Programming
Responsive
Route 53
S3
SELinux
Software
Software Development
Unix
View
Web Forms
WildFly
XML
cshtml
githu
Apache cassandra training in chennai
ReplyDeleteperformance tuning training in chennai
mongodb training in chennai
oracle training in chennai
Deleteerror404-store
- -- Spamming tools --
1-- cpanel https ssl secure
2-- shell ssl secure
3-- web-mail
4-- smtp
5-- rdp with send bluster
6-- scam pages
7-- ceo or cfo leads
-- Spy virus slinet Exploits --
1-- privet rat
2-- crypter exploits
3-- privet rdp hosting
4-- os andriod spy virus
5-- iso iPhone spy virus
6-- Nokia spy virus
- -- scanners brute-force ---
1-- linux roots
2-- cpanel scanner
3-- cpanel bruter
4-- shell scanner
5-- smtp scanner
6-- smtp bruter
7-- zimbra scanners
- -------------------
cpanel,shell,smtp,scampages,sender,ceo or cfo leads,rdp,spyvirus,crypter,exploits,scanners
Telegram:- @Donsmith000
icq :- @Donsmith000
https://error404-store.blogspot.com
There is always need of Essay writing services across the globe being the sociology student I was assigned Essay Assignment which had a very short deadline so I needed someone to Do my Essay in order to do the same I needed Essay help from the experts I tried for Greatassignmenthelper.com they are great in their high quality content and on time submission.
ReplyDeleteBuyAssignment.com is a first-class academic writing company online from where you can get excellent help with assignment writing.
ReplyDelete