您好我是使用mongodb的新手,我正在按照步骤从网络安装mongodb Installing mongodb enterprise on red hat
我使用命令:
sudo yum install -y mongodb-enterprise
和终端打印:
Loaded plugins: product-id, refresh-packagekit, security, subscription-managerThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.Repository 'repository_url': Error parsing config: Error parsing "baseurl = 'repository_url'": URL must be http, ftp, file or https not ""Setting up Install ProcessResolving Dependencies--> Running transaction check---> Package mongodb-enterprise.x86_64 0:3.4.11-1.el6 will be installed--> Processing Dependency: mongodb-enterprise-tools = 3.4.11 for package: mongodb-enterprise-3.4.11-1.el6.x86_64--> Processing Dependency: mongodb-enterprise-shell = 3.4.11 for package: mongodb-enterprise-3.4.11-1.el6.x86_64--> Processing Dependency: mongodb-enterprise-server = 3.4.11 for package: mongodb-enterprise-3.4.11-1.el6.x86_64--> Processing Dependency: mongodb-enterprise-mongos = 3.4.11 for package: mongodb-enterprise-3.4.11-1.el6.x86_64--> Running transaction check---> Package mongodb-enterprise-mongos.x86_64 0:3.4.11-1.el6 will be installed---> Package mongodb-enterprise-server.x86_64 0:3.4.11-1.el6 will be installed--> Processing Dependency: openssl >= 1.0.1 for package: mongodb-enterprise-server-3.4.11-1.el6.x86_64---> Package mongodb-enterprise-shell.x86_64 0:3.4.11-1.el6 will be installed--> Processing Dependency: openssl >= 1.0.1 for package: mongodb-enterprise-shell-3.4.11-1.el6.x86_64---> Package mongodb-enterprise-tools.x86_64 0:3.4.11-1.el6 will be installed--> Processing Dependency: openssl >= 1.0.1 for package: mongodb-enterprise-tools-3.4.11-1.el6.x86_64--> Finished Dependency ResolutionError: Package: mongodb-enterprise-server-3.4.11-1.el6.x86_64 (mongodb-enterprise) Requires: openssl >= 1.0.1 Installed: openssl-1.0.0-27.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4) openssl = 1.0.0-27.el6Error: Package: mongodb-enterprise-tools-3.4.11-1.el6.x86_64 (mongodb-enterprise) Requires: openssl >= 1.0.1 Installed: openssl-1.0.0-27.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4) openssl = 1.0.0-27.el6Error: Package: mongodb-enterprise-shell-3.4.11-1.el6.x86_64 (mongodb-enterprise) Requires: openssl >= 1.0.1 Installed: openssl-1.0.0-27.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4) openssl = 1.0.0-27.el6 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
但我已经安装了openssl: 命令
openssl version
打印:
OpenSSL 1.0.2n 7 Dec 2017
如您所见,我已经安装了openssl。所以我的步骤出了什么问题。