免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 893 | 回复: 0
打印 上一主题 下一主题

修复启动问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-11-23 11:57 |只看该作者 |倒序浏览
Repairing Problems
If you find you’ve introduced a terrible problem, the solution is simply to switch to another run
level. Run levels 3 through 5 are clones of 2 (or they were before you edited run level 2), so you
can simply make one of those the default. Then, after rebooting into it, run SysV Runlevel
Control again to experiment and reintroduce some excluded services into run level 2. Then you
can switch back to run level 2 afterwards.
     The default run level is set in the /etc/inittab file. You can load this into the nano
command-line text editor, like so:
sudo nano /etc/inittab
     Then look for the line that reads id:2:initdefault: and replace it with id:3:initdefault:
(to switch to run level 3; to revert to run level 2, replace 3 with 2). Press Ctrl+X to exit nano and
answer Y to the option of saving the buffer, which will save the file.
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/18669/showart_205086.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP