os:centos
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン | 次のリビジョン両方とも次のリビジョン | ||
os:centos [2019/02/08 05:30] – hayashi | os:centos [2019/12/11 01:08] – hayashi | ||
---|---|---|---|
行 7: | 行 7: | ||
↓ | ↓ | ||
> vmlinuz initrd=initrd.img (中略) text | > vmlinuz initrd=initrd.img (中略) text | ||
+ | |||
+ | ===== サービス関連 ===== | ||
+ | |||
+ | ==== 起動中の一覧 ==== | ||
+ | |||
+ | systemctl list-units --type=service | ||
+ | |||
+ | ==== 定義されているサービス ==== | ||
+ | |||
+ | systemctl list-unit-files --type=service | ||
+ | |||
+ | ==== サービスの状態 ==== | ||
+ | |||
+ | systemctl status < | ||
+ | |||
+ | ==== サービスの開始、停止、など ==== | ||
+ | 開始 | ||
+ | systemctl start < | ||
+ | |||
+ | 停止 | ||
+ | systemctl stop < | ||
+ | 再起動 | ||
+ | systemctl restart < | ||
+ | リロード | ||
+ | systemctl reload < | ||
+ | |||
+ | ==== サービスの自動起動を無効 ==== | ||
+ | |||
+ | systemctl disable < | ||
+ | |||
===== 手動で時刻同期 ===== | ===== 手動で時刻同期 ===== |
os/centos.txt · 最終更新: 2019/12/11 01:10 by hayashi