Installing Cockpit on Fedora after initial install



  • As everyone who reads my guides knows, I prefer to start my Fedora installs from a clean Minimal install using the NetInstall image.

    Cockpit is a lightweight web interface that you can use to manage your Linux based servers. For me that means Fedora.

    Like all core functionality, the installation and configuration is a snap.

    Install Cockpit and its dependencies.

    dnf -y install cockpit
    

    Start the service and enable it to start on subsequent boot up.

    systemctl start cockpit
    systemctl enable cockpit.socket
    

    Allow connections in through the firewall

    firewall-cmd --zone=public --add-service=cockpit --permanent
    firewall-cmd --reload
    

    Navigate to your server ip on port 9090
    https://IPAddress:9090

    Like most tools, it uses a self signed SSL certificate that will generate a warning to click through.
    0_1514418578581_dceccdf9-fc7e-4bd0-b6fd-a0411b85a464-image.png

    You should be greeted with the log in page.
    0_1514418623209_ef2436c4-7b1a-4a9e-9916-7d8efc1fb505-image.png