Fedora开机直接进入终端界面
 2016.02.24    |      Linux问题集合    |     AilsonJack    |     暂无评论    |     3268 views
By: Ailson Jack
Date: 2016-02-24
个人博客: http://www.only2fire.com/
<p style="text-align:center"><img src="/uploads/AilsonJack/2018.08.23/1535033701424150.jpg" onclick="preview_image(&#39;/uploads/AilsonJack/2018.08.23/1535033701424150.jpg&#39;)"/></p><p style="text-indent: 2em;">这篇文章将介绍如何让Fedora开机直接进入终端界面,即不启动窗口系统,这在某些场合是需要的,前几天就遇到过这样的用途,因此在这里记录一下。</p><p class="artical_littlestyle1">1、老版本的Fedora</p><p style="text-indent: 2em;">对于一些老版本的Fedora,比如Fedora 14,首先打开终端,切换为超级用户,然后输入命令:<span style="color: rgb(255, 0, 0);">vi /etc/inittab</span>,将其中的ID由5变为3,保存退出,然后重启系统。这样就实现了让Fedora 14开机直接进入终端界面。<br/></p><p class="artical_littlestyle2">2、对于较新版本的Fedora</p><p style="text-indent: 2em;">首先打开终端,切换为超级用户,输入以下命令来实现想要的功能:</p><p style="text-indent: 2em;">a、<span style="color: rgb(255, 0, 0);">ln -sf /lib/systemd/system/graphical.target&nbsp; /etc/systemd/system/default.target</span></p><p style="text-indent: 2em;">b、<span style="color: rgb(255, 0, 0);">ln -sf /lib/systemd/system/multi-user.target&nbsp; /etc/systemd/system/default.target</span></p><p style="text-indent: 2em;">命令a是让Fedora系统开机直接进入图形界面,而命令b就是让Fedora系统开机直接进入终端界面。根据自己的需求在终端执行相应的命令即可。</p><p style="text-indent: 2em;">话说,开机直接进入终端界面,然后进行自己需要的工作,貌似很装1 3<img src="/UEditor/dialogs/emotion/images/face/i_f29.gif"/>。</p><p style="text-indent: 2em;">当然上述方法可以类推到其他的发行版Linux。<br/></p>
欢迎关注博主的公众号呀,精彩内容随时掌握:
热情邀请仔细浏览下博客中的广告,万一有对自己有用或感兴趣的呢。◕ᴗ◕。。
如果这篇文章对你有帮助,记得点赞和关注博主就行了^_^,当然了能够赞赏博主,那就非常感谢啦!
注: 转载请注明出处,谢谢!^_^
转载请注明来源: 本文链接:  By: AilsonJack
Fedora开机直接进入终端界面  |  说好一起走
暂无评论,要不要来个沙发
发表评论

 
Copyright © 2015~2023  说好一起走   保留所有权利   |  百度统计  蜀ICP备15004292号