Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Database \ MongoDB start under Linux     - Math objects easily overlooked but very convenient method --JavaScript (Programming)

- How LUKS encrypted disk / partition to perform remote incremental backup (Linux)

- CentOS 6.5 opens the Xmanager Remote Desktop login (Linux)

- Getting Started with Linux system to learn: How to compress JPEG images on the command line (Linux)

- Getting Started with Linux system to learn: how to configure a static IP address for CentOS7 (Linux)

- Use OpenWrt build WDS wireless network extension on V2 WHR-G300N (Linux)

- C # DateTime structure common method (Programming)

- Ubuntu firewall installation and configuration (Linux)

- Oracle create user authorization and in PLSQL (Database)

- Running into the site-wide HTTPS (Server)

- Rails 4.1.6 start being given Could not find a JavaScript runtime (Linux)

- Boot-Repair Tool - repair of frequent start-up problems (Linux)

- Easy to get hidden administrator account (Linux)

- Java thread pool: ExecutorService, Executors (Programming)

- Linux modify environment variables method (Linux)

- Standardized UNIX command-line tool (Linux)

- To control based on IP address routing policy under Linux (Linux)

- Oracle physical storage structure outline (Database)

- PHP Performance Analysis and Experiment: Performance Micro Analysis (Programming)

- Linux System Getting Started Tutorial: Installing Git on Linux (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:      
 
- RHEL7.0 environment Linux kernel upgrade (Linux)
- Is Linux the most secure operating system (Linux)
- Category prevent DoS attacks against Linux (Linux)
- VMware Workstation virtual machine startup error: Could not open / dev / vmmon in CentOS 6 (Linux)
- Oracle 12c detailing the new features (Database)
- Java programmers talk about those advanced knowledge and direction (Programming)
- Python script running in the background (Programming)
- Will Laravel become the most successful PHP framework? (Programming)
- CentOS permanently banned from running in the background PackageKit (Linux)
- Ubuntu users to install Gnome-Pie 0.6.5 (Linux)
- Read and write files efficiently from Apache Kafka (Server)
- Java multithreading easy to confuse the concept (Programming)
- Vim useful plugin: YouCompleteMe (Linux)
- Linux Network Programming - libnet Guide (Programming)
- Ubuntu installed Komodo editor by PPA (Linux)
- CentOS 7 virt-manager can not connect a local hypervisor (Linux)
- Docker Build a Java compiler environment (Linux)
- Disk partition MBR (Linux)
- Asynchronous communication mechanism between the Android source code analysis thread (Programming)
- Mhddfs: multiple smaller partitions into one large virtual storage (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.