Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Database \ MongoDB start under Linux     - Hive handle count distinct inclination to produce data processing (Database)

- Installing PHP Memcache extension under Linux (Server)

- Ubuntu deploying Solr (4.4) to Tomcat (7.0.53) (Server)

- Fedora 22 install Adobe Flash Player (Linux)

- Linux host dual LAN transceiver package ARP problem (Linux)

- Empty password Linux operating system (Linux)

- Windows Desktop use VNC remote connect Linux (Linux)

- Gitlab installation under CentOS 7 (Linux)

- Spring inject a type of object to enumerate (Programming)

- JavaScript function definition mode (Programming)

- Win7 + Ubuntu Kylin + CentOS 6.5 installed three systems (Linux)

- Analysis of MySQL Dockerfile 5.6 (Database)

- Red Hat Enterprise Linux configuration VNC multi-user access methods (Linux)

- OpenStack / Dev stack with neutron on Ubuntu 14.04 (Server)

- Nagios plugin installation tutorial of Nrpe (Linux)

- How to install Bugzilla 4.4 on Ubuntu / CentOS 6.x (Linux)

- Linux dmidecode command detail (Linux)

- Linux virtual machines to solve end MySQL database can not remote access (Database)

- Ten best plug surge Emacs Productivity (Linux)

- Troubleshooting Linux virtual machine device id and the letter of inconsistencies (Linux)

 
         
  MongoDB start under Linux
     
  Add Date : 2018-11-21      
         
         
         
  Recently the company database to use MongoDB, but know that it is only concerned before distributed non-relational databases, data stored in the form of documents, data format is similar to the bson json format. As for the specific use and how to call java and not too much contact today spend one day understand MongoDB installed under Linux and the basic command-line invocation.

1. Linux Install MongoDB under

Enter the official website:

https://docs.mongodb.org/manual/tutorial/install-mongodb-on-Ubuntu/

Found Download:

https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.2.1.tgz

2. Use: wget to download the database to obtain: mongodb-linux-x86_64-3.2.1.tgz installation package

3. Use: tar-zxvf extracting archive

Here already downloaded executable file does not extract to a local, you can move the database to the next / user / local and then start the database in order to join the boot. Start here with the command directly.

4. Into the executable file in the bin

cd out mongodb-linux-x86_64-3.2.1 / bin

1. Show all files

ls -al

Here I have created a folder to store data with data mkdir, logs stored in the log information

6. See all of the commands to start the database parameters

./mongod --help

We can get help through this way

7. Start the database

./mongod --dbpath = / usr / local / mongodb / data --logpath = / usr / local / mongodb. / logs --logappend --port = 6699 --fork

dbpath storage location, logpath log path, logappend additional forms, port port number, fork boot.

1. Start verification

./mongo --port 6699

So that we can use the command line to operate the database.

9. Close the database service.

pkill mongod or (input into the client window: db.shuidownServer (), under the admin)
     
         
         
         
  More:      
 
- CentOS7 + Redis Live Installation and Configuration (Linux)
- Tab set to four spaces in Vim (Linux)
- Linux Command study manual - GPG command (Linux)
- Installation JDK 1.8 under CentOS7 (Linux)
- crontab task scheduling Health Check (Linux)
- Java memory-mapped file MappedByteBuffer (Programming)
- Recovery from MySQL master data consistency summary (Database)
- Oracle how to maintain the consistency of read? (Database)
- Using 30 seconds to write a detailed analysis of garbage removal system (Linux)
- Linux System Tutorial: How to Check MariaDB server versions (Database)
- Linux directory structure (Linux)
- Firewall Configuration Red Hat Enterprise Linux 4 (Linux)
- CentOS 6.5 installation Python3.0 (Linux)
- C language programming entry - macro definitions and enum (Programming)
- Transfer files and permissions from Windows to Linux system by Samba (Linux)
- ASM Management - How to Rename diskgroup (Database)
- Sorting algorithm of dichotomy (binary) insertion sort algorithm (Programming)
- how to quickly find a file on Linux system (Linux)
- Enterprise Hadoop cluster architecture - DNS installation (Server)
- Ubuntu 12.04 installed OpenCV 2.3.1, binary image (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.