MongoDB installation process graphic tutorial

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…

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索