| Home » Categories » Multiple Categories |
How To Install MongoDB on Ubuntu 12.04 |
|
Article Number: 154 | Rating: Unrated | Last Updated: Wed, Sep 24, 2025 at 12:13 AM
|
Install MongoDB on Ubuntu 12.04 MongoDB is a document database used commonly in modern web applications. This tutorial should help you setup a virtual private server to use as a dedicated MongoDB server for a production application environment.
The MongoDB install process is simple enough to be completed with a Bash script. Copy the following into a new file named `mongo_install.bash` in your home directory: apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 echo "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen" | tee -a /etc/apt/sources.list.d/10gen.list apt-get -y update apt-get -y install mongodb-10gen
Run the Install Script Execute the following from your home directory: $ sudo bash ./mongo_install.bash
mongodb start/running, process 2368 Check It Out By default with this install method,
MongoDB should start automatically when your system is booted. This means that
if you need to reboot your system, MongoDB will start right back up. $ ps aux | grep mongo
mongodb 5690.4 6.4 627676 15936 ? Ssl22:54 0:02 /usr/bin/mongod --config /etc/mongodb.conf
|
Attachments
There are no attachments for this article.
|
How To Install and Use Docker: Getting Started
Viewed 4083 times since Sat, Jan 4, 2014
How To Use the Web2py Framework to Quickly Build Your Python App
Viewed 4957 times since Sat, Jan 4, 2014
How To Create a SSL Certificate on Apache for Ubuntu 12.04
Viewed 3576 times since Mon, Dec 23, 2013
How To Add and Delete Users on Ubuntu 12.04 and CentOS 6
Viewed 3088 times since Mon, Dec 23, 2013
How To Create Nagios Plugins With Bash On Ubuntu 12.10
Viewed 2386 times since Sat, Jan 4, 2014
How To Scale Django: Finding the Bottleneck
Viewed 2768 times since Fri, Jan 3, 2014
Docker Explained: How To Containerize Python Web Applications
Viewed 4890 times since Sat, Jan 4, 2014
How To Implement Replication Sets in MongoDB on an Ubuntu
Viewed 2515 times since Mon, Dec 23, 2013
How To Install and Use Memcache on Ubuntu 12.04
Viewed 3839 times since Tue, Dec 24, 2013
How To Create Nagios Plugins With Python On Ubuntu 12.10
Viewed 6985 times since Sat, Jan 4, 2014
|
