MySQL社区

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
查看: 8505|回复: 1
打印 上一主题 下一主题

如何彻底关闭Linux中的xen虚拟服务

[复制链接]
跳转到指定楼层
1#
发表于 2009-7-10 15:02:23 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
作者:kider,出处:mysqlpub.com


1、修改Linux启动内核
[root@node02 ~]# more /etc/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/VolGroup00/LogVol00
#
initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-92.el5xen)

root (hd0,0)

kernel /xen.gz-2.6.18-92.el5

module /vmlinuz-2.6.18-92.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet

module /initrd-2.6.18-92.el5xen.img
title Red Hat Enterprise Linux Server-base (2.6.18-92.el5)

root (hd0,0)

kernel /vmlinuz-2.6.18-92.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet

initrd /initrd-2.6.18-92.el5.img

找到default=?,如果你打很多patch会有很多项,修改为没有xen的内核启动,这里改为default=1

2、关闭libvirtd服务
#ntsysv
打开的服务列表里,去掉libvirtd服务前面的“*”符号

3、重启动机器
reboot
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 分享淘帖 顶 踩
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|申请友链|小黑屋|Archiver|手机版|MySQL社区 ( 京ICP备07012489号   
联系人:周生; 联系电话:13911732319

GMT+8, 2024-5-9 00:28 , Processed in 0.077525 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表