How to Boot Oracle Linux into Rescue Mode

GOAL

It is possible to boot Linux in rescue mode using the installation media and bypassing the disk. During the rescue session, you can choose network. Once the system is up, you will have access to the disk.

Note: In rescue mode, HDD/NIC will be recognized by the rescue mode OS, and they could be different from the names in normal boot

 

SOLUTION

Follow the below steps to boot in rescue mode:
1) Boot from the Linux  Installation Media   (this may require you to change the bios to boot from dvd)
2) Choose Rescue Mode by typing the following at the boot prompt and pressing <Enter>:

linux rescue
1
3) Choose the Language
Select desired language using arrow keys then press enter.
4) Choose Keyboard Type
Select desired keyboard type using arrow keys then press enter.
2
5) Network Interfaces
The network interfaces are unnecessary. Use arrow keys to highlight No then press enter.
4
6) Choose to mount the filesystem atutomatically. or choose Skip mounting current system if you intend to fsck the disk (a filesystem that will be fsck-ed should be unmounted)
5

Linux Booting in Rescue Mode with PXE

APPLIES TO:

Linux OS – Version: 4.4 to 5.3 – Release: OEL4U4 to OEL5U3
Linux x86
Linux x86-64

GOAL

To be able to boot into Rescue Mode with PXE

SOLUTION

Requirements

  • DHCP Server
  • TFTP Server
  • HTTP Server

In the following Example the dhcp, tftp and http server is 192.168.79.110. The server that should be booted with PXE has the MAC Address: 00:16:3E:53:17:D7

Configuration

  1. add the following entry into your dhcpd.conf
    host pxetest {
    hardware ethernet 00:16:3E:53:17:D7;
    next-server 192.168.79.110;
    filename "/el4u5/pxelinux.0";
    }

    – restart the dhcpd server

  2. kickstart config ( in /var/ww/kickstart/ks.cfg ):
    lang en_US.UTF-8
    langsupport --default=en_US.UTF-8 en_US.UTF-8
    keyboard us
    mouse none
    url --url http://192.168.79.110/el4u5/
    network --bootproto=dhcp
  3. mount an Enterprise Linux iso file
    # mount -o loop Enterprise-R4-U5-i386-dvd.iso /var/www/el4u5
  4. copy all necessary files to /tftpboot/el4u5
    # up2date syslinux
    # mkdir /tftpboot
    # mkdir /tftpboot/el4u5
    # cp /usr/lib/syslinux/pxelinux.0 /tftpboot/el4u5
    # mkdir /tftpboot/el4u5/pxelinux.cfg
    # touch /tftpboot/el4u5/pxelinux.cfg/default
    # cp /var/www/el4u5/images/pxeboot/* /tftpboot/el4u5/

  5. configure /tfpboot/pxelinux.cfg/default entries:
    default linux
    timeout 100
    prompt 1

    LABEL linux
    KERNEL vmlinuz
    APPEND initrd=initrd.img ramdisk_size=10000 text rescue ks=http://192.168.79.110/kickstart/ks.cfg

  6. httpd config ( not necessary if you already have a running httpd )
    DocumentRoot "/var/www"

    # This should be changed to whatever you set DocumentRoot to.
    #
    <Directory "/var/www">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>

    – start httpd

    # /etc/init.d/httpd start
  7. tftp server
    – install tftp server

    # up2date tftp-server

    – enable the tftp server

    # /sbin/chkconfig --level 345 xinetd on

    – in /etc/xinetd.d/tfpt change

    "disable = yes"

    to

    "disable = no"

    – restart xinetd

    # /etc/init.d/xinetd restart

    Now your client 00:16:3E:53:17:D7, if pxe boot enabled, will boot into Rescue Mode.

linux网络监控命令集锦

linux网络监控命令集锦

 

iproute 包下的ss命令很有用,例如:

Task: Display All Open Network Ports

# ss -l

 

监控SMTP连接

# ss -o state established '( dport = :smtp or sport = :smtp )'

监控HTTP连接

# ss -o state established '( dport = :http or sport = :http )'

 

watch -n 1 ” ss -o state established ‘( dport = :http or sport = :http )'”

 

 

在Linux 6上使用UDEV解决RAC ASM存储设备名问题

Maclean一直是使用UDEV替代ASMLIB做RAC存储设备名绑定的拥护者,相关的专题文章可以作为读者的预读知识是:
Why ASMLIB and why not?
利用UDEV服务解决RAC ASM存储设备名 

 

在《利用UDEV服务解决RAC ASM存储设备名 》一文中我推荐了自己写的一个脚本,该脚本会自动生成udev rule规则文件:

 

for i in b c d e f g h i j k ;
do
echo "KERNEL==\"sd*\", BUS==\"scsi\", PROGRAM==\"/sbin/scsi_id -g -u -s %p\", RESULT==\"`scsi_id -g -u -s /block/sd$i`\", NAME=\"asm-disk$i\", OWNER=\"grid\", GROUP=\"asmadmin\", MODE=\"0660\""
done

 

以上脚本在Linux 5上是通用的, 但是有同学反映在redhat/Oracle Linux 6以上版本中该脚本失效了。

这是因为:

在OEL6或者RHEL6中,这一切都有所变化。

主要的变化是:
1. scsi_id的命令语法发生了变化,scsi_id -g -u -s这样的命令不再有效。
2. udevtest命令已经没有了,整合到了udevadm中。
How to use udev for Oracle ASM in Oracle Linux 6  

 

 

下面我提供改良后的脚本,可以在redhat/Oracle Linux 6上生成正确的udev rule 规则文件:

 

 

1.

#首先确认是 Linux 6.0以上版本

[root@vrh6 dev]# cat /etc/issue          
Oracle Linux Server release 6.2
Kernel \r on an \m

2.

#添加记录到/etc/scsi_id.config

echo "options=--whitelisted --replace-whitespace"  >> /etc/scsi_id.config

3. 

#确认哪些块设备需要udev绑定

[root@vrh6 dev]# ls -l sd*
brw-rw----. 1 root disk 8,  0 Jun 30 09:29 sda
brw-rw----. 1 root disk 8,  1 Jun 30 09:29 sda1
brw-rw----. 1 root disk 8,  2 Jun 30 09:29 sda2
brw-rw----. 1 root disk 8, 16 Jun 30 09:29 sdb
brw-rw----. 1 root disk 8, 32 Jun 30 09:29 sdc
brw-rw----. 1 root disk 8, 48 Jun 30 09:29 sdd
brw-rw----. 1 root disk 8, 64 Jun 30 09:29 sde
brw-rw----. 1 root disk 8, 80 Jun 30 09:29 sdf

例如在本实例中 sdb-> sdf的块设备需要绑定

4. 将 b->f的编号放入for 循环中,例如:
# AUTO UDEV RULE BY Maclean Liu 2012/06/30
for i in b c d e f ;
do
echo "KERNEL==\"sd*\", BUS==\"scsi\", PROGRAM==\"/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name\", RESULT==\"`/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/sd$i`\", NAME=\"asm-disk$i\", OWNER=\"grid\", GROUP=\"asmadmin\", MODE=\"0660\""      
done

就会生成sdb->sdf 设备绑定的RULE,在将这些RULE写入到/etc/udev/rules.d/99-oracle-asmdevices.rules中

也可以直接利用以下脚本 ,写出RULE到99-oracle-asmdevices.rules

# AUTO UDEV RULE BY Maclean Liu 2012/06/30
for i in b c d e f ;
do
echo "KERNEL==\"sd*\", BUS==\"scsi\", PROGRAM==\"/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name\", RESULT==\"`/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/sd$i`\", NAME=\"asm-disk$i\", OWNER=\"grid\", GROUP=\"asmadmin\", MODE=\"0660\""      >> /etc/udev/rules.d/99-oracle-asmdevices.rules
done

5. 之后运行用root运行/sbin/start_udev  即可

 

 

 

实际运行示例:

 

[root@vrh6 dev]# echo "options=--whitelisted --replace-whitespace"  >> /etc/scsi_id.config
[root@vrh6 dev]# for i in b c d e f ;
> do
> echo "KERNEL==\"sd*\", BUS==\"scsi\", PROGRAM==\"/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name\", RESULT==\"`/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/sd$i`\", NAME=\"asm-disk$i\", OWNER=\"grid\", GROUP=\"asmadmin\", MODE=\"0660\""      >> /etc/udev/rules.d/99-oracle-asmdevices.rules
> done
[root@vrh6 dev]# 

[root@vrh6 dev]# cat /etc/udev/rules.d/99-oracle-asmdevices.rules
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="1ATA_VBOX_HARDDISK_VB09cadb31-cfbea255", NAME="asm-diskb", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="1ATA_VBOX_HARDDISK_VB5f097069-59efb82f", NAME="asm-diskc", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="1ATA_VBOX_HARDDISK_VB4e1a81c0-20478bc4", NAME="asm-diskd", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="1ATA_VBOX_HARDDISK_VBdcce9285-b13c5a27", NAME="asm-diske", OWNER="grid", GROUP="asmadmin", MODE="0660"
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name", RESULT=="1ATA_VBOX_HARDDISK_VB82effe1a-dbca7dff", NAME="asm-diskf", OWNER="grid", GROUP="asmadmin", MODE="0660"

[root@vrh6 dev]# 

[root@vrh6 dev]# /sbin/start_udev
Starting udev:                                             [  OK  ]

[root@vrh6 dev]# ls -l asm*
brw-rw----. 1 grid asmadmin 8, 16 Jun 30 09:34 asm-diskb
brw-rw----. 1 grid asmadmin 8, 32 Jun 30 09:34 asm-diskc
brw-rw----. 1 grid asmadmin 8, 48 Jun 30 09:34 asm-diskd
brw-rw----. 1 grid asmadmin 8, 64 Jun 30 09:34 asm-diske
brw-rw----. 1 grid asmadmin 8, 80 Jun 30 09:34 asm-diskf

Oracle Database 11g R2 在Oracle Linux 6上获得认证

在美国时间的2012年的3月22日Oracle官方认证了oracle Linux 6上的Oracle Database 11gR2 ,这要说起有那么一点点绕口,但是我相信既然这些产品都已经是oracle的了,那么今后的Certification认证速度将更那么及时一点。  好了 , OEL 6+ DB 11gR2的组合认证是我们等了很久的了,实际上相信有不少朋友已经成功安装并且在使用这样的组合了。

Oracle官方声明将继续支持客户在RHEL 6上运行Oracle database 11gR2 ,且保持与Redhat Linux的兼容性(当然如果你想要11gR2的完整体验,例如smart flash cache特性的话,那么你仍需要Oracle Linux 6 ):

 

  • Oracle Database 11g Release 2 (R2) and Oracle Fusion Middleware 11g Release 1 (R1) are immediately available on Oracle Linux 6 with the Unbreakable Enterprise Kernel.
  • Oracle Database 11g R2 and Oracle Fusion Middleware 11g R1 will be available on Red Hat Enterprise Linux 6 (RHEL6) and Oracle Linux 6 with the Red Hat Compatible Kernel in 90 days.
  • Oracle offers direct Linux support to customers running RHEL6, Oracle Linux 6, or a combination of both.
  • Oracle Linux will continue to maintain compatibility with Red Hat Linux.

 

现在从MOS的Certifications专栏上可以发现版本 11.2.0.3 在Oracle Linux 6上获得了certified (Oracle Database 11.2.0.3.0 is certified on Linux x86-64 Oracle Linux 6),但是版本 11.2.0.2 没有通过certified:

 

Oracle Database 11.2.0.3.0 with Linux x86-64 Oracle Linux 6

Note: Currently, only Unbreakable Enterprise Kernel R.1 (UEK 1) is certified

Product: For general information relating to certification for the Oracle Database product, including virtualization, interoperability, binary compatibiliy, general release and patch set information, see Core Database Certification Information (Doc ID 1306539.1).
Oracle R Enterprise Server is supported on Linux x86-64. The following are the supported operating system versions:
Oracle Linux 5 Update 6 or higer
Red Hat Enterprise Linux 5 Update 6 or higherOracle R Enterprise Client is supported on Linux x86-64 and Windows x86-64. The following are the supported operating system versions:
Oracle Linux 5 Update 6 or higher (64-bit)
Red Hat 5 Update 6 or higher (64-bit)
Microsoft Windows XP with Service Pack 3 or higher (32-bit and 64-bit)
Microsoft Windows 7 Service Pack 1 or higher (32-bit and 64-bit)

Platform: For details about certification of all Oracle Database releases on Linux x86-64, click here.

Certification: For details specific to the certification of Oracle Database Release 11.2 on Linux x86-64, click here.

 

Support Information

Oracle Database 11.2.0.3.0

End of Premier Support End of Error Correction End of Extended Support End of Sustaining Support
31-Jan-2015 Not Set 31-Jan-2018 Indefinite

Oracle RDBMS Server 11gR2 Preinstall RPM For Oracle Linux 6

在之前的文章中我推荐过使用oracle-validated RPM包来简化OEL 5上Oracle DB/RDBMS Server软件的安装准备工作, 而在OEL 6之后的Oracle Linux中一直没有oracle-validated RPM可用,直到最近Oracle Linux官方释出了oracle-rdbms-server-11gR2-preinstall RPM包,该oracle-rdbms-server-11gR2-preinstall package专门为Oracle Linux 6设计,辅助加速Oracle Database软件的安装。

我们可以访问 Unbreakable Linux Network 或者 Oracle public yum repository 获得该preinstall package RPM,这里我们介绍一下public yum的使用方法:

 

 

[root@vrh6 ~]# uname -a
Linux vrh6 2.6.32-300.3.1.el6uek.x86_64 #1 SMP Fri Dec 9 18:57:35 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

[root@vrh6 ~]# cat /etc/issue
Oracle Linux Server release 6.2
Kernel r on an m
www.askmac.cn 

su -  root

[root@vrh6 ~]# cd /etc/yum.repos.d

[root@vrh6 yum.repos.d]# wget http://public-yum.oracle.com/public-yum-ol6.repo


 --2012-04-02 07:52:31--  http://public-yum.oracle.com/public-yum-ol6.repo
Resolving public-yum.oracle.com... 141.146.44.34
Connecting to public-yum.oracle.com|141.146.44.34|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1461 (1.4K) [text/plain]
Saving to: “public-yum-ol6.repo”

100%[==============================================================================================================================>] 1,461       --.-K/s   in 0.003s  

2012-04-02 07:52:32 (536 KB/s) - “public-yum-ol6.repo” saved [1461/1461]

[root@vrh6 yum.repos.d]# cat public-yum-ol6.repo
[ol6_latest]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1

[ol6_ga_base]
name=Oracle Linux $releasever GA installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/0/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0

[ol6_u1_base]
name=Oracle Linux $releasever Update 1 installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/1/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0

[ol6_u2_base]
name=Oracle Linux $releasever Update 2 installation media copy ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/2/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0

[ol6_UEK_latest]
name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0

[ol6_UEK_base]
name=Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/base/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=0

[root@vrh6 yum.repos.d]# yum install oracle-rdbms-server-11gR2-preinstall
Loaded plugins: security
ol6_latest                                                                                                                                       | 1.1 kB     00:00     
ol6_latest/primary                                                                                                                               |  15 MB     01:07     
ol6_latest                                                                                                                                                  14723/14723
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-3.el6 will be installed
--> Processing Dependency: xorg-x11-utils for package: oracle-rdbms-server-11gR2-preinstall-1.0-3.el6.x86_64
--> Processing Dependency: gcc-c++ for package: oracle-rdbms-server-11gR2-preinstall-1.0-3.el6.x86_64
--> Processing Dependency: gcc for package: oracle-rdbms-server-11gR2-preinstall-1.0-3.el6.x86_64
--> Processing Dependency: libstdc++-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-3.el6.x86_64
--> Processing Dependency: glibc-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-3.el6.x86_64
--> Processing Dependency: compat-libstdc++-33 for package: oracle-rdbms-server-11gR2-preinstall-1.0-3.el6.x86_64
--> Processing Dependency: xorg-x11-xauth for package: oracle-rdbms-server-11gR2-preinstall-1.0-3.el6.x86_64
--> Processing Dependency: libaio-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-3.el6.x86_64
--> Processing Dependency: ksh for package: oracle-rdbms-server-11gR2-preinstall-1.0-3.el6.x86_64
--> Processing Dependency: compat-libcap1 for package: oracle-rdbms-server-11gR2-preinstall-1.0-3.el6.x86_64
--> Running transaction check
---> Package compat-libcap1.x86_64 0:1.10-1 will be installed
---> Package compat-libstdc++-33.x86_64 0:3.2.3-69.el6 will be installed
---> Package gcc.x86_64 0:4.4.6-3.el6 will be installed
--> Processing Dependency: cpp = 4.4.6-3.el6 for package: gcc-4.4.6-3.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-3.el6.x86_64
---> Package gcc-c++.x86_64 0:4.4.6-3.el6 will be installed
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-3.el6.x86_64
---> Package glibc-devel.x86_64 0:2.12-1.47.el6_2.9 will be installed
--> Processing Dependency: glibc = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64
--> Processing Dependency: glibc-headers = 2.12-1.47.el6_2.9 for package: glibc-devel-2.12-1.47.el6_2.9.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.47.el6_2.9.x86_64
---> Package ksh.x86_64 0:20100621-12.el6_2.1 will be installed
---> Package libaio-devel.x86_64 0:0.3.107-10.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.6-3.el6 will be installed
---> Package xorg-x11-utils.x86_64 0:7.4-8.el6 will be installed
--> Processing Dependency: libXxf86misc.so.1()(64bit) for package: xorg-x11-utils-7.4-8.el6.x86_64
--> Processing Dependency: libdmx.so.1()(64bit) for package: xorg-x11-utils-7.4-8.el6.x86_64
--> Processing Dependency: libXmuu.so.1()(64bit) for package: xorg-x11-utils-7.4-8.el6.x86_64
--> Processing Dependency: libXxf86dga.so.1()(64bit) for package: xorg-x11-utils-7.4-8.el6.x86_64
---> Package xorg-x11-xauth.x86_64 1:1.0.2-7.1.el6 will be installed
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.6-3.el6 will be installed
---> Package glibc.x86_64 0:2.12-1.47.el6 will be updated
--> Processing Dependency: glibc = 2.12-1.47.el6 for package: glibc-common-2.12-1.47.el6.x86_64
---> Package glibc.x86_64 0:2.12-1.47.el6_2.9 will be an update
---> Package glibc-headers.x86_64 0:2.12-1.47.el6_2.9 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.47.el6_2.9.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.47.el6_2.9.x86_64
---> Package libXmu.x86_64 0:1.0.5-1.el6 will be installed
---> Package libXxf86dga.x86_64 0:1.1.1-1.el6 will be installed
---> Package libXxf86misc.x86_64 0:1.0.2-1.el6 will be installed
---> Package libdmx.x86_64 0:1.1.0-1.el6 will be installed
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
--> Running transaction check
---> Package glibc-common.x86_64 0:2.12-1.47.el6 will be updated
---> Package glibc-common.x86_64 0:2.12-1.47.el6_2.9 will be an update
---> Package kernel-uek-headers.x86_64 0:2.6.32-300.11.1.el6uek will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================
 Package                                                  Arch                       Version                                       Repository                      Size
========================================================================================================================================================================
Installing:
 oracle-rdbms-server-11gR2-preinstall                     x86_64                     1.0-3.el6                                     ol6_latest                      15 k
Installing for dependencies:
 cloog-ppl                                                x86_64                     0.15.7-1.2.el6                                ol6_latest                      93 k
 compat-libcap1                                           x86_64                     1.10-1                                        ol6_latest                      17 k
 compat-libstdc++-33                                      x86_64                     3.2.3-69.el6                                  ol6_latest                     183 k
 cpp                                                      x86_64                     4.4.6-3.el6                                   ol6_latest                     3.7 M
 gcc                                                      x86_64                     4.4.6-3.el6                                   ol6_latest                      10 M
 gcc-c++                                                  x86_64                     4.4.6-3.el6                                   ol6_latest                     4.7 M
 glibc-devel                                              x86_64                     2.12-1.47.el6_2.9                             ol6_latest                     966 k
 glibc-headers                                            x86_64                     2.12-1.47.el6_2.9                             ol6_latest                     597 k
 kernel-uek-headers                                       x86_64                     2.6.32-300.11.1.el6uek                        ol6_latest                     702 k
 ksh                                                      x86_64                     20100621-12.el6_2.1                           ol6_latest                     683 k
 libXmu                                                   x86_64                     1.0.5-1.el6                                   ol6_latest                      58 k
 libXxf86dga                                              x86_64                     1.1.1-1.el6                                   ol6_latest                      21 k
 libXxf86misc                                             x86_64                     1.0.2-1.el6                                   ol6_latest                      15 k
 libaio-devel                                             x86_64                     0.3.107-10.el6                                ol6_latest                      13 k
 libdmx                                                   x86_64                     1.1.0-1.el6                                   ol6_latest                      16 k
 libstdc++-devel                                          x86_64                     4.4.6-3.el6                                   ol6_latest                     1.5 M
 mpfr                                                     x86_64                     2.4.1-6.el6                                   ol6_latest                     156 k
 ppl                                                      x86_64                     0.10.2-11.el6                                 ol6_latest                     1.3 M
 xorg-x11-utils                                           x86_64                     7.4-8.el6                                     ol6_latest                      87 k
 xorg-x11-xauth                                           x86_64                     1:1.0.2-7.1.el6                               ol6_latest                      34 k
Updating for dependencies:
 glibc                                                    x86_64                     2.12-1.47.el6_2.9                             ol6_latest                     3.8 M
 glibc-common                                             x86_64                     2.12-1.47.el6_2.9                             ol6_latest                      14 M

Transaction Summary
========================================================================================================================================================================
Install      21 Package(s)
Upgrade       2 Package(s)

Total download size: 43 M
Is this ok [y/N]: y
Downloading Packages:
(1/23): cloog-ppl-0.15.7-1.2.el6.x86_64.rpm                                                                                                      |  93 kB     00:01     
(2/23): compat-libcap1-1.10-1.x86_64.rpm                                                                                                         |  17 kB     00:00     
(3/23): compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm                                                                                              | 183 kB     00:01     
(4/23): cpp-4.4.6-3.el6.x86_64.rpm                                                                                                               | 3.7 MB     00:28     
(5/23): gcc-4.4.6-3.el6.x86_64.rpm                                                                                                               |  10 MB     00:57     
(6/23): gcc-c++-4.4.6-3.el6.x86_64.rpm                                                                                                           | 4.7 MB     00:29     
(7/23): glibc-2.12-1.47.el6_2.9.x86_64.rpm                                                                                                       | 3.8 MB     00:19     
(8/23): glibc-common-2.12-1.47.el6_2.9.x86_64.rpm                                                                                                |  14 MB     01:13     
(9/23): glibc-devel-2.12-1.47.el6_2.9.x86_64.rpm                                                                                                 | 966 kB     00:10     
(10/23): glibc-headers-2.12-1.47.el6_2.9.x86_64.rpm                                                                                              | 597 kB     00:03     
(11/23): kernel-uek-headers-2.6.32-300.11.1.el6uek.x86_64.rpm                                                                                    | 702 kB     00:03     
(12/23): ksh-20100621-12.el6_2.1.x86_64.rpm                                                                                                      | 683 kB     00:03     
(13/23): libXmu-1.0.5-1.el6.x86_64.rpm                                                                                                           |  58 kB     00:00     
(14/23): libXxf86dga-1.1.1-1.el6.x86_64.rpm                                                                                                      |  21 kB     00:00     
(15/23): libXxf86misc-1.0.2-1.el6.x86_64.rpm                                                                                                     |  15 kB     00:00     
(16/23): libaio-devel-0.3.107-10.el6.x86_64.rpm                                                                                                  |  13 kB     00:00     
(17/23): libdmx-1.1.0-1.el6.x86_64.rpm                                                                                                           |  16 kB     00:00     
(18/23): libstdc++-devel-4.4.6-3.el6.x86_64.rpm                                                                                                  | 1.5 MB     00:08     
(19/23): mpfr-2.4.1-6.el6.x86_64.rpm                                                                                                             | 156 kB     00:01     
(20/23): oracle-rdbms-server-11gR2-preinstall-1.0-3.el6.x86_64.rpm                                                                               |  15 kB     00:00     
(21/23): ppl-0.10.2-11.el6.x86_64.rpm                                                                                                            | 1.3 MB     00:07     
(22/23): xorg-x11-utils-7.4-8.el6.x86_64.rpm                                                                                                     |  87 kB     00:00     
(23/23): xorg-x11-xauth-1.0.2-7.1.el6.x86_64.rpm                                                                                                 |  34 kB     00:00     
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                   166 kB/s |  43 MB     04:23     
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Retrieving key from http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
Importing GPG key 0xEC551F03:
 Userid: "Oracle OSS group (Open Source Software group) <build@oss.oracle.com>"
 From  : http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : glibc-common-2.12-1.47.el6_2.9.x86_64                                                                                                               1/25
  Updating   : glibc-2.12-1.47.el6_2.9.x86_64                                                                                                                      2/25
  Installing : mpfr-2.4.1-6.el6.x86_64                                                                                                                             3/25
  Installing : libXmu-1.0.5-1.el6.x86_64                                                                                                                           4/25
  Installing : libstdc++-devel-4.4.6-3.el6.x86_64                                                                                                                  5/25
  Installing : 1:xorg-x11-xauth-1.0.2-7.1.el6.x86_64                                                                                                               6/25
  Installing : cpp-4.4.6-3.el6.x86_64                                                                                                                              7/25
  Installing : compat-libcap1-1.10-1.x86_64                                                                                                                        8/25
  Installing : compat-libstdc++-33-3.2.3-69.el6.x86_64                                                                                                             9/25
  Installing : libXxf86dga-1.1.1-1.el6.x86_64                                                                                                                     10/25
  Installing : libXxf86misc-1.0.2-1.el6.x86_64                                                                                                                    11/25
  Installing : libdmx-1.1.0-1.el6.x86_64                                                                                                                          12/25
  Installing : xorg-x11-utils-7.4-8.el6.x86_64                                                                                                                    13/25
  Installing : ppl-0.10.2-11.el6.x86_64                                                                                                                           14/25
  Installing : cloog-ppl-0.15.7-1.2.el6.x86_64                                                                                                                    15/25
  Installing : ksh-20100621-12.el6_2.1.x86_64                                                                                                                     16/25
  Installing : kernel-uek-headers-2.6.32-300.11.1.el6uek.x86_64                                                                                                   17/25
  Installing : glibc-headers-2.12-1.47.el6_2.9.x86_64                                                                                                             18/25
  Installing : glibc-devel-2.12-1.47.el6_2.9.x86_64                                                                                                               19/25
  Installing : gcc-4.4.6-3.el6.x86_64                                                                                                                             20/25
  Installing : gcc-c++-4.4.6-3.el6.x86_64                                                                                                                         21/25
  Installing : libaio-devel-0.3.107-10.el6.x86_64                                                                                                                 22/25
  Installing : oracle-rdbms-server-11gR2-preinstall-1.0-3.el6.x86_64                                                                                              23/25
  Cleanup    : glibc-common-2.12-1.47.el6.x86_64                                                                                                                  24/25
  Cleanup    : glibc-2.12-1.47.el6.x86_64                                                                                                                         25/25 

Installed:
  oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-3.el6                                                                                                               

Dependency Installed:
  cloog-ppl.x86_64 0:0.15.7-1.2.el6                  compat-libcap1.x86_64 0:1.10-1                       compat-libstdc++-33.x86_64 0:3.2.3-69.el6                     
  cpp.x86_64 0:4.4.6-3.el6                           gcc.x86_64 0:4.4.6-3.el6                             gcc-c++.x86_64 0:4.4.6-3.el6                                  
  glibc-devel.x86_64 0:2.12-1.47.el6_2.9             glibc-headers.x86_64 0:2.12-1.47.el6_2.9             kernel-uek-headers.x86_64 0:2.6.32-300.11.1.el6uek            
  ksh.x86_64 0:20100621-12.el6_2.1                   libXmu.x86_64 0:1.0.5-1.el6                          libXxf86dga.x86_64 0:1.1.1-1.el6                              
  libXxf86misc.x86_64 0:1.0.2-1.el6                  libaio-devel.x86_64 0:0.3.107-10.el6                 libdmx.x86_64 0:1.1.0-1.el6                                   
  libstdc++-devel.x86_64 0:4.4.6-3.el6               mpfr.x86_64 0:2.4.1-6.el6                            ppl.x86_64 0:0.10.2-11.el6                                    
  xorg-x11-utils.x86_64 0:7.4-8.el6                  xorg-x11-xauth.x86_64 1:1.0.2-7.1.el6               

Dependency Updated:
  glibc.x86_64 0:2.12-1.47.el6_2.9                                                glibc-common.x86_64 0:2.12-1.47.el6_2.9                                               

Complete!

 

 

注意该oracle-rdbms-server-11gR2-preinstall目前只有x86-64位的版本,即在x86的Oracle Linux 6上不可用。

与oracle-validated RPM类似,oracle-rdbms-server-11gR2-preinstall会为我们完成以下工作:

1. 从oracle Public YUM上下载并安装多个特定的软件包并保证其为指定的版本(如以上示例),这些软件包software package是安装Oracle DB/RDBMS Server 11gR2数据库软件的先决条件之一

2. 创建 oracle OS用户user,以及 oinstall 和 dba 用户组group

3. 修改/etc/sysctl.conf配置文件中的内核参数,以保证oracle instance实例可以健康运行

安装完成后的 /etc/sysctl.conf 内容如下:

 

 

[root@vrh6 yum.repos.d]# cat /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
# sysctl.conf(5) for more details.

# Controls IP packet forwarding
net.ipv4.ip_forward = 0

# Controls source route verification
net.ipv4.conf.default.rp_filter = 1

# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0

# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0

# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1

# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1

# Disable netfilter on bridges.
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0

# Controls the maximum size of a message, in bytes
kernel.msgmnb = 65536

# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 65536

# Controls the maximum shared segment size, in bytes

# Controls the maximum number of shared memory segments, in pages

# oracle-rdbms-server-11gR2-preinstall setting for fs.file-max is 6815744
fs.file-max = 6815744

# oracle-rdbms-server-11gR2-preinstall setting for kernel.sem is '250 32000 100 128'
kernel.sem = 250 32000 100 128

# oracle-rdbms-server-11gR2-preinstall setting for kernel.shmmni is 4096
kernel.shmmni = 4096

# oracle-rdbms-server-11gR2-preinstall setting for kernel.shmall is 1073741824
kernel.shmall = 1073741824

# oracle-rdbms-server-11gR2-preinstall setting for kernel.shmmax is 4398046511104 on x86_64
kernel.shmmax = 4398046511104

# oracle-rdbms-server-11gR2-preinstall setting for net.core.rmem_default is 262144
net.core.rmem_default = 262144

# oracle-rdbms-server-11gR2-preinstall setting for net.core.rmem_max is 4194304
net.core.rmem_max = 4194304

# oracle-rdbms-server-11gR2-preinstall setting for net.core.wmem_default is 262144
net.core.wmem_default = 262144

# oracle-rdbms-server-11gR2-preinstall setting for net.core.wmem_max is 1048576
net.core.wmem_max = 1048576

# oracle-rdbms-server-11gR2-preinstall setting for fs.aio-max-nr is 1048576
fs.aio-max-nr = 1048576

# oracle-rdbms-server-11gR2-preinstall setting for net.ipv4.ip_local_port_range is 9000 65500
net.ipv4.ip_local_port_range = 9000 65500

 

 

4. 修改/etc/security/limits.conf配置文件 保证 oracle用户的shell soft/hard limit,例如nofile、stack等参数足够, 以符合Oracle 11gR2的安装要求
安装完成后的 /etc/security/limits.conf内容如下:

 

 

# oracle-rdbms-server-11gR2-preinstall setting for nofile soft limit is 1024
oracle   soft   nofile    1024

# oracle-rdbms-server-11gR2-preinstall setting for nofile hard limit is 65536
oracle   hard   nofile    65536

# oracle-rdbms-server-11gR2-preinstall setting for nproc soft limit is 2047
oracle   soft   nproc    2047

# oracle-rdbms-server-11gR2-preinstall setting for nproc hard limit is 16384
oracle   hard   nproc    16384

# oracle-rdbms-server-11gR2-preinstall setting for stack soft limit is 10240KB
oracle   soft   stack    10240

# oracle-rdbms-server-11gR2-preinstall setting for stack hard limit is 10240KB
oracle   hard   stack    32768

 

 

5. 为 x86-64的服务器设置kernel boot 内核启动参数numa=off ,关闭numa功能:

 

[root@vrh6 ~]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/mapper/vg_vrh6-lv_root
#          initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Oracle Linux Server-uek (2.6.32-300.3.1.el6uek.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.32-300.3.1.el6uek.x86_64 ro root=/dev/mapper/vg_vrh6-lv_root rd_LVM_LV=vg_vrh6/lv_swap rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb  rd_LVM_LV=vg_vrh6/lv_root  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM
numa=off
        initrd /initramfs-2.6.32-300.3.1.el6uek.x86_64.img
title Oracle Linux Server (2.6.32-220.el6.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.32-220.el6.x86_64 ro root=/dev/mapper/vg_vrh6-lv_root rd_LVM_LV=vg_vrh6/lv_swap rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto rd_LVM_LV=vg_vrh6/lv_root  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM numa=off
        initrd /initramfs-2.6.32-220.el6.x86_64.img

Oracle Unbreakable Enterprise Kernel Faster than Redhat?

Oracle Unbreakable Enterprise Kernel Faster than Redhat? Oracle 在宣传其 牢不可破企业Linux内核时总是要和Redhat 做个比较, 并拿自己测得一个benchmark 来说事, 在这个chart里UEK 比redhat kernel 快75%!

 

Oracle Ksplice如何工作?How does Ksplice work?

Oracle Ksplice 在 Oracle Linux 6中已经可用了哦:)

 

 

Kernel update Zero downtime kernel update

 

Linux上的avahi-daemon Service服务

avahi-daemon是一种Linux操作系统上运行在客户机上实施查找基于网络的Zeroconf service的服务守护进程。 该服务可以为Zeroconf网络实现DNS服务发现及DNS组播规范。 用户程序通过Linux D-Bus信息传递接收发现到网络服务和资源的通知。 该守护进程配合缓存用户程序的答复,以帮助减少因答复而产生的网络流量。

 

 

 

详见以下描述:

 

Description

The avahi-daemon Linux service runs on client machines to perform network-based Zeroconf service discovery. Avahi is an implementation of the DNS Service Discovery and Multicast DNS specifications for Zeroconf Networking.  User applications receive notice of discovered network services and resources using the Linux D-Bus message passing. The daemon coordinates application efforts in caching replies, helping minimize network traffic.

Avahi provides a set of language bindings, including Python and Mono.  Because of its modularized architecture, Avahi is already integrated in major desktop components like GNOME’s Virtual File System or KDE’s input/output architecture.

Refer http://avahi.org/ for further specifications.

The avahi RPM package provides the /usr/sbin/avahi-daemon daemon and its configuration files.

Nature

This is a service to run the avahi-daemon(8) daemon.

Service Control

To manage the avahi-daemon service on demand, use the service(8) tool or run the /etc/init.d/avahi-daemon script directly:

# /sbin/service avahi-daemon help
Usage: /etc/init.d/avahi-daemon {start|stop|status|restart|condrestart}
# /etc/init.d/avahi-daemon help
Usage: /etc/init.d/avahi-daemon {start|stop|status|restart|condrestart}

The available commands are:

Command Description
start Start the avahi-daemon(8) daemon.
stop Stop the avahi-daemon(8) daemon.
status Report if the avahi-daemon(8) daemon is running.
restart Equivalent to a stop and then a start command sequence.
condrestart If the avahi-daemon(8) daemon is currently running, this is the same as a restart command. If the daemon is not running, no action is taken. Often used in RPM package installation to avoid starting a service not already running.

Configuration

To manage the avahi-daemon service at boot time, use chkconfig(8) tool:

# /sbin/chkconfig --list avahi-daemon
avahi-daemon 0:off 1:off 2:off 3:off 4:off 5:off 6:off
# /sbin/chkconfig avahi-daemon on
# /sbin/chkconfig --list avahi-daemon
avahi-daemon 0:off 1:off 2:on 3:on 4:on 5:on 6:off

Configuration file /etc/avahi/avahi-daemon.conf

# $Id: avahi-daemon.conf 1155 2006-02-22 22:54:56Z lennart $
#
# This file is part of avahi.
#
# avahi is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# avahi is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with avahi; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.
# See avahi-daemon.conf(5) for more information on this configuration
# file![server]
#host-name=foo
#domain-name=local
browse-domains=0pointer.de, zeroconf.org
use-ipv4=yes
use-ipv6=yes
#check-response-ttl=no
#use-iff-running=no
#enable-dbus=yes
#disallow-other-stacks=no
#allow-point-to-point=no[wide-area]
enable-wide-area=yes

[publish]
#disable-publishing=no
#disable-user-service-publishing=no
#add-service-cookie=yes
#publish-addresses=yes
#publish-hinfo=yes
#publish-workstation=yes
#publish-domain=yes
#publish-dns-servers=192.168.50.1, 192.168.50.2
#publish-resolv-conf-dns-servers=yes

[reflector]
#enable-reflector=no
#reflect-ipv=no

[rlimits]
#rlimit-as=
rlimit-core=0
rlimit-data=4194304
rlimit-fsize=0
rlimit-nofile=30
rlimit-stack=4194304
rlimit-nproc=3

Oracle Enterprise Linux Version(s)

  • OEL 5

Notes

The AVAHI project is a free implementation of the former Apple Bonjour project and the subsequent Zeroconf project.

References

man 8 avahi-daemon
man 5 avahi-daemon.conf
http://avahi.org/
http://en.wikipedia.org/wiki/Avahi_%28software%29

在Fedora 15上使用Vmware Server 2.0.2

Vmware Server最新版本2.0.2-203138是在2009年发布的,其使用一种较老的Kernel识别方法,这会导致我们在2.6.3x/2.6.40内核上安装Vmware Server时出现如下错误:

The path "/usr/src/linux/include" is not an existing directory.

The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.40-4.fc15.x86_64).  Even if the module were to
compile successfully, it would not load into the running kernel.

摸索了1个多小时终于找到了解决的方法,具体步骤如下:

1.安装必要的rpm包

yum -y install gcc make kernel-headers kernel-devel

找出正确的kernel headers目录,使用如下命令:
[root@vbase include]# echo /usr/src/kernels/`uname -r`/include
/usr/src/kernels/2.6.40-4.fc15.x86_64/include

2.修改version.h头文件,该文件位于以下目录

[root@vbase include]# cat /usr/src/kernels/`uname -r`/include/linux/version.h
#define LINUX_VERSION_CODE 132648
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

在该头文件中加入 uname -r的输出,如:
[root@vbase include]# uname -r
2.6.40-4.fc15.x86_64

#define UTS_RELEASE “2.6.40-4.fc15.x86_64”

3.下载modules.tar文件,解压该tar包,将其中的文件复制到/usr/lib/vmware/modules/source/并覆盖:

tar -xvf modules.tar

cp * /usr/lib/vmware/modules/source/
cp: overwrite `/usr/lib/vmware/modules/source/vmblock.tar’? y
cp: overwrite `/usr/lib/vmware/modules/source/vmci.tar’? y
cp: overwrite `/usr/lib/vmware/modules/source/vmmon.tar’? y
cp: overwrite `/usr/lib/vmware/modules/source/vmnet.tar’? y
cp: overwrite `/usr/lib/vmware/modules/source/vsock.tar’? y

 

4.安装Vmware软件,并执行vmware-config.pl

[root@vbase include]# vmware-config.pl
Making sure services for VMware Server are stopped.

Stopping vmware (via systemctl):                           [  OK  ]

None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel.  Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes] yes

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.40-4.fc15.x86_64/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.40-4.fc15.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/2.6.40-4.fc15.x86_64'
CC [M]  /tmp/vmware-config2/vmmon-only/linux/driverLog.o
CC [M]  /tmp/vmware-config2/vmmon-only/linux/iommu.o
CC [M]  /tmp/vmware-config2/vmmon-only/linux/driver.o
CC [M]  /tmp/vmware-config2/vmmon-only/linux/hostif.o
/tmp/vmware-config2/vmmon-only/linux/hostif.c: In function ‘HostIFReadUptimeWork’:
/tmp/vmware-config2/vmmon-only/linux/hostif.c:2048:10: warning: ‘newUpBase’
may be used uninitialized in this function [-Wuninitialized]
CC [M]  /tmp/vmware-config2/vmmon-only/common/memtrack.o
CC [M]  /tmp/vmware-config2/vmmon-only/common/hashFunc.o
CC [M]  /tmp/vmware-config2/vmmon-only/common/vmx86.o
CC [M]  /tmp/vmware-config2/vmmon-only/common/cpuid.o
CC [M]  /tmp/vmware-config2/vmmon-only/common/task.o
CC [M]  /tmp/vmware-config2/vmmon-only/common/comport.o
CC [M]  /tmp/vmware-config2/vmmon-only/common/phystrack.o
CC [M]  /tmp/vmware-config2/vmmon-only/vmcore/moduleloop.o
LD [M]  /tmp/vmware-config2/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC      /tmp/vmware-config2/vmmon-only/vmmon.mod.o
LD [M]  /tmp/vmware-config2/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.40-4.fc15.x86_64'

沪ICP备14014813号-2

沪公网安备 31010802001379号