記錄fedora一些本機的設定
更新記錄
item | note |
---|---|
20160907 | 第一版 |
目錄
fedora 本機設定
如何設定,開機直接進入文字模式
/etc/inittab
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17xxx@localhost:[source]$ cat /etc/inittab
# inittab is no longer used.
#
# ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# Ctrl-Alt-Delete is handled by /usr/lib/systemd/system/ctrl-alt-del.target
#
# systemd uses 'targets' instead of runlevels. By default, there are two main targets:
#
# multi-user.target: analogous to runlevel 3
# graphical.target: analogous to runlevel 5
#
# To view current default target, run:
# systemctl get-default
#
# To set a default target, run:
# systemctl set-default TARGET.target設定開機啟動至 GUI 模式(runlevel 5)
1
systemctl set-default graphical.target
設定開機啟動至文字模式(runlevel 3)
1
systemctl set-default multi-user.target