Cockpit in RHEL 8...
#!/bin/bash
yum install cockpit
#start cockpit
systemctl start --now cockpit.socket
systemctl enable --now cockpit.socket
#set firewall for cockpit
firewall-cmd --add-service=cockpit
firewall-cmd --add-service=cockpit --permanent
firewall-cmd --reload
echo "Congrates, You have successfully started cockpit."
echo "Go to Browser, Enter your IP:9090 in url, Enjoy"
No comments:
Post a Comment