MongoDB installation process graphic tutorial
Introduction: MongoDB There are already enough materials and data, so I won’t explain them. For details, please refer toofficial website. Here to explain the installation under Ubuntu. Install: One: apt installation: Mongodb’s installation package has been integrated into Ubuntu’s apt, and can be installed directly with apt. 1, Check first: see if there is an installation package 2, If not, you need to add the source yourself (10.04), or you want to install the latest version: No apt source, method one: ① Add in /etc/apt/sources.list: deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen ② Execute again: sudo apt-key adv –keyserver keyserver.ubuntu.com –recv 7F0CEB10 ③ Finally, update the data source: ④ Installation: sudo apt-get install mongodb No apt source, method 2: (recommended) Reference:【http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/】 ① Configure the software package management system: import the public GPG key package: sudo apt-key adv –keyserver keyserver.ubuntu.com –recv 7F0CEB10 ② Create a 10gen.list file: echo ‘deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen’ | sudo tee /etc/apt/sources.list.d/10gen.list ③ Reload: ④ Installation: sudo apt-get install mongodb-10gen Specified version: (latest version) <recommended> apt-get install mongodb-10gen=2.4. 3, If there is a package (12.04), install it directly, and there is no need to operate in step 2. 4, test Two: ubuntu binary installation and use 1, download, go to…