System/runlevel
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
#topicpath
/////////////////////////////////////////////////////////...
* 目次 [#n8d8b76d]
#contents();
/////////////////////////////////////////////////////////...
* runlevel (systemd) [#q206fb43]
|~runlevel |~description |~remark |
|0 |poweroff | |
|1 |rescure |Xなし |
|2,3,4 |multi user |Xなし、NFSサーバ停止 |
|5 |graphical |Xあり |
|6 |reboot | |
- systemd では、/etc/inittab が使われなくなっている。
/////////////////////////////////////////////////////////...
* runlevel (systemd 以前) [#a05c016c]
|~runlevel |~description |~remark |
|0 |停止 | |
|1 |シングルユーザモード |Xなし |
|2 |マルチユーザモード |Xなし、NFSサーバ停止 |
|3 |マルチユーザモード |Xなし |
|4 |未使用 | |
|5 |マルチユーザモード |Xあり |
|6 |再起動 | |
|S |シングルユーザモード |/etc/rc.d/rc.sysinit を...
/////////////////////////////////////////////////////////...
* runlevel の確認 [#tdafa580]
- 現在と一つ前の runlevel を確認するには、runlevel コマン...
# runlevel
1 5
-- 出力結果の表す意味は、下記の通り:
<一つ前の runlevel> <現在の runlevel>
/////////////////////////////////////////////////////////...
* default の runlevel の設定 [#s3fc7542]
//=======================================================...
** 一時的に変更する場合 [#x9654e13]
- 変更方法は、以下の2つのうちいずれか
- systemctl で変更する
# systemctl isolate
- /sbin/init で変更する
-- runlevel を変更するには、 init コマンドに 遷移先の run...
# init <next-runlevel>
//=======================================================...
** 恒久的に変更する場合 [#jdf372e7]
# systemctl set-default graphical
終了行:
#topicpath
/////////////////////////////////////////////////////////...
* 目次 [#n8d8b76d]
#contents();
/////////////////////////////////////////////////////////...
* runlevel (systemd) [#q206fb43]
|~runlevel |~description |~remark |
|0 |poweroff | |
|1 |rescure |Xなし |
|2,3,4 |multi user |Xなし、NFSサーバ停止 |
|5 |graphical |Xあり |
|6 |reboot | |
- systemd では、/etc/inittab が使われなくなっている。
/////////////////////////////////////////////////////////...
* runlevel (systemd 以前) [#a05c016c]
|~runlevel |~description |~remark |
|0 |停止 | |
|1 |シングルユーザモード |Xなし |
|2 |マルチユーザモード |Xなし、NFSサーバ停止 |
|3 |マルチユーザモード |Xなし |
|4 |未使用 | |
|5 |マルチユーザモード |Xあり |
|6 |再起動 | |
|S |シングルユーザモード |/etc/rc.d/rc.sysinit を...
/////////////////////////////////////////////////////////...
* runlevel の確認 [#tdafa580]
- 現在と一つ前の runlevel を確認するには、runlevel コマン...
# runlevel
1 5
-- 出力結果の表す意味は、下記の通り:
<一つ前の runlevel> <現在の runlevel>
/////////////////////////////////////////////////////////...
* default の runlevel の設定 [#s3fc7542]
//=======================================================...
** 一時的に変更する場合 [#x9654e13]
- 変更方法は、以下の2つのうちいずれか
- systemctl で変更する
# systemctl isolate
- /sbin/init で変更する
-- runlevel を変更するには、 init コマンドに 遷移先の run...
# init <next-runlevel>
//=======================================================...
** 恒久的に変更する場合 [#jdf372e7]
# systemctl set-default graphical
ページ名: