Chinaunix首页 | 论坛 | 博客

  • 博客访问: 284836
  • 博文数量: 56
  • 博客积分: 2587
  • 博客等级: 少校
  • 技术积分: 736
  • 用 户 组: 普通用户
  • 注册时间: 2007-12-12 14:30
文章分类
文章存档

2012年(19)

2011年(7)

2010年(24)

2009年(4)

2008年(2)

我的朋友

分类:

2010-12-23 10:40:05

centos5.2
系统安装成功后。配置Dell OpenManage Server Administrator。
1.使用root登陆服务器。
[root@localhost ~]# mount /dev/cdrom /mnt
把光驱挂在/mnt 下。
2.进入/mnt目录下
[root@localhost ~]# cd /mnt/SYSMGMT/srvadmin/
[root@localhost  srvadmin]# cp -R linux/ /home/admin/     
把linxu目录拷贝到/home/admin/下。
3.进入/home/admin/linux
[root@localhost ~]#cd /home/admin/linux
设置 support.s目录755的权限。
[root@localhost linux]# chmod -R 755 support.s/*
4.编辑srvadmin-install.sh文件。
[root@localhost support.s]# vi srvadmin-install.sh
 # Check if operating system is RHEL3.
    if [ -f /etc/redhat-release ] && [ `grep -c "Taroon" /etc/redhat-release` -gt 0 ]; then
        GBL_OS_TYPE=${GBL_OS_TYPE_RHEL3}
        GBL_OS_TYPE_STRING="RHEL3"

    # Else check if operating system is RHEL4.
    elif [ -f /etc/redhat-release ] && [ `grep -c "Nahant" /etc/redhat-release` -gt 0 ]; then
        GBL_OS_TYPE=${GBL_OS_TYPE_RHEL4}
        GBL_OS_TYPE_STRING="RHEL4"

    # Else check if operating system is RHEL5.
    elif [ -f /etc/redhat-release ] && [ `grep -c "Tikanga" /etc/redhat-release` -gt 0 ]; then
        GBL_OS_TYPE=${GBL_OS_TYPE_RHEL5}
        GBL_OS_TYPE_STRING="RHEL5"
 修改grep -c "Tikanga" /etc/redhat-release` -gt 0 为grep -c "CentOS release 5.2 (Final)" /etc/redhat-release` -gt 0。
系统的版本可以从/etc/redhat-releasec查到。修改后保存文件。
服务器的版本。
[root@localhost support.s]# cat /etc/redhat-release
CentOS release 5.2 (Final)
5.开始安装:
[root@localhost support.s]# ./srvadmin-install.sh
##############################################
  Server Administrator Custom Install Utility
##############################################
  Components for Server Administrator Managed Node Software:
    [ ] 1. Server Administrator CLI
    [ ] 2. Server Administrator Web Server
    [ ] 3. Storage Management
    [ ] 4. All
  Enter the number to select a component from the above list.
  Enter q to quit.
  Enter : 4 我选择全部安装
##############################################
  Server Administrator Custom Install Utility
##############################################
  Selected Options
   - All
  Dependencies
   - Server Administrator CLI
   - Server Administrator Web Server
   - Storage Management
  Components for Server Administrator Managed Node Software:
    [x] 1. Server Administrator CLI
    [x] 2. Server Administrator Web Server
    [x] 3. Storage Management
    [x] 4. All
  Enter the number to select a component from the above list.
  Enter c to copy selected components to destination folder.
  Enter i to install the selected components.
  Enter r to reset selection and start over.
  Enter q to quit.
  Enter : i
  Default install location is: /opt/dell/srvadmin
  Do you want to change it?
  Press ('y' for yes | 'Enter' for default): Enter'
Installing the selected packages.
warning: srvadmin-cm-5.5.0-364.i386.rpm: Header V3 DSA signature: NOKEY, key ID 23b66a9d
Preparing...                ########################################### [100%]
   1:srvadmin-omilcore      ########################################### [  8%]
     To start all installed services without a reboot,
     enter the following command:  srvadmin-services.sh  start
   2:srvadmin-syscheck      ########################################### [ 15%]
   3:srvadmin-deng          ########################################### [ 23%]
   4:srvadmin-omauth        ########################################### [ 31%]
   5:srvadmin-omacore       ########################################### [ 38%]
   6:srvadmin-jre           ########################################### [ 46%]
   7:srvadmin-ipmi          ########################################### [ 54%]
   8:srvadmin-hapi          ########################################### [ 62%]
   9:srvadmin-isvc          ########################################### [ 69%]
  10:srvadmin-cm            ########################################### [ 77%]
  11:srvadmin-iws           ########################################### [ 85%]
  12:srvadmin-omhip         ########################################### [ 92%]
  13:srvadmin-storage       ########################################### [100%]
   Do you want the Server Administrator services started?
   Press ('y' for yes | 'Enter' to exit): y
Starting mptctl:
Waiting for mptctl driver registration to complete:
                                                           [  OK  ]
Starting Systems Management Device Drivers:
Starting dell_rbu:                                         [  OK  ]
Starting ipmi driver:                                      [  OK  ]
Starting Systems Management Data Engine:
Starting dsm_sa_datamgr32d:                                [  OK  ]
Starting dsm_sa_eventmgr32d:                               [  OK  ]
Starting DSM SA Shared Services:                           [  OK  ]
Starting DSM SA Connection Service:                        [  OK  ]
6.访问
https://服务器名或ip地址:1311
出现成功界面。使用用户名及密码登陆吧。
如果安装出现错误。请安装相应的软件包
如:
warning: srvadmin-cm-5.5.0-364.i386.rpm: Header V3 DSA signature: NOKEY, key ID 23b66a9d
error: Failed dependencies:
        libstdc++.so.5 is needed by srvadmin-iws-5.5.0-364.i386
        libstdc++.so.5(GLIBCPP_3.2) is needed by srvadmin-iws-5.5.0-364.i386
        libstdc++.so.5 is needed by srvadmin-omacore-5.5.0-364.i386
        libstdc++.so.5(GLIBCPP_3.2) is needed by srvadmin-omacore-5.5.0-364.i386
        libstdc++.so.5(GLIBCPP_3.2.2) is needed by srvadmin-omacore-5.5.0-364.i386
 -   Installation of some of the packages have failed.
 -   Please refer to 'readme_ins.txt' file for more details.
 -   The readme_ins.txt can be found in srvadmin/docs/readme folder
安装
[root@localhost opt]# yum -y install compat-libstdc++-33
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package compat-libstdc++-33.i386 0:3.2.3-61 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 compat-libstdc++-33     i386       3.2.3-61         base              232 k
Transaction Summary
=============================================================================
Install      1 Package(s)        
Update       0 Package(s)        
Remove       0 Package(s)        
Total download size: 232 k
Downloading Packages:
(1/1): compat-libstdc++-3 100% |=========================| 232 kB    00:01    
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
Importing GPG key 0xE8562897 "CentOS-5 Key (CentOS 5 Official Signing Key) <>" from
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: compat-libstdc++-33          ######################### [1/1]
Installed: compat-libstdc++-33.i386 0:3.2.3-61
Complete!
阅读(3040) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-12-23 14:45:13

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com