1. 由命令行级别切换到窗口级别的命令未变:init 5或startx
  2. 由窗口级别切换到命令行级别的命令未变:init 3
  3. 新版本的运行级别都定义在 /lib/systemd/system下:
    $ ls -ltr /usr/lib/systemd/system/runlevel*.target
    lrwxrwxrwx. 1 root root  16 9月  10 20:58 /usr/lib/systemd/system/default.target -> graphical.target
    lrwxrwxrwx. 1 root root  13 9月  10 20:58 /usr/lib/systemd/system/runlevel1.target -> rescue.target
    lrwxrwxrwx. 1 root root  15 9月  10 20:58 /usr/lib/systemd/system/runlevel0.target -> poweroff.target
    lrwxrwxrwx. 1 root root  17 9月  10 20:58 /usr/lib/systemd/system/runlevel4.target -> multi-user.target
    lrwxrwxrwx. 1 root root  17 9月  10 20:58 /usr/lib/systemd/system/runlevel3.target -> multi-user.target
    lrwxrwxrwx. 1 root root  17 9月  10 20:58 /usr/lib/systemd/system/runlevel2.target -> multi-user.target
    lrwxrwxrwx. 1 root root  16 9月  10 20:58 /usr/lib/systemd/system/runlevel5.target -> graphical.target
    lrwxrwxrwx. 1 root root  13 9月  10 20:58 /usr/lib/systemd/system/runlevel6.target -> reboot.target

可以针对不同需要设置不同的运行级别:

如设置命令行级别(init 3)方法:

$ ln -svf /usr/lib/systemd/system/runlevel3.target /etc/systemd/system/default.target
或
$ ln -svf /usr/lib/systemd/system/multi-user.target /etc/systemd/system/default.target
或 
$ systemctl set-default multi-user.target

设置窗口级别(init 5)方法:

$ ln -svf /usr/lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
或
$ ln -svf /usr/lib/systemd/system/graphical.target /etc/systemd/system/default.target
或 
$ systemctl set-default graphical.target

修改系统运行级别:

1. systemd使用比sysvinit的运行级更为自由的target替代。第3运行级用multi-user.target替代。第5运行级用 graphical.target替代。runlevel3.target和runlevel5.target分别是指向 multi-user.target和graphical.target的符号链接。
可以使用下面的命令切换到“运行级别3 ”:

$ systemctl isolate multi-user.target
$ systemctl isolate runlevel3.target

可以使用下面的命令切换到“运行级别5 ”:

$ systemctl isolate graphical.target
$ systemctl isolate runlevel5.target

2. 如何改变默认运行级别? systemd使用链接来指向默认的运行级别。在创建新的链接前,可以通过下面命令删除存在的链接:

$ rm /etc/systemd/system/default.target
#默认启动运行级别3 :
$ ln -sf /usr/lib/systemd/system/multi-user.target /etc/systemd/system/default.target

#默认启动运行级别5 :
$ ln -sf /usr/lib/systemd/system/graphical.target/etc/systemd/system/default.target

systemd不使用/etc/inittab文件。 *** 如何查看当前运行级别? 旧的runlevel命令在systemd下仍然可以使用。可以继续使用它,尽管systemd使用 ‘target’ 概念(多个的 ‘target’ 可以同时激活)替换了之前系统的runlevel。 等价的systemd命令是

$ systemctl list-units –type=target
$ systemctl list-units –type=target

 

分类: SuSE/openSUSE

96 条评论

hh55 · 2026-09-02 00:33

[1029]hh55 Login Oficial | Descarga la APK y juega Slots Online,hh55 ofrece las mejores slots online y ruleta en vivo. Realiza tus depósitos con Oxxo de forma rápida y segura. ¡Regístrate hoy y comienza a jugar! visit: hh55

wexcams.com · 2026-09-10 09:37

Having redad tis I hought it wwas reazlly informative.
I appreciate youu spending some timne andd enery tto puut thgis shortt artice together.
I once agaiun fjnd mysewlf perwonally spendring wway tooo muuch tome both reading and commenting.

Buut so what, iit wass stll worthwhile! xnxx

aussie wire transfer casinos · 2026-10-16 23:27

References:

Secure wire transfer casinos australia aussie wire transfer casinos

http://www.okaywan.com · 2026-10-17 05:55

References:

Progressive jackpot payid pokies http://www.okaywan.com

https://cq.x7cq.vip/ · 2026-10-17 08:46

References:

Osko casino withdrawal time https://cq.x7cq.vip/

fast payout payid pokies · 2026-10-17 11:09

References:

Payid pokies no deposit bonus fast payout payid pokies

instant payid pokies · 2026-10-17 12:51

References:

Direct bank transfer payid pokies instant payid pokies

http://gjglm.com/ · 2026-10-17 14:15

References:

Pay id pokies real money http://gjglm.com/

high roller payid pokies · 2026-10-17 16:40

References:

$5 payid pokies australia high roller payid pokies

osko online casino pokies · 2026-10-17 19:11

References:

Osko pokies same day withdrawal https://pad.stuve.de/lY3Zih0bT1COzdHwXOirIQ

online pokies accepting neosurf australia · 2026-10-17 20:17

References:

Fast payout neosurf casino australia https://myspace.com/leaduncle8

gitlab.rails365.net · 2026-10-17 22:26

References:

Fast withdrawal pokies australia payid https://gitlab.rails365.net/stormkettle74

fuoristrada.shop · 2026-10-18 01:45

References:

Best payid pokies https://www.fuoristrada.shop/user/profile/12799

https://a-taxi.com.ua · 2026-10-18 02:49

References:

Payid betting sites australia https://a-taxi.com.ua/user/dangerquit0/

BPay pokies Australia · 2026-10-18 14:57

References:

Mobile pokie sites accepting bpay http://www.qingdaomop.com/?295114

MiFinity casino reload bonus · 2026-10-18 17:14

References:

Online gambling MiFinity Australia http://www.jzq5.cn/space-uid-497424.html

https://peatix.com · 2026-10-18 17:38

References:

Same day payout MiFinity casino AU https://peatix.com/user/30755613/view

http://bbs.88moli.top · 2026-10-18 21:11

References:

MiFinity casino pokies Australia http://bbs.88moli.top/home.php?mod=space&uid=198556

wou.malaysia2host.com · 2026-10-19 17:59

References:

New bank transfer casinos australia http://wou.malaysia2host.com/home.php?mod=space&uid=359479

https://codimd.syssec.org · 2026-10-19 18:31

References:

Casino wire transfer BSB australia https://codimd.syssec.org/5ifwCSTkRLCSO7Q5nAEX5g

wire transfer casino Android Australia · 2026-10-19 20:15

References:

New bank transfer casinos australia https://www.rcmx.net/userinfo.php?uid=46039

Osko pokies real play · 2026-10-20 00:20

References:

Osko online pokies real money https://mapleprimes.com/users/sledcarol11

https://dreevoo.com/profile.php?pid=2556735 · 2026-10-20 03:57

References:

Wire transfer casino Australian dollars https://dreevoo.com/profile.php?pid=2556735

automingwei.com · 2026-10-20 08:02

References:

Real money payid online pokies http://www.automingwei.com/home.php?mod=space&uid=583729

high roller payid pokies · 2026-10-20 13:52

References:

Online pokies real money payid https://www.88m2.com/?359881

top payid pokies australia · 2026-10-20 19:16

References:

1 dollar deposit pokies payid https://www.rcmx.net/userinfo.php?uid=63004

https://pad.stuve.de/HQJdEVO7RDyPn9iZiydVDg · 2026-10-20 22:18

References:

Wire transfer online casino sites Australia https://pad.stuve.de/HQJdEVO7RDyPn9iZiydVDg

mobile casino Osko · 2026-10-21 00:13

References:

Casinos with Osko deposit http://www.okaywan.com/home.php?mod=space&uid=857355

play pokies with payid · 2026-10-21 01:47

References:

Payid pokies free spins https://dreevoo.com/profile.php?pid=2560645

https://codimd.syssec.org · 2026-10-21 06:51

References:

Casino direct bank deposit australia https://codimd.syssec.org/foz4RLR0TGyBv1tP956HoA

http://warblog.hys.cz · 2026-10-21 10:47

References:

Australian online casino payid pokies http://warblog.hys.cz/user/shadowindex2/

https://ardsglobal.org/ · 2026-10-21 10:55

References:

1 dollar payid pokies https://ardsglobal.org/author/statesteel9/

payid pokies reviews · 2026-10-21 16:14

References:

Australian pokies that accept payid https://shareshortcuts.com/u/bonsailoaf7

https://topsitenet.com/ · 2026-10-21 18:34

References:

Payid pokies instant withdrawal australia https://topsitenet.com/profile/pastorsteven7/2662074/

https://md.coredump.ch/ · 2026-10-22 02:09

References:

MiFinity pokies Australia https://md.coredump.ch/0fzOR_6tRYCNYo5EBetqTw

neosurf roulette casino australia · 2026-10-22 05:56

References:

Neosurf casino table games australia https://codimd.zaehlwerk.net/cFVCfnMoRwOcQ–o7ugO1g

MiFinity casino instant play Australia · 2026-10-22 08:55

References:

Best Australian casinos accepting MiFinity http://www.n2nn.com/?853417

halcom.cn · 2026-10-22 15:21

References:

Neosurf accepted casinos australia http://halcom.cn/home.php?mod=space&uid=165514

live dealer casino bank transfer australia · 2026-10-22 18:01

References:

Best aussie bank transfer casinos https://hedgedoc.dawan.fr/loBIn6QYRCK9uNMDKznRxA

undrtone.com · 2026-10-23 02:49

References:

Osko and payid pokies https://undrtone.com/listplain26

philosophywiki.space · 2026-10-23 14:24

References:

Npp casino payments https://philosophywiki.space/wiki/Osko_Payments

pad.multiplace.org · 2026-10-23 17:40

References:

Payid casino no deposit bonus https://pad.multiplace.org/OzAv6t2HRf2S0owT_kpG8Q

https://27vlz.ru/user/jamesalarm52/ · 2026-10-23 18:07

References:

Wire transfer casinos aud https://27vlz.ru/user/jamesalarm52/

dahuafu.us · 2026-10-23 23:22

References:

Osko casino deposits Australia https://dahuafu.us/?41317

http://jslt28.com · 2026-10-24 02:23

References:

Real time payment casino australia http://jslt28.com/home.php?mod=space&uid=3990478

pad.batsense.net · 2026-10-26 07:29

References:

Instant payid withdrawal pokies australia https://pad.batsense.net/OvqwQssbSlSvofv_mW_u-A

topsitenet.com · 2026-10-26 16:50

References:

Instant withdrawal payid pokies https://topsitenet.com/profile/lockettyvek09/2682364/

jackpot pokies payid · 2026-10-26 18:42

References:

Payid pokies casinos https://codimd.camba.coop/Nkznq1BdR9-oGE7V2tKZPQ

online casino payid pokies · 2026-10-26 20:10

References:

1 dollar deposit pokies payid http://www.qingdaomop.com/?300621

https://prpack.ru · 2026-10-26 20:53

References:

Payid pokies no KYC https://prpack.ru/user/rotatedrake38/

5 minimum deposit pokies bpay · 2026-10-27 01:54

References:

BPay online casino games https://md.sigma2.no/ppTTekCbShWqXHefKiUreQ

http://zhujia.ca · 2026-10-27 02:55

References:

Online gambling MiFinity Australia http://zhujia.ca/?283362

https://app.wedonthavetime.org/ · 2026-10-27 03:32

References:

5 minimum deposit pokies bpay https://app.wedonthavetime.org/profile/taiwantie81

http://halcom.cn · 2026-10-27 13:12

References:

Neosurf casino match bonus australia http://halcom.cn/home.php?mod=space&uid=168487

pad.multiplace.org · 2026-10-28 05:04

References:

Online pokies accepting wire transfer australia https://pad.multiplace.org/DOjWZ9rdQ4qSE8f9QT1hSw

australian pokies wire transfer deposit · 2026-10-28 08:44

References:

Australian bank wire casinos https://sonnik.nalench.com/user/findmodem9/

Osko pokies quick deposit · 2026-10-28 16:39

References:

Osko casino 2026 https://tvoyaskala.com/user/seatplay2/

bank wire deposit casino australia · 2026-10-30 16:03

References:

Secure wire transfer casinos australia https://codimd.go.tulsacounty.org/Asvl6fPDRNGSAAdgqWFZpQ

neosurf casino fees australia · 2026-11-09 02:56

References:

Neosurf casino without id australia https://peatix.com/user/30883834/view

https://dreevoo.com/profile.php?pid=2676244 · 2026-11-09 04:27

References:

Top neosurf online casinos australia https://dreevoo.com/profile.php?pid=2676244

qazaqpen-club.kz · 2026-11-09 22:34

References:

Casino willkommensbonus sofortüberweisung http://www.qazaqpen-club.kz/en/user/seederhawk84/

发表回复

Avatar placeholder

您的邮箱地址不会被公开。 必填项已用 * 标注