dnf
code: sh
# 検索
dnf serch
dnf info
# 監視
top
# htopはよりリッチに監視できる
dnf install htop
which htop
ll
# mirrorlistはリポジトリの保管場所
# amazon linux 2023からepelは使えなくなった
sudo amazon-linux-extras install epel
# 全てのアクティブなサービス一覧
systemctl list-units --type=service
# ソフトウェアの状況を確認
systemctl status <サービス名>
# ソフトウェアをスタート
systemctl start <サービス名>
# ソフトウェアをストップ
systemctl stop <サービス名>
# ソフトウェアを再起動
systemctl restop <サービス名>
# ソフトウェアを再起動した際にも実行できるようにする
systemctl enable <サービス名>