I just installed CentOS GNU/Linux (version 8 build 1905) on a machine; this wasn't my choice of distro - I'm a Debian man myself.
Anyway, when I SSH into this machine (as a non-root user), it tells me:
Activate the trang web console with: systemctl enable --now cockpit.socket
What will this trang web console have? On which port will it listen, and for whom? Can non-root users simply activate it when they want to? I'm somewhat baffled by this, as I'm not used to tướng CentOS.
muru
75.6k15 gold badges206 silver badges307 bronze badges
asked Nov 3, 2019 at 11:07
einpoklumeinpoklum
10.1k22 gold badges79 silver badges154 bronze badges
In brief generally we login to tướng our tài khoản from CLI or GUI. After running following command
systemctl enable --now cockpit.socket
one can access their tài khoản from trang web browser.
Just need to tướng type following for local lập cập.
https://localhost:9090
FargolK
1,7371 gold badge12 silver badges20 bronze badges
answered Jun 12, 2021 at 16:01
- Note that you are seeing a message that is unconditionally emitted from
/etc/motd.d/cockpit
. Most likely this socket is already enabled. - You tự not have to tướng be privileged user to tướng kiểm tra if enabled with
systemctl status cockpit.socket
(where you can also see the port).
[nhed@nhed-ds2vm1 ~]$ systemctl status cockpit.socket
● cockpit.socket - Cockpit Web Service Socket
Loaded: loaded (/usr/lib/systemd/system/cockpit.socket; enabled; vendor preset: enabled)
Active: active (running) since Fri 2022-02-11 10:24:48 EST; 15h ago
Triggers: ● cockpit.service
Docs: man:cockpit-ws(8)
Listen: [::]:9090 (Stream)
Tasks: 0 (limit: 2308)
Memory: 904.0K
CPU: 35ms
CGroup: /system.slice/cockpit.socket
Feb 11 10:24:48 nhed-ds2vm1 systemd[1]: Starting Cockpit Web Service Socket...
Feb 11 10:24:48 nhed-ds2vm1 systemd[1]: Listening on Cockpit Web Service Socket.
I suspect the main driver for this is for either "headless" servers or perhaps for some tư vấn functionality.
answered Feb 12, 2022 at 7:08
nhednhed
4414 silver badges12 bronze badges
You must log in to tướng answer this question.
Not the answer you're looking for? Browse other questions tagged
.
Not the answer you're looking for? Browse other questions tagged
.