First: Introduce the public key in the local systemsudo apt-key adv--keyserver hkp://keyserver.ubuntu.com:80--recv EA312927Two: Then add a MONGO address from the local source.ubuntu12.04Echo "Deb Http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.2 multiverse" | sudo tee/etc/apt/ Sources.list.d/mongodb-org-3.2.list Ubun
preceding command is run, a tunnel is established and the Local Machine listens to port 11371.
Then add the key:
Apt-key adv -- keyserver 127.0.0.1 -- recv 7F0CEB10
Note that keyserver.ubuntu.com is replaced with 127.0.0.1.
Now added successfully:
-- Primary-keyring/etc/apt/trusted. gpg -- keyserver 127.0.0.1 -- recv 7F0CEB10Gpg: requesting key 7F0CEB10 from hkp server 127.0.0.1Gpg: key 7F0CEB10: public key "Richard Kreuter Gpg: no ultimately trusted keys foundGpg: Total number processed: 1Gpg:
1. automatically install MongoDB
Java code
Sudo apt-get install mongodb
After the installation of sudo apt-get install mongodb is complete, we found that the version 1.4 is installed, which is very out. Now MongoDB has: MongoDB shell version: 2.0.1
: Install autoconfUse the root account to execute the following commands:Yum-y Install autoconf The above command installs a total of two packagesimake-1.0.2-3.i386.rpmautoconf-2.59-12.noarch.rpm Of course, you can install it manually without Yum, and the command isCd/usr/srcwget http://ftp.gnu.org/gnu/m4/m4-1.4.9.tar.gzTAR-ZVXF m4-1.4.9.tar.gzCD m4-1.4.9/./configure make make installCd.. /wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.62.tar.gzTAR-ZVXF autoconf-2.62.tar.gzCD autoconf-2.62/./
relational database (RDBMS), unlike it does not need to define any schema (schema).
Follow the instructions in MongoDB's official website to install MongoDB using the. deb package, although Ubuntu 14.04 contains its own MongoDB package in its own repository. But we use the official. Deb package is usually updated in the same way. This Deb package contains the
installing MongoDB on Ubuntu Kylin15.05MongoDB is a typical nosql, but it is said to be used by many people. So I tried to install this database on Ubuntu Kylin.First go to its official website to see it. Link address: https://www.mongodb.org, the interface did a very good look, but also very convenient, soon can be found. Look at the official website, saying tha
Try installing MongoDB on Ubuntu. Fortunately, you can use apt-get on Ubuntu. However, it is not the latest version!
Sudo apt-get update
Sudo apt-get install mongodb
After the installation is complete, the Mongodb configuration file is placed in/etc. in the conf file, dbp
First, download, install the corresponding version
The website downloads the following address:
Www.mongodb.org/downloads
#通过CURL下载
Curl-o https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1404-3.2.0.tgz
#解压
tar -ZXVF mongodb-linux-x86_64-ubuntu1404-3.2.0.tgz
#移动
mv mongodb-linux-x86_64-ubuntu1404-3.2.0//usr/local/
Install MongoDB on Ubuntu
Get the latest versionWget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.2.0.tgz
Extract and execute
Tar zxvf mongodb-linux-x86_64-2.2.0.tgzCD/usr/mongodb-linux-x86_64-2.2.0/bin
Create Link
Ln-S/usr/mon
I. the dumbest steps in Ubuntu (the following operations are performed under the root user): 1. run "apt-getinstallmongo". If the installation package cannot be found, Run "apt-getupdate" 2. after installation, the mongod program should be automatically run. Run "pgrepmongo-l" to check whether the process has been started. 3. enter "mongo" on the terminal and press enter to enter the database (
1. the dumbest steps in
Install the mongodb extension command of PHP in Ubuntu, which is tumongodb. Install the mongodb extension command of PHP in Ubuntu. php. the copy code for netpackagemongo to download the PHP mongodb extension source code is as follows: $ wget-chttps install the PHP
Introduction: This is a detailed page for compiling and installing nginx, PHP 11.04, MySQL, MongoDB, memcached, SSL, and SMTP in Ubuntu 5.3. It introduces the knowledge, skills, and experience related to PhP, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 339660 'rolling = 'no'>Manually compile and install nginx 1.04
Nginx download pa
1. Download The mongodb-linux-i686-1.8.2.tgz in the directory/home/nh/Downloads/and unzip it to get the mongodb-linux-i686-1.8.2
2. Create the directory data1 under/home/nh/Downloads/mongodb-linux-i686-1.8.2 and create the file log1.log under the/home/nh/Downloads/mongodb-linux-i686-1.8.2/log1 directory
3.www.bkjia.c
First step : Install#setp 1. Import the public key used by the package management system. sudo apt-key adv--keyserver HKP://keyserver.ubuntu.com:80--recv 0c49f3730359a14518585931bc711f9ba15703c62 file for MongoDB Echo " Deb [arch=amd64,arm64] Http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Multiverse " sudo Tee /etc/apt/sources.list.d/
Tags:. com date www Note font log sudo will apt MongoDB is an open-source database, here do not need me to say, below the Ubuntu installation of MongoDB may encounter problems and solutions. Story background: today m$ Promotion, 1¥windows Azure 4000¥-30 Day's package, have to say is simply cabbage price! So I bought a play. The cloud ran an
1. download the mongodb-linux-i686-1.8.2.tgz in the/home/nh/Downloads/directory and unzip it to get the mongodb-linux-i686-1.8.22. create a directory named data1 under/home/nh/Downloads/mongodb-linux-i686-1.8.2 and under/home/nh/Downloads/mongodb-linux-i686-1.8.2/log1
1. Download The
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.