Mongo Express Installation Guide

Mongo Express is a web based  tool to manage MongoDB , Mongo Express installation guide on Centos / Redhat.

Refer below Mongo Experess installation steps

Prerequsites

MongoDB service instance must be running in localhost / remote host .

The guide will cover following steps

  • Step 1 : How to install Node JS on Centos / Redhat
  • Step 2: How to download & install Mongo Express on centos
  • Step 3: How to configure Mongo Express
  • Step 4: How to access Mongo Express web based  console

Features:

  • The tool can connect to multiple databases
  • Authenticate  to database for each database
  • Database listing (blacklist/whitelist)
  • Basic functions like View or add or rename & delete collections

Step 1: How to install Node JS on Centos / Redhat

How to install Node JS on Linux / Centos, In order to run npm command you  need to install Node JS  .

[root@master ~]yum install wget curl

[root@master ~]#cd /opt/

[root@master opt]#wget http://nodejs.org/dist/v0.8.20/node-v0.8.20.tar.gz

[root@master opt]#tar -zxvf node-v0.8.20.tar.gz

[root@master opt]#cd node-v0.8.20

[root@master opt]#./configure

[root@master opt]#make

[root@master opt]#make install

[root@master opt]#node –version

[root@master opt]#curl -s https://npmjs.org/install.sh > npm-install-$$.sh

[root@master opt]#sh npm-install-*.sh

Step 2 : How to download & install Mongo Express on centos

[root@master ~]# cd /opt/

[root@master opt]#wget https://codeload.github.com/andzdroid/mongo-express/legacy.tar.gz/master

[root@master opt]# tar -zxvf master

[root@master opt]# npm install /opt/andzdroid-mongo-express-4e31c51/

[root@master ~]# cd /opt/node_modules/mongo-express/

[root@master mongo-express]# cp -rp config.default.js config.js

[root@master mongo-express]#node app

Step 3 : How to configure Mongo Express

MongoDB database instance details like (host, port & authentication details ) can be configured by editing config.js configuration file which resides in node_modules/mongo-express.

Step 4: How to access Mongo Express web based  console

Open internet browser  and access

http://IPADDRESS:8081

For more detail you can watch video and also subscribe for more videos :

Both comments and pings are currently closed.

Comments are closed.

Copyright ©Solutions@Experts.com
Copyright © NewWpThemes Techmark Solutions - www.techmarksolutions.co.uk