zoukankan      html  css  js  c++  java
  • Dell服务器设置iDRAC(远控卡)的ip地址(linux)

    Centos下
    yum -y install OpenIPMI OpenIPMI-tools
    chkconfig ipmi on
    service ipmi start
    ipmitool lan set 1 ipsrc static       改为静态IP
    ipmitool -I open lan set 1 ipaddr 192.168.1.100
    ipmitool -I open lan set 1 defgw ipaddr 192.168.1.1
    ipmitool -I open lan set 1 netmask 255.255.255.0
    ipmitool -I open lan set 1 access on
    ipmitool -I open lan print 1         检查配置是否正确
    
    注意:redhat6.x下需要改yum源才可以使用yum安装OpenIPMI OpenIPMI-tools
    更改方法如下:
    1.备份rhel-source.repo ,并修改yum源
    cd /etc/yum.repos.d/
    cp rhel-source.repo rhel-source.repo.bak
    vi  rhel-source.repo 添加以下配置
    [base]
    
    name=CentOS-$releasever - Base
    
    baseurl=http://mirrors.163.com/centos/6.5/os/$basearch/
    
    gpgcheck=1
    
    gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6
    
    
    #released updates
    
    [updates]
    
    name=CentOS-$releasever - Updates
    
    baseurl=http://mirrors.163.com/centos/6.5/updates/$basearch/
    
    gpgcheck=1
    
    gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6
    
    
    #packages used/produced in the build but not released
    
    #[addons]
    
    #name=CentOS-$releasever - Addons
    
    #baseurl=http://mirrors.163.com/centos/$releasever/addons/$basearch/
    
    #gpgcheck=1
    
    #gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6
    
    #additional packages that may be useful
    
    [extras]
    
    name=CentOS-$releasever - Extras
    
    baseurl=http://mirrors.163.com/centos/6.5/extras/$basearch/
    
    gpgcheck=1
    
    gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6
    
    #additional packages that extend functionality of existing packages
    
    [centosplus]
    
    name=CentOS-$releasever - Plus
    
    baseurl=http://mirrors.163.com/centos/6.5/centosplus/$basearch/
    
    gpgcheck=1
    
    enabled=0
    

      

  • 相关阅读:
    Swift 网络请求数据与解析
    第三方-Swift2.0后Alamofire的使用方法
    java异常处理机制throws
    eclipse导入不到嵌套的项目
    java异常处理机制Exception
    在eclipse中查找指定文件
    mysql查询count
    【待解决】An internal error occurred during: "Launching baiduTest1". java.lang.NullPointerException
    TestNG升级
    eclipse安装TestNG插件
  • 原文地址:https://www.cnblogs.com/ssc4469/p/4087343.html
Copyright © 2011-2022 走看看