Install Cockpit on Fedora/CentOS/RHEL
Cockpit 是 Red Hat 开发的浏览器端服务器管理工具,优点是无需中间层,且可以管理多种服务。并提供了一个操作Web 终端进行终端操作。
Fedora
sudo dnf install cockpit
sudo systemctl enable --now cockpit.socket
sudo firewall-cmd --add-service=cockpit
sudo firewall-cmd --add-service=cockpit --permanent
RHEL7
sudo subscription-manager repos --enable rhel-7-server-extras-rpms
sudo yum install cockpit
sudo systemctl enable --now cockpit.socket
sudo firewall-cmd --add-service=cockpit
sudo firewall-cmd --add-service=cockpit --permanent
CentOS7
sudo yum install cockpit
sudo systemctl enable --now cockpit.socket
sudo firewall-cmd --permanent --zone=public --add-service=cockpit
sudo firewall-cmd --reload
安装完访问 https://x.x.x.x:9090/
即可通过账户密码登录.