yuxing 发表于 2018-10-24 13:47:47

Install MongoDB in Ubuntu 16.04 LTS

lwk@qwfys ~ $ apt install mongodb-org  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following packages were automatically installed and are no longer required:
  dconf-cli libclutter-imcontext-0.1-0 libclutter-imcontext-0.1-bin libibus-qt1 libpango1.0-0 libpangox-1.0-0
  Use 'sudo apt autoremove' to remove them.
  The following additional packages will be installed:
  mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools
  The following NEW packages will be installed:
  mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools
  0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
  Need to get 51.7 MB of archives.
  After this operation, 214 MB of additional disk space will be used.
  Do you want to continue? y
  Get:1 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2/multiverse amd64 mongodb-org-shell amd64 3.2.18
  Get:2 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2/multiverse amd64 mongodb-org-server amd64 3.2.18
  Get:3 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2/multiverse amd64 mongodb-org-mongos amd64 3.2.18
  Get:4 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2/multiverse amd64 mongodb-org-tools amd64 3.2.18
  Get:5 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2/multiverse amd64 mongodb-org amd64 3.2.18
  Fetched 51.7 MB in 11s (4,514 kB/s)
  Selecting previously unselected package mongodb-org-shell.
  (Reading database ... 236893 files and directories currently installed.)
  Preparing to unpack .../mongodb-org-shell_3.2.18_amd64.deb ...
  Unpacking mongodb-org-shell (3.2.18) ...
  Selecting previously unselected package mongodb-org-server.
  Preparing to unpack .../mongodb-org-server_3.2.18_amd64.deb ...
  Unpacking mongodb-org-server (3.2.18) ...
  Selecting previously unselected package mongodb-org-mongos.
  Preparing to unpack .../mongodb-org-mongos_3.2.18_amd64.deb ...
  Unpacking mongodb-org-mongos (3.2.18) ...
  Selecting previously unselected package mongodb-org-tools.
  Preparing to unpack .../mongodb-org-tools_3.2.18_amd64.deb ...
  Unpacking mongodb-org-tools (3.2.18) ...
  Selecting previously unselected package mongodb-org.
  Preparing to unpack .../mongodb-org_3.2.18_amd64.deb ...
  Unpacking mongodb-org (3.2.18) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up mongodb-org-shell (3.2.18) ...
  Setting up mongodb-org-server (3.2.18) ...
  Adding system user `mongodb' (UID 124) ...
  Adding new user `mongodb' (UID 124) with group `nogroup' ...
  Not creating home directory `/home/mongodb'.
  Adding group `mongodb' (GID 132) ...
  Done.
  Adding user `mongodb' to group `mongodb' ...
  Adding user mongodb to group mongodb
  Done.
  Setting up mongodb-org-mongos (3.2.18) ...
  Setting up mongodb-org-tools (3.2.18) ...
  Setting up mongodb-org (3.2.18) ...

页: [1]
查看完整版本: Install MongoDB in Ubuntu 16.04 LTS