VPS侦探论坛

 找回密码
 注册
查看: 5025|回复: 3

致命错误啊,求救。安装lnmp时会升级系统内核么

[复制链接]
发表于 2012-5-28 16:15:42 | 显示全部楼层 |阅读模式

新买的万网云主机,就装了个lnmp,  然后reboot,就进不去了(必须要万网手工重启)
万网回复是
建议编辑 /boot/grub/menu.lst 文件,将2.6.18-308.4.1.el5内核删除,否则重启后会导致系统无法启动,进而影响网站访问

default=0
timeout=15
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-308.4.1.el5)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.18-308.4.1.el5 ro root=LABEL=/ ide0=noprobe rhgb quiet
        initrd /boot/initrd-2.6.18-308.4.1.el5.img
title CentOS (2.6.18-243.el5)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.18-243.el5 ro root=LABEL=/ ide0=noprobe rhgb quiet
        initrd /boot/initrd-2.6.18-243.el5.img


问问军哥,是不是把最上边那一段删除就可以了啊
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-5-28 16:40:39 | 显示全部楼层


title CentOS (2.6.18-308.4.1.el5)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.18-308.4.1.el5 ro root=LABEL=/ ide0=noprobe rhgb quiet
        initrd /boot/initrd-2.6.18-308.4.1.el5.img 这些

如果是lnmp0.9的话centos不会升级
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-5-28 17:23:28 | 显示全部楼层

现在正常了,谢谢军哥

最开始装0.9,发现装不上apache。(apache目录里就一个conf文件夹)、。卸载后又装了下0.8,最后再次装了0.9.反复折腾
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-5-29 10:26:16 | 显示全部楼层



万网里面很蛋疼啊。原本给我们装LINUX的时候。
就只能装RED HAT ENTERPRISE。。。现在可以直接有CENTOS了?
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-23 03:24 , Processed in 0.025359 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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