mongodbe3.2.9_yum_install_software_destnations

使用yum命令安装mongodb enterprise的时候,不知道相关软件包都安装了什么。 为解决此问题因此有了本文。通过rpm -qpl 命令可以发现使用yum安装的软件包与tarball打包的一样。 只不过进行了分组归类。

[root@localhost ~]# yum install --downloadonly --downloaddir=/home/mongod/ mongodb-enterprise
Loaded plugins: ulninfo
file:///mnt/cdrom/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /mnt/cdrom/repodata/repomd.xml"
Trying other mirror.
Resolving Dependencies
--> Running transaction check
---> Package mongodb-enterprise.x86_64 0:3.2.9-1.el7 will be installed
--> Processing Dependency: mongodb-enterprise-tools = 3.2.9 for package: mongodb-enterprise-3.2.9-1.el7.x86_64
--> Processing Dependency: mongodb-enterprise-shell = 3.2.9 for package: mongodb-enterprise-3.2.9-1.el7.x86_64
--> Processing Dependency: mongodb-enterprise-server = 3.2.9 for package: mongodb-enterprise-3.2.9-1.el7.x86_64
--> Processing Dependency: mongodb-enterprise-mongos = 3.2.9 for package: mongodb-enterprise-3.2.9-1.el7.x86_64
--> Running transaction check
---> Package mongodb-enterprise-mongos.x86_64 0:3.2.9-1.el7 will be installed
---> Package mongodb-enterprise-server.x86_64 0:3.2.9-1.el7 will be installed
---> Package mongodb-enterprise-shell.x86_64 0:3.2.9-1.el7 will be installed
---> Package mongodb-enterprise-tools.x86_64 0:3.2.9-1.el7 will be installed
--> Finished Dependency Resolution


Dependencies Resolved


======================================================================================================================================================================
 Package                                          Arch                          Version                               Repository                                 Size
======================================================================================================================================================================
Installing:
 mongodb-enterprise                               x86_64                        3.2.9-1.el7                           mongodb-enterprise                        5.9 k
Installing for dependencies:
 mongodb-enterprise-mongos                        x86_64                        3.2.9-1.el7                           mongodb-enterprise                        5.7 M
 mongodb-enterprise-server                        x86_64                        3.2.9-1.el7                           mongodb-enterprise                         13 M
 mongodb-enterprise-shell                         x86_64                        3.2.9-1.el7                           mongodb-enterprise                        7.3 M
 mongodb-enterprise-tools                         x86_64                        3.2.9-1.el7                           mongodb-enterprise                         45 M


Transaction Summary
======================================================================================================================================================================
Install  1 Package (+4 Dependent packages)


Total download size: 71 M
Installed size: 230 M
Background downloading packages, then exiting:
(1/5): mongodb-enterprise-3.2.9-1.el7.x86_64.rpm                                                                                               | 5.9 kB  00:00:01     
(2/5): mongodb-enterprise-mongos-3.2.9-1.el7.x86_64.rpm                                                                                        | 5.7 MB  00:01:10     
(3/5): mongodb-enterprise-shell-3.2.9-1.el7.x86_64.rpm                                                                                         | 7.3 MB  00:03:21     
(4/5): mongodb-enterprise-server-3.2.9-1.el7.x86_64.rpm                                                                                        |  13 MB  00:04:46     
(5/5): mongodb-enterprise-tools-3.2.9-1.el7.x86_64.rpm                                                                                         |  45 MB  00:01:43     
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                 194 kB/s |  71 MB  00:06:15     
exiting because "Download Only" specified
[root@localhost ~]#






[mongod@localhost ~]$ ls -lrt
total 72752
drwxrwxr-x 2 mongod mongod        6 Aug 11 23:42 mongodb_data
drwxrwxr-x 2 mongod mongod        6 Aug 11 23:42 mongodb_log
drwxrwxr-x 3 mongod mongod       16 Aug 11 23:43 mongodb_app
-rw-rw-r-- 1 mongod mongod        0 Aug 12 00:08 Processing
-rw-rw-r-- 1 mongod mongod        0 Aug 12 00:08 Running
-rw-rw-r-- 1 mongod mongod        0 Aug 12 00:08 Package
-rw-rw-r-- 1 mongod mongod        0 Aug 12 00:08 Finished
-rw-r--r-- 1 root   root       5994 Aug 18  2016 mongodb-enterprise-3.2.9-1.el7.x86_64.rpm
-rw-r--r-- 1 root   root   13204786 Aug 18  2016 mongodb-enterprise-server-3.2.9-1.el7.x86_64.rpm
-rw-r--r-- 1 root   root    6012485 Aug 18  2016 mongodb-enterprise-mongos-3.2.9-1.el7.x86_64.rpm
-rw-r--r-- 1 root   root    7684450 Aug 18  2016 mongodb-enterprise-shell-3.2.9-1.el7.x86_64.rpm
-rw-r--r-- 1 root   root   47561654 Aug 18  2016 mongodb-enterprise-tools-3.2.9-1.el7.x86_64.rpm
[mongod@localhost ~]$ rpm -qpl mongodb-enterprise-3.2.9-1.el7.x86_64.rpm
(contains no files)
[mongod@localhost ~]$ rpm -qpl mongodb-enterprise-server-3.2.9-1.el7.x86_64.rpm
/etc/init.d/mongod
/etc/mongod.conf
/etc/sysconfig/mongod
/usr/bin/mongod
/usr/share/doc/mongodb-enterprise-server-3.2.9
/usr/share/doc/mongodb-enterprise-server-3.2.9/LICENSE.txt
/usr/share/doc/mongodb-enterprise-server-3.2.9/MONGOD-MIB.txt
/usr/share/doc/mongodb-enterprise-server-3.2.9/MONGODBINC-MIB.txt
/usr/share/doc/mongodb-enterprise-server-3.2.9/MPL-2
/usr/share/doc/mongodb-enterprise-server-3.2.9/README
/usr/share/doc/mongodb-enterprise-server-3.2.9/README-snmp.txt
/usr/share/doc/mongodb-enterprise-server-3.2.9/THIRD-PARTY-NOTICES
/usr/share/doc/mongodb-enterprise-server-3.2.9/mongod.conf.master
/usr/share/doc/mongodb-enterprise-server-3.2.9/mongod.conf.subagent
/usr/share/man/man1/mongod.1
/var/lib/mongo
/var/log/mongodb
/var/log/mongodb/mongod.log
/var/run/mongodb
[mongod@localhost ~]$ rpm -qpl mongodb-enterprise-mongos-3.2.9-1.el7.x86_64.rpm 
/usr/bin/mongos
/usr/share/man/man1/mongos.1
[mongod@localhost ~]$ rpm -qpl mongodb-enterprise-shell-3.2.9-1.el7.x86_64.rpm 
/usr/bin/mongo
/usr/share/man/man1/mongo.1
[mongod@localhost ~]$ rpm -qpl mongodb-enterprise-tools-3.2.9-1.el7.x86_64.rpm 
/usr/bin/bsondump
/usr/bin/mongodecrypt
/usr/bin/mongodump
/usr/bin/mongoexport
/usr/bin/mongofiles
/usr/bin/mongoimport
/usr/bin/mongooplog
/usr/bin/mongoperf
/usr/bin/mongorestore
/usr/bin/mongostat
/usr/bin/mongotop
/usr/share/man/man1/bsondump.1
/usr/share/man/man1/mongodump.1
/usr/share/man/man1/mongoexport.1
/usr/share/man/man1/mongofiles.1
/usr/share/man/man1/mongoimport.1
/usr/share/man/man1/mongooplog.1
/usr/share/man/man1/mongoperf.1
/usr/share/man/man1/mongorestore.1
/usr/share/man/man1/mongostat.1
/usr/share/man/man1/mongotop.1
[mongod@localhost ~]$


下面是tarball中的readme中显示的部分命令解释:
COMPONENTS


  bin/mongod - The database process.
  bin/mongos - Sharding controller.
  bin/mongo  - The database shell (uses interactive javascript).


UTILITIES


  bin/mongodump         - MongoDB dump tool - for backups, snapshots, etc..
  bin/mongorestore      - MongoDB restore a dump
  bin/mongoexport       - Export a single collection to test (JSON, CSV)
  bin/mongoimport       - Import from JSON or CSV
  bin/mongofiles        - Utility for putting and getting files from MongoDB GridFS
  bin/mongostat         - Show performance statistics

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11780477/viewspace-2123735/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/11780477/viewspace-2123735/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值