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:
5. Now you will see a log file has been created in the folder
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
4. Save the file, put the path C:\Program Files\MongoDB\Server\3.4\bin into the Environment Variables "Path" varible, now open up the command line utility type in the following command to use the configuration file
mongod -f c:\techjunkie\mongodb\mongo-db-config.conf
5. Now you will see a log file has been created in the folder
Similar Posts:
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
Aivivu đại lý vé máy bay, tham khảo
ReplyDeleteVé máy bay đi Mỹ
đặt vé máy bay từ mỹ về việt nam
chuyến bay thương mại từ canada về việt nam
cách mua vé máy bay từ nhật về việt nam
Máy bay từ Hàn Quốc về Việt Nam
Vé máy bay từ Đài Loan về Việt Nam
chi phí vé máy bay cho chuyên gia nước ngoài
The Cost of Enjoying the Benefits of a TPE Love Doll While silicone best sex dolls typically cost between $2,600 and $5,500, depending on size, TPE is relatively affordable. You can also buy them for between $1100 and $2200 depending on size.
ReplyDelete