Latest Posts
Showing posts with label NoSQL. Show all posts
Showing posts with label NoSQL. Show all posts
Friday, December 10, 2021
Before we begin inserting data into mongoDB we need to understand the difference between Relational Database Management System (RDBMS) and mongoDB. RDBMS is a database many of us worked with in the past. You have tables and relationships between those tables. We will use the ACME Bank that we were build our AngularJS SPA application as an example.
This is how the design would be on a RDBMS
Tuesday, November 23, 2021
In the previous post we installed MongoDB on Linux on this post we are going to install MongoDB on Windows.
Here are the steps:
1. Go to https://www.mongodb.com/download-center/community, then click on the "Download" button
Here are the steps:
1. Go to https://www.mongodb.com/download-center/community, then click on the "Download" button
Tuesday, November 16, 2021
In this post we are going to go over some basic commands that you can run on a machine that has MongoDB installed.
One of the first thing you want to do is to connect to MongoDB so that you can run more commands.
Here is the command to connect to MongoDB
mongo --host=localhost --port=27017
All you need is the name of the host and port number, 27017 is the default port number and since we running the command on the MongoDB host, the host is localhost
One of the first thing you want to do is to connect to MongoDB so that you can run more commands.
Here is the command to connect to MongoDB
mongo --host=localhost --port=27017
All you need is the name of the host and port number, 27017 is the default port number and since we running the command on the MongoDB host, the host is localhost
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
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
Sunday, June 6, 2021
In the previous post we installed MongoDB on a Linux orperating system. On this post we are going to setup the data folder that MongoDB needs and connect to MongoDB in the command line.
Here are the steps:
Here are the steps:
- Create a folder call /data/ then create another folder call db underneath it with the mkdir command, I've already created the folder so I can't do it on the command prompt again.
But you basically run the following commands
1. mkdir /data
2. mkdir /data/db
2. Now we want to start the MongoDB service with the command mongod --dbpath "/data/db"
You only have to do this once, afterward you can just type mongod and the service should start. You would need sudo rights to run these commands.
3. Now you can connect to you MongoDB instance with the mongo command
Wednesday, April 19, 2017
In this post we will be installing the RoboMongo user interface for MongoDB. The advantage of a GUI is that you can see the documents in MongoDB visually also there is a validate future that is quite useful when you make changes to the data.
Here are the steps to install RoboMongo:
1. Go to https://robomongo.org/download and click on the "Download" button
Here are the steps to install RoboMongo:
1. Go to https://robomongo.org/download and click on the "Download" button
Thursday, March 16, 2017
In the previous blog post we created a configuration file for our MongoDB database in this post we will install MongoDB as a Windows service so that we don't have to start the service in the command line every time we want to use it to save development time.
Here are the steps to install MongoDB:
1. Open the command prompt as an "Administrator"
2. Change the mongo-db-config.conf file to use absolute paths. You can get the instructions on how to create a MongoDB configuration file in this blog post
dbpath = C:\techjunkie\mongodb\db
logpath = C:\techjunkie\mongodb\mongo-db-server.log
verbose = vvvvv
if the folder dpath folder does not exists in Windows create the folder "db" inside the "mongodb" folder, else the service start will fail
Here are the steps to install MongoDB:
1. Open the command prompt as an "Administrator"
2. Change the mongo-db-config.conf file to use absolute paths. You can get the instructions on how to create a MongoDB configuration file in this blog post
dbpath = C:\techjunkie\mongodb\db
logpath = C:\techjunkie\mongodb\mongo-db-server.log
verbose = vvvvv
if the folder dpath folder does not exists in Windows create the folder "db" inside the "mongodb" folder, else the service start will fail
Thursday, March 9, 2017
In the previous blog post be installed mongoDB now, we are going to create a configuration file for mongoDB to use during startup.
In this configuration file we will specify the following:
In this configuration file we will specify the following:
- location of the data files
- log file path
- the verbosity of the log file
Here are the steps:
- Create a folder in your operating systems
- create a file call mongo-db-config.config in the folder
- Type in the following lines of configuration settings
dbpath = /techjunkie/mongodb/db
logpath = /techjunkie/mongodb/mongo-db-server.log
verbose = vvvvv
dbpath : specifies the path of the data files
logpath : specifies the path of the log file
verbose: specifies how verbose we want out log files to be, in this we want our log files to be very verbose we want to log everything. The settings is from v to vvvvv going from least to most verbose
Thursday, March 2, 2017
Now that we have our AngularJS environment set up we need a database. We are going to use MongoDB as a database. MongoDB is a NoSQL database which is a perfect fit for JavaScript centric applications that we are building. To install MongDB go to https://www.mongodb.com/download-center?jmp=nav#community to make sure you are installing the "Community Edition" of MongoDB. On the "Community Server" tab select the operating system that you will be installing MongoDB in, then click on the "Download button.
Subscribe to:
Posts (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