【问题标题】:cassandra installing on centOS 6 using yum install dsc20 says following and not installed使用 yum install dsc20 在 centOS 6 上安装 cassandra 说如下但未安装
【发布时间】:2014-03-13 23:21:18
【问题描述】:

加载的插件:fastestmirror,refresh-packagekit 从缓存的主机文件加载镜像速度 * base:ftp.osuosl.org * extras:centosy3.centos.org * rpmforge:repoforge.mirror.constant.com * 更新:centosu5.centos。组织数据税 | 951 B 00:00 设置安装过程没有可用的软件包 dsc20。

【问题讨论】:

  • 存储在 /etc/yum.repos.d/datastax.repo 的 repo 中 [datastax] name = DataStax Repo for Apache Cassandra baseurl = rpm.datastax.com/community enabled = 1 gpgcheck = 0
  • 我认为这个问题更适合其他 stackexchange 平台,如超级用户或 unix?

标签: cassandra yum centos6


【解决方案1】:

正如 Orajinder 指出的,您需要执行以下操作:

将 repo 添加到支持的存储库列表中:

sudo vim /etc/yum.repos.d/datastax.repo

[datastax]
name= DataStax Repo for Apache Cassandra
baseurl=http://rpm.datastax.com/community
enabled=1
gpgcheck=0

然后安装

sudo yum install dsc20

【讨论】:

  • 应该注意的是,对于其他 datastax 产品,您实际上需要用户身份验证才能下拉版本,并且您需要更新 baseurl 以反映这一点。
猜你喜欢
  • 2014-09-14
  • 2014-11-10
  • 2016-03-09
  • 2011-03-31
  • 2011-01-08
  • 2012-07-26
  • 2012-11-10
  • 1970-01-01
  • 2017-01-11
相关资源
最近更新 更多