

Run the following command to switch to the "test" database and display the collections it contains (if any): use test Run this command to display the selected database: db Run this command to list the existing databases: show dbs T14:27:38.828+0800 I CONTROL ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'. T14:27:38.828+0800 I CONTROL ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'. T14:27:38.828+0800 I CONTROL ** Read and write access to data and configuration is unrestricted. T14:27:38.828+0800 I CONTROL ** WARNING: Access control is not enabled for the database. T14:27:38.497+0800 I STORAGE ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine You will see an output like this (you can ignore the warnings):

To launch it, issue the following command: mongo

There is a console client that comes with MongoDB. Nov 08 14:27:38 ubuntuxenial systemd: Started High-performance, schema-free document-oriented database. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Wed 14:27:38 MYT 14min ago

It can be used to develop intensive and dynamic web applications such as video streaming sites and single-page applications. Node.js is a free, open-source and cross-platform Javascript run-time environment to execute server-side Javascript code.
