微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

linux – 如何安装HP CentOS repo

我一直在寻找答案,但无法找到任何适合我的说明.

我想为我的新ML310e Gen8服务器安装HP CentOS repo,我可以为它设置洞察管理软件等.

谢谢

解决方法

你正在寻找 HP Software Delivery Repository (HP-SDR). process to install it is documented pretty well here.

我通过Puppet这样做,但手动运行也没什么大不了的:

有HP管理组件包(MCP)和HP Support Pack for ProLiant(SPP).从技术上讲,CentOS应该使用MCP,而Red Hat应该使用SPP.我只是将HP SPP用于所有方面.

在您的情况下,只需下载add_repo.sh脚本.该脚本很愚蠢,因为它需要安装redhat-lsb软件包.最后,您的命令将如下所示:

# sh add_repo.sh -d RedHat spp

完成后,您可以通过yum安装HP代理.对于您的服务器,我建议是这样的:百胜安装HP-SNMP代理hpssa HP-健康hpsmh处的模板hpsmh处hpssacli HPONCFG也许百胜安装的kmod-hpahcisr如果你有一个动态智能阵列控制器.

完整命令用法

[root@mdmarra ~]# sh add_repo.sh 

  Usage: add_repo.sh <RepoName>

    eg: where <RepoName> might be "spp" (Support Pack for Proliant)
        or any directory found in http://downloads.linux.hp.com/SDR/repo

    normally the distribution,version,architecture and other information
    is auto-detected.  You made override these attributes with the following:

         [ -a <Architecture> ]     override to specified Linux architecture
         [ -d <distribution> ]     override to specified Linux distribution
         [ -r <Release> ]          override to specified Linux release

         [ -R <Revision> ]         override to specified product revison

         [ -o <OutputDirectory> ]  override default output directory
         [ -s <APTConfigFile> ]    override default APT configuration file
         [ -y <YUMConfigFile> ]    override default YUM configuration file
         [ -z <ZYPPConfigFile> ]   override default ZYPP configuration file

         [ -m <TransportMethod> ]  override default transport protocol
                                   (ftp or http)
         [ -w <WaystationHost> ]   override default waystation host
         [ -u <URLPrefix> ]        override default URL prefix

原文地址:https://www.jb51.cc/linux/395559.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐