ubuntu@ip-10-67-212-47:~$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
|
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.DaObyr1PFw --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
|
gpg: requesting key A15703C6 from hkp server keyserver.ubuntu.com
|
gpg: key A15703C6: public key "MongoDB 3.4 Release Signing Key <packaging@mongodb.com>" imported
|
gpg: Total number processed: 1
|
gpg: imported: 1 (RSA: 1)
|
ubuntu@ip-10-67-212-47:~$ echo "deb [ arch=amd64 ] http://repo.mongodb.com/apt/ubuntu trusty/mongodb-enterprise/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list
|
deb [ arch=amd64 ] http://repo.mongodb.com/apt/ubuntu trusty/mongodb-enterprise/3.4 multiverse
|
ubuntu@ip-10-67-212-47:~$ sudo apt-get update
|
Ign http://us-east-1.ec2.archive.ubuntu.com trusty InRelease
|
Get:1 http://us-east-1.ec2.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
|
Ign http://repo.mongodb.com trusty/mongodb-enterprise/3.4 InRelease
|
Hit http://us-east-1.ec2.archive.ubuntu.com trusty Release.gpg
|
Hit http://us-east-1.ec2.archive.ubuntu.com trusty Release
|
Get:2 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
|
Get:3 http://repo.mongodb.com trusty/mongodb-enterprise/3.4 Release.gpg [801 B]
|
Get:4 http://repo.mongodb.com trusty/mongodb-enterprise/3.4 Release [4,444 B]
|
Get:5 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/main Sources [395 kB]
|
Get:6 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/universe Sources [176 kB]
|
Get:7 http://repo.mongodb.com trusty/mongodb-enterprise/3.4/multiverse amd64 Packages [4,167 B]
|
Get:8 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/main amd64 Packages [973 kB]
|
Get:9 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/universe amd64 Packages [402 kB]
|
Get:10 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/main Translation-en [482 kB]
|
Get:11 http://us-east-1.ec2.archive.ubuntu.com trusty-updates/universe Translation-en [213 kB]
|
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/main Sources
|
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/universe Sources
|
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/main amd64 Packages
|
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/universe amd64 Packages
|
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/main Translation-en
|
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/universe Translation-en
|
Ign http://us-east-1.ec2.archive.ubuntu.com trusty/main Translation-en_US
|
Ign http://us-east-1.ec2.archive.ubuntu.com trusty/universe Translation-en_US
|
Get:12 http://security.ubuntu.com trusty-security/main Sources [129 kB]
|
Get:13 http://security.ubuntu.com trusty-security/universe Sources [50.6 kB]
|
Get:14 http://security.ubuntu.com trusty-security/main amd64 Packages [606 kB]
|
Ign http://repo.mongodb.com trusty/mongodb-enterprise/3.4/multiverse Translation-en_US
|
Ign http://repo.mongodb.com trusty/mongodb-enterprise/3.4/multiverse Translation-en
|
Get:15 http://security.ubuntu.com trusty-security/universe amd64 Packages [155 kB]
|
Get:16 http://security.ubuntu.com trusty-security/main Translation-en [332 kB]
|
Get:17 http://security.ubuntu.com trusty-security/universe Translation-en [90.3 kB]
|
Fetched 4,144 kB in 2s (2,067 kB/s)
|
Reading package lists... Done
|
ubuntu@ip-10-67-212-47:~$ sudo apt-get install -y mongodb-enterprise
|
Reading package lists... 0%
|
Reading package lists... Done
|
Building dependency tree
|
Reading state information... Done
|
The following extra packages will be installed:
|
mongodb-enterprise-mongos mongodb-enterprise-server mongodb-enterprise-shell mongodb-enterprise-tools
|
The following NEW packages will be installed:
|
mongodb-enterprise mongodb-enterprise-mongos mongodb-enterprise-server mongodb-enterprise-shell mongodb-enterprise-tools
|
0 upgraded, 5 newly installed, 0 to remove and 187 not upgraded.
|
Need to get 75.7 MB of archives.
|
After this operation, 301 MB of additional disk space will be used.
|
Get:1 http://repo.mongodb.com/apt/ubuntu/ trusty/mongodb-enterprise/3.4/multiverse mongodb-enterprise-shell amd64 3.4.3 [8,447 kB]
|
Get:2 http://repo.mongodb.com/apt/ubuntu/ trusty/mongodb-enterprise/3.4/multiverse mongodb-enterprise-server amd64 3.4.3 [14.5 MB]
|
Get:3 http://repo.mongodb.com/apt/ubuntu/ trusty/mongodb-enterprise/3.4/multiverse mongodb-enterprise-mongos amd64 3.4.3 [8,223 kB]
|
Get:4 http://repo.mongodb.com/apt/ubuntu/ trusty/mongodb-enterprise/3.4/multiverse mongodb-enterprise-tools amd64 3.4.3 [44.4 MB]
|
Get:5 http://repo.mongodb.com/apt/ubuntu/ trusty/mongodb-enterprise/3.4/multiverse mongodb-enterprise amd64 3.4.3 [3,564 B]
|
Fetched 75.7 MB in 2s (33.8 MB/s)
|
Selecting previously unselected package mongodb-enterprise-shell.
|
(Reading database ... 138604 files and directories currently installed.)
|
Preparing to unpack .../mongodb-enterprise-shell_3.4.3_amd64.deb ...
|
Unpacking mongodb-enterprise-shell (3.4.3) ...
|
Selecting previously unselected package mongodb-enterprise-server.
|
Preparing to unpack .../mongodb-enterprise-server_3.4.3_amd64.deb ...
|
Unpacking mongodb-enterprise-server (3.4.3) ...
|
Selecting previously unselected package mongodb-enterprise-mongos.
|
Preparing to unpack .../mongodb-enterprise-mongos_3.4.3_amd64.deb ...
|
Unpacking mongodb-enterprise-mongos (3.4.3) ...
|
Selecting previously unselected package mongodb-enterprise-tools.
|
Preparing to unpack .../mongodb-enterprise-tools_3.4.3_amd64.deb ...
|
Unpacking mongodb-enterprise-tools (3.4.3) ...
|
Selecting previously unselected package mongodb-enterprise.
|
Preparing to unpack .../mongodb-enterprise_3.4.3_amd64.deb ...
|
Unpacking mongodb-enterprise (3.4.3) ...
|
Processing triggers for man-db (2.6.7.1-1) ...
|
Processing triggers for ureadahead (0.100.0-16) ...
|
Setting up mongodb-enterprise-shell (3.4.3) ...
|
Setting up mongodb-enterprise-server (3.4.3) ...
|
Adding system user `mongodb' (UID 108) ...
|
Adding new user `mongodb' (UID 108) with group `nogroup' ...
|
Not creating home directory `/home/mongodb'.
|
Adding group `mongodb' (GID 117) ...
|
Done.
|
Adding user `mongodb' to group `mongodb' ...
|
Adding user mongodb to group mongodb
|
Done.
|
mongod start/running, process 3064
|
Setting up mongodb-enterprise-mongos (3.4.3) ...
|
Setting up mongodb-enterprise-tools (3.4.3) ...
|
Processing triggers for ureadahead (0.100.0-16) ...
|
Setting up mongodb-enterprise (3.4.3) ...
|
ubuntu@ip-10-67-212-47:~$ sudo service mongod start
|
start: Job is already running: mongod
|