CentOS 7.9にサーバー管理ツールajentiをインストールする

環境
# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)

GUIのサーバー管理ツール「ajenti」のインストールの方法
1.ajentiをインストールします

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# curl https://raw.githubusercontent.com/ajenti/ajenti/1.x/scripts/install-rhel7.sh | sh
:: Done! Open https://<address>:8000 in browser
# curl https://raw.githubusercontent.com/ajenti/ajenti/1.x/scripts/install-rhel7.sh | sh 略 :: Done! Open https://<address>:8000 in browser
# curl https://raw.githubusercontent.com/ajenti/ajenti/1.x/scripts/install-rhel7.sh | sh
略
:: Done! Open https://<address>:8000 in browser

2.ファイアウォールを設定します

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
ポート番号8000を開放します
# firewall-cmd --zone=public --add-port=8000/tcp --permanent
success
# firewall-cmd --reload
successs
ポート番号8000を開放します # firewall-cmd --zone=public --add-port=8000/tcp --permanent success # firewall-cmd --reload successs
ポート番号8000を開放します
# firewall-cmd --zone=public --add-port=8000/tcp --permanent
success
# firewall-cmd --reload
successs

3.動作確認
ブラウザから https://プライベートIP or サーバーアドレス:8000 にアクセスします。s
[Username]:root
「Password」:admin

CentOS 7

Posted by arkgame