DEV Community

Patrick Schanen
Patrick Schanen

Posted on

2 1

Install and Run Cockpit on Linux CentOS 7

Picture on Imgur

Linux | Centos 7 Server | Install & Run Cockpit

[psnebc@localhost ~]$ sudo yum -y install epel-release
    [sudo] Passwort fΓΌr psnebc: 
    psnebc ist nicht in der sudoers-Datei. Dieser Vorfall wird gemeldet.
    [psnebc@localhost ~]$ su -
    Passwort: 
    Letzte Anmeldung: Freitag, den 20. April 2018, 14:53:04 CEST auf tty1
    [root@localhost ~]# yum -y install epel-release     
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: centos.schlundtech.de
     * epel: ftp.nluug.nl
     * extras: ftp.uni-bayreuth.de
     * remi-php71: remi.mirror.ate.info
     * remi-php72: remi.mirror.ate.info
     * remi-safe: remi.mirror.ate.info
     * updates: ftp.fau.de
    Package epel-release-7-11.noarch already installed and latest version
    Nothing to do
    [root@localhost ~]# yum -y update
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: centos.schlundtech.de
     * epel: ftp.nluug.nl
     * extras: ftp.uni-bayreuth.de
     * remi-php71: remi.mirror.ate.info
     * remi-php72: remi.mirror.ate.info
     * remi-safe: remi.mirror.ate.info
     * updates: ftp.fau.de
    No packages marked for update
    [root@localhost ~]# yum -y install cockpit
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: centos.schlundtech.de
     * epel: ftp.nluug.nl
     * extras: ftp.uni-bayreuth.de
     * remi-php71: remi.mirror.ate.info
     * remi-php72: remi.mirror.ate.info
     * remi-safe: remi.mirror.ate.info
     * updates: ftp.fau.de
    Package cockpit-160-1.el7.centos.x86_64 already installed and latest version
    Nothing to do
    [root@localhost ~]# systemctl start cockpit
    [root@localhost ~]# systemctl enable cockpit.socket
    [root@localhost ~]# sudo firewall-cmd --add-service=cockpit
    Warning: ALREADY_ENABLED: 'cockpit' already in 'public'
    success
    [root@localhost ~]# sudo firewall-cmd --add-service=cockpit --permanent
    Warning: ALREADY_ENABLED: cockpit
    success
    [root@localhost ~]# firewall-cmd --reload
    success
Enter fullscreen mode Exit fullscreen mode

https://www.reddit.com/r/psnebc/comments/8dne9v/linux_centos_7_server_install_run_cockpit/

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay