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
DevOps
HTML5
MVC
SPA
Storage
github
AJAX
Big Data
Design Pattern
Eclipse IDE
Elastic IP
GIMP
Graphics Design
Heroku
Linux Mint
Postman
R
SSL
Security
Visual Studio Code
ASP.NET MVC 4
CLI
Linux Commands
Powershell
Python
Server
Software Development
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
Unix
View
Web Forms
WildFly
XML
cshtml
githu
BuyAssignment.com is a first-class academic writing company online from where you can get excellent help with assignment writing.
ReplyDeleteFresh Fullz supplier USA/CANADA/UK
ReplyDeleteFullz format:
Name|SSN|DOB|DL|Address|City|State|Zip|Phone|Email
High Credit Scores Pros 700+ (USA Credit Bureau Database)
Good quality CC Fullz CVV
Fresh CVV UK|USA|CA
DL Scan Front/Back with SSN+Selfie
Dumps with pin codes
-No refund, Replacement only
-Fast delivery, 24/7 response
-CVV replace if not valid
Fullz CA+SIN
Fullz USA SSN+Dob+DL+Employee History
Fullz UK|Italy|France
Hacking|Carding|Spamming|Scripting stuff available
Tools,Tutorials, Loan Methods, Cash out Methods
100% valid information & fresh Database
--->Contact me now for good business (online 24/7)
***ICQ: @killhacks
***Telegram: @leadsupplier
***Whatsapp: +92 317 2721122
***Skype/Wicker: @peeterhacks