Rocky Linux8.5にサーバー管理ツールAjentiをインストールする
OSバージョンの確認
# cat /etc/redhat-release Rocky Linux release 8.5 (Green Obsidian)
1.リポジトリを追加します
# sudo dnf -y install epel-release
必要なパッケージもインストールします
# sudo dnf install -y gcc python3-devel python3-pip python3-pillow python3-augeas python3-dbus chrony openssl-devel redhat-lsb-core
2.Ajentiをインストールします
# sudo curl https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install.sh | sudo bash -s 略 Ajenti will be listening at HTTP port 8000 Log in with your root password or another OS user
3.Firewallを設定
# sudo firewall-cmd --permanent --zone=public --add-port=8000/tcp success [root@cft notable]# sudo firewall-cmd --reload success
4.Ajentiを起動します
ステータスの確認
# sudo systemctl status ajenti ● ajenti.service - Ajenti panel Loaded: loaded (/usr/lib/systemd/system/ajenti.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2021-12-08 09:46:10 JST; 1h 15min ago
5.動作確認
ブラウザから http://ipアドレス:8000 にアクセスします