How To Install cockpit-ws on Rocky Linux 8

In this tutorial we learn how to install cockpit-ws on Rocky Linux 8. cockpit-ws is Cockpit Web Service

Introduction

In this tutorial we learn how to install cockpit-ws on Rocky Linux 8.

What is cockpit-ws

The Cockpit Web Service listens on the network, and authenticates users. If sssd-dbus is installed, you can enable client certificate/smart card authentication via sssd/FreeIPA.

We can use yum or dnf to install cockpit-ws on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install cockpit-ws.

Install cockpit-ws on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install cockpit-ws using dnf by running the following command:

sudo dnf -y install cockpit-ws

Install cockpit-ws on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install cockpit-ws using yum by running the following command:

sudo yum -y install cockpit-ws

How To Uninstall cockpit-ws on Rocky Linux 8

To uninstall only the cockpit-ws package we can use the following command:

sudo dnf remove cockpit-ws

cockpit-ws Package Contents on Rocky Linux 8

/etc/cockpit
/etc/cockpit/ws-certs.d
/etc/issue.d/cockpit.issue
/etc/motd.d/cockpit
/etc/pam.d/cockpit
/run/cockpit
/run/cockpit/motd
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/6fc6bf25355474ebf877a5947544ba962dc5e8
/usr/lib/.build-id/65
/usr/lib/.build-id/65/0a87796e4ea7999ce8b804db2bc105a3d6a593
/usr/lib/.build-id/86
/usr/lib/.build-id/86/8d0e15d27a0e4116c209cf271626fc8f376533
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/a3872bfe86282ca017259dda9159aebc2b5c44
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/3c1adaae6fe0c8dca52c2cd41b7b44fa946466
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/dcc4ed834e51fdeaf213871c058b4d869e1b67
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/18df7f8e5e0234d36096be8d35b33c804da579
/usr/lib/systemd/system/cockpit-motd.service
/usr/lib/systemd/system/cockpit-wsinstance-http-redirect.service
/usr/lib/systemd/system/cockpit-wsinstance-http-redirect.socket
/usr/lib/systemd/system/cockpit-wsinstance-http.service
/usr/lib/systemd/system/cockpit-wsinstance-http.socket
/usr/lib/systemd/system/cockpit-wsinstance-https-factory.socket
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/cockpit.service
/usr/lib/systemd/system/cockpit.socket
/usr/lib/systemd/system/system-cockpithttps.slice
/usr/lib/tmpfiles.d/cockpit-tempfiles.conf
/usr/lib64/security/pam_cockpit_cert.so
/usr/lib64/security/pam_ssh_add.so
/usr/libexec/cockpit-desktop
/usr/libexec/cockpit-session
/usr/libexec/cockpit-tls
/usr/libexec/cockpit-ws
/usr/libexec/cockpit-wsinstance-factory
/usr/sbin/remotectl
/usr/share/cockpit/branding
/usr/share/cockpit/branding/centos
/usr/share/cockpit/branding/centos/apple-touch-icon.png
/usr/share/cockpit/branding/centos/branding.css
/usr/share/cockpit/branding/centos/favicon.ico
/usr/share/cockpit/branding/centos/logo.png
/usr/share/cockpit/branding/debian
/usr/share/cockpit/branding/debian/branding.css
/usr/share/cockpit/branding/debian/favicon.ico
/usr/share/cockpit/branding/debian/logo.png
/usr/share/cockpit/branding/default
/usr/share/cockpit/branding/default/apple-touch-icon.png
/usr/share/cockpit/branding/default/bg-login.jpg
/usr/share/cockpit/branding/default/bg-plain.jpg
/usr/share/cockpit/branding/default/brand-large.png
/usr/share/cockpit/branding/default/branding.css
/usr/share/cockpit/branding/default/favicon.ico
/usr/share/cockpit/branding/default/logo.png
/usr/share/cockpit/branding/fedora
/usr/share/cockpit/branding/fedora/apple-touch-icon.png
/usr/share/cockpit/branding/fedora/branding.css
/usr/share/cockpit/branding/fedora/favicon.ico
/usr/share/cockpit/branding/fedora/logo.png
/usr/share/cockpit/branding/kubernetes
/usr/share/cockpit/branding/kubernetes/branding.css
/usr/share/cockpit/branding/opensuse
/usr/share/cockpit/branding/opensuse/branding.css
/usr/share/cockpit/branding/opensuse/default-1920x1200.jpg
/usr/share/cockpit/branding/opensuse/favicon.ico
/usr/share/cockpit/branding/opensuse/square-hicolor.svg
/usr/share/cockpit/branding/registry
/usr/share/cockpit/branding/registry/branding.css
/usr/share/cockpit/branding/rhel
/usr/share/cockpit/branding/rhel/apple-touch-icon.png
/usr/share/cockpit/branding/rhel/branding.css
/usr/share/cockpit/branding/rhel/favicon.ico
/usr/share/cockpit/branding/rhel/logo.png
/usr/share/cockpit/branding/scientific
/usr/share/cockpit/branding/scientific/apple-touch-icon.png
/usr/share/cockpit/branding/scientific/branding.css
/usr/share/cockpit/branding/scientific/favicon.ico
/usr/share/cockpit/branding/scientific/logo.png
/usr/share/cockpit/branding/ubuntu
/usr/share/cockpit/branding/ubuntu/branding.css
/usr/share/cockpit/branding/ubuntu/favicon.ico
/usr/share/cockpit/branding/ubuntu/logo.png
/usr/share/cockpit/motd
/usr/share/cockpit/motd/inactive.motd
/usr/share/cockpit/motd/update-motd
/usr/share/cockpit/static
/usr/share/cockpit/static/fonts/OpenSans-Bold-webfont.woff
/usr/share/cockpit/static/fonts/OpenSans-BoldItalic-webfont.woff
/usr/share/cockpit/static/fonts/OpenSans-ExtraBold-webfont.woff
/usr/share/cockpit/static/fonts/OpenSans-ExtraBoldItalic-webfont.woff
/usr/share/cockpit/static/fonts/OpenSans-Italic-webfont.woff
/usr/share/cockpit/static/fonts/OpenSans-Light-webfont.woff
/usr/share/cockpit/static/fonts/OpenSans-LightItalic-webfont.woff
/usr/share/cockpit/static/fonts/OpenSans-Regular-webfont.woff
/usr/share/cockpit/static/fonts/OpenSans-Semibold-webfont.woff
/usr/share/cockpit/static/fonts/OpenSans-SemiboldItalic-webfont.woff
/usr/share/cockpit/static/fonts/RedHatDisplay-Black.woff2
/usr/share/cockpit/static/fonts/RedHatDisplay-BlackItalic.woff2
/usr/share/cockpit/static/fonts/RedHatDisplay-Bold.woff2
/usr/share/cockpit/static/fonts/RedHatDisplay-BoldItalic.woff2
/usr/share/cockpit/static/fonts/RedHatDisplay-Italic.woff2
/usr/share/cockpit/static/fonts/RedHatDisplay-Medium.woff2
/usr/share/cockpit/static/fonts/RedHatDisplay-MediumItalic.woff2
/usr/share/cockpit/static/fonts/RedHatDisplay-Regular.woff2
/usr/share/cockpit/static/fonts/RedHatText-Bold.woff2
/usr/share/cockpit/static/fonts/RedHatText-BoldItalic.woff2
/usr/share/cockpit/static/fonts/RedHatText-Italic.woff2
/usr/share/cockpit/static/fonts/RedHatText-Medium.woff2
/usr/share/cockpit/static/fonts/RedHatText-MediumItalic.woff2
/usr/share/cockpit/static/fonts/RedHatText-Regular.woff2
/usr/share/cockpit/static/login.css
/usr/share/cockpit/static/login.html
/usr/share/cockpit/static/login.js
/usr/share/cockpit/static/manifest.json
/usr/share/cockpit/static/po.cs.js
/usr/share/cockpit/static/po.de.js
/usr/share/cockpit/static/po.es.js
/usr/share/cockpit/static/po.fi.js
/usr/share/cockpit/static/po.fr.js
/usr/share/cockpit/static/po.he.js
/usr/share/cockpit/static/po.it.js
/usr/share/cockpit/static/po.ja.js
/usr/share/cockpit/static/po.ko.js
/usr/share/cockpit/static/po.nl.js
/usr/share/cockpit/static/po.pl.js
/usr/share/cockpit/static/po.pt_BR.js
/usr/share/cockpit/static/po.ru.js
/usr/share/cockpit/static/po.sk.js
/usr/share/cockpit/static/po.sv.js
/usr/share/cockpit/static/po.tr.js
/usr/share/cockpit/static/po.uk.js
/usr/share/cockpit/static/po.zh_CN.js
/usr/share/cockpit/static/po.zh_TW.js
/usr/share/locale/cs/LC_MESSAGES/cockpit.mo
/usr/share/locale/de/LC_MESSAGES/cockpit.mo
/usr/share/locale/es/LC_MESSAGES/cockpit.mo
/usr/share/locale/fi/LC_MESSAGES/cockpit.mo
/usr/share/locale/fr/LC_MESSAGES/cockpit.mo
/usr/share/locale/he/LC_MESSAGES/cockpit.mo
/usr/share/locale/it/LC_MESSAGES/cockpit.mo
/usr/share/locale/ja/LC_MESSAGES/cockpit.mo
/usr/share/locale/ko/LC_MESSAGES/cockpit.mo
/usr/share/locale/nl/LC_MESSAGES/cockpit.mo
/usr/share/locale/pl/LC_MESSAGES/cockpit.mo
/usr/share/locale/pt_BR/LC_MESSAGES/cockpit.mo
/usr/share/locale/ru/LC_MESSAGES/cockpit.mo
/usr/share/locale/sk/LC_MESSAGES/cockpit.mo
/usr/share/locale/sv/LC_MESSAGES/cockpit.mo
/usr/share/locale/tr/LC_MESSAGES/cockpit.mo
/usr/share/locale/uk/LC_MESSAGES/cockpit.mo
/usr/share/locale/zh_CN/LC_MESSAGES/cockpit.mo
/usr/share/locale/zh_TW/LC_MESSAGES/cockpit.mo
/usr/share/man/man1/cockpit-desktop.1.gz
/usr/share/man/man5/cockpit.conf.5.gz
/usr/share/man/man8/cockpit-tls.8.gz
/usr/share/man/man8/cockpit-ws.8.gz
/usr/share/man/man8/pam_cockpit_cert.8.gz
/usr/share/man/man8/pam_ssh_add.8.gz
/usr/share/man/man8/remotectl.8.gz

References

Summary

In this tutorial we learn how to install cockpit-ws on Rocky Linux 8 using yum and dnf.