Last active
May 19, 2022 23:07
-
-
Save FreedomBen/62b348ed45045e53356aeb7145cd209e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install cockpit and pcp and activate services | |
dnf install -y cockpit pcp cockpit-pcp | |
systemctl enable --now cockpit.socket | |
systemctl enable --now pmlogger | |
# If needed, open port 9090 in the firewall | |
firewall-cmd --zone=public --permanent --add-service=cockpit | |
# Alternatively you can open port 9090 to only your own IP | |
firewall-cmd --zone=public --permanent --add-rich-rule='rule family="ipv4" source address="38.14.154.124" port protocol="tcp" port="9090" accept' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment