在网格控制的OMA端,如果未安装yast包, adminstration选项卡则无法显示正常!
- [root@primary ~]# wget http://oss.oracle.com/projects/yast/dist/files/el5/x86_64/yast_el5_x86_64.tar
- [root@primary ~]# tar -xvf yast_el5_x86_64.tar
- [root@primary ~]# cd yast_el5_x86_64
- [root@primary yast_el5_x86_64]# ./install.sh
- Now checking the necessary rpms...........
- Checking dbus ....... found
- Checking hal ....... found
- Checking perl ....... found
- Checking coreutils ....... found
- Checking curl ....... found
- Checking unzip ....... found
- Checking tar ....... found
- Checking gzip ....... found
- Checking glibc-common ....... found
- Checking initscripts ....... found
- Checking cracklib ....... found
- Checking perl-Digest-SHA1 ....... not found
- Checking boost ....... found
- Now checking the necessary tools...........
- Checking /bin/bash ....... found
- Checking /bin/ln ....... found
- Checking /bin/mktemp ....... found
- Checking /bin/rm ....... found
- Checking /bin/sed ....... found
- Checking /bin/sh ....... found
- Checking /sbin/ldconfig ....... found
- Checking /usr/bin/env ....... found
- Checking /usr/bin/find ....... found
- Checking /usr/bin/host ....... found
- Checking /usr/bin/perl ....... found
- Checking /usr/bin/python ....... found
- Checking /usr/bin/xargs ....... found
- Checking /usr/sbin/lsof ....... found
- The following requirements aren't found.
- perl-Digest-SHA1
- Some requirements are not statisfied, please install them first. Or use system-config-packages to adjust OS
- installation and make sure that Development Tools, Authoring and Publishing, Server, Legacy Software Development are selected!
- [root@primary yast_el5_x86_64]# wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/perl-Digest-SHA1-2.11-1.2.1.x86_64.rpm
- --2011-09-27 19:04:49-- http://mirror.centos.org/centos/5/os/x86_64/CentOS/perl-Digest-SHA1-2.11-1.2.1.x86_64.rpm
- Resolving mirror.centos.org... 67.203.12.30
- Connecting to mirror.centos.org|67.203.12.30|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 50168 (49K) [application/x-rpm]
- Saving to: `perl-Digest-SHA1-2.11-1.2.1.x86_64.rpm'
- 100%[=================================================>] 50,168 45.2K/s in 1.1s
- 2011-09-27 19:04:52 (45.2 KB/s) - `perl-Digest-SHA1-2.11-1.2.1.x86_64.rpm' saved [50168/50168]
- [root@primary yast_el5_x86_64]# rpm -ivh perl-Digest-SHA1-2.11-1.2.1.x86_64.rpm
- warning: perl-Digest-SHA1-2.11-1.2.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
- Preparing... ########################################### [100%]
- 1:perl-Digest-SHA1 ########################################### [100%]
- [root@primary yast_el5_x86_64]# sh install.sh
- Now checking the necessary rpms...........
- Checking dbus ....... found
- Checking hal ....... found
- Checking perl ....... found
- Checking coreutils ....... found
- Checking curl ....... found
- Checking unzip ....... found
- Checking tar ....... found
- Checking gzip ....... found
- Checking glibc-common ....... found
- Checking initscripts ....... found
- Checking cracklib ....... found
- Checking perl-Digest-SHA1 ....... found
- Checking boost ....... found
- Now checking the necessary tools...........
- Checking /bin/bash ....... found
- Checking /bin/ln ....... found
- Checking /bin/mktemp ....... found
- Checking /bin/rm ....... found
- Checking /bin/sed ....... found
- Checking /bin/sh ....... found
- Checking /sbin/ldconfig ....... found
- Checking /usr/bin/env ....... found
- Checking /usr/bin/find ....... found
- Checking /usr/bin/host ....... found
- Checking /usr/bin/perl ....... found
- Checking /usr/bin/python ....... found
- Checking /usr/bin/xargs ....... found
- Checking /usr/sbin/lsof ....... found
- Environment is OK. Now begin installing yast.........
- Preparing... ########################################### [100%]
- 1:liby2util ########################################### [100%]
- Preparing... ########################################### [100%]
- 1:blocxx ########################################### [100%]
- Preparing... ########################################### [100%]
- 1:libxcrypt ########################################### [100%]
- Preparing... ########################################### [100%]
- 1:testutf8 ########################################### [100%]
- Preparing... ########################################### [100%]
- 1:yast2-core ########################################### [100%]
- Preparing... ########################################### [100%]
- 1:hwinfo ########################################### [100%]
- Preparing... ########################################### [100%]
- 1:yast2-hardware-detectio########################################### [100%]
- Preparing... ########################################### [100%]
- 1:libzypp ########################################### [100%]
- Preparing... ########################################### [100%]
- 1:yast2-pkg-bindings ########################################### [100%]
- Preparing... ########################################### [100%]
- 1:yast2 ########################################### [100%]
- Preparing... ########################################### [100%]
- 1:yast2-network ########################################### [100%]
- Preparing... ########################################### [100%]
- 1:perl-Parse-RecDescent ########################################### [100%]
- Preparing... ########################################### [100%]
- 1:perl-gettext ########################################### [100%]
- Preparing... ########################################### [100%]
- 1:perl-X500-DN ########################################### [100%]
- Preparing... ########################################### [100%]
- 1:yast2-pam ########################################### [100%]
- Preparing... ########################################### [100%]
- 1:yast2-perl-bindings ########################################### [ 14%]
- 2:yast2-mail-aliases ########################################### [ 29%]
- 3:yast2-ldap-client ########################################### [ 43%]
- 4:yast2-security ########################################### [ 57%]
- 5:yast2-country ########################################### [ 71%]
- 6:yast2-installation ########################################### [ 86%]
- 7:yast2-users ########################################### [100%]
- Preparing... ########################################### [100%]
- 1:yast2-nfs-client ########################################### [100%]
- Preparing... ########################################### [100%]
- 1:yast2-runlevel ########################################### [100%]
- Preparing... ########################################### [100%]
- 1:yast2-ncurses ########################################### [100%]
- Preparing... ########################################### [100%]
- 1:yast2-EM ########################################### [100%]
- Finished. Use /sbin/yast or /sbin/yast2 to start it
使用ias-console管理OMS
- [oracle@gc bin]$ pwd
- /u01/app/oracle/product/10.2.0.3/oms10g/bin
- [oracle@gc bin]$ ./emctl status iasconsole
- Oracle Enterprise Manager 10g Release 3 Grid Control
- Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
- Oracle 10g Application Server Control is not running.
- [oracle@gc bin]$ ./emctl start iasconsole
- Oracle Enterprise Manager 10g Release 3 Grid Control
- Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
- Starting Oracle 10g Application Server Control .......... started.
- [oracle@gc bin]$ netstat -ntpl |grep :1156
- (Not all processes could be identified, non-owned process info
- will not be shown, you would have to be root to see it all.)
- tcp 0 0 0.0.0.0:1156 0.0.0.0:* LISTEN 19223/java
用户名为ias_admin
本文转自斩月博客51CTO博客,原文链接http://blog.51cto.com/ylw6006/675470如需转载请自行联系原作者
ylw6006