cockpit 有効化

[root@falcon21 ~]# systemctl enable --now cockpit.socket
Created symlink /etc/systemd/system/sockets.target.wants/cockpit.socket → /usr/lib/systemd/system/cockpit.socket.




[root@falcon21 ~]# ss -napt
State        Recv-Q       Send-Q        Local Address:Port           Peer Address:Port                                       
LISTEN       0            128                 0.0.0.0:5355                0.0.0.0:*          users:(("systemd-resolve",pid=1452,fd=13))
LISTEN       0            128                 0.0.0.0:111                 0.0.0.0:*          users:(("rpcbind",pid=810,fd=4),("systemd",pid=1,fd=257))
LISTEN       0            32            192.168.122.1:53                  0.0.0.0:*          users:(("dnsmasq",pid=1599,fd=6))
LISTEN       0            128                 0.0.0.0:22                  0.0.0.0:*          users:(("sshd",pid=924,fd=4))
LISTEN       0            5                 127.0.0.1:631                 0.0.0.0:*          users:(("cupsd",pid=925,fd=9))
ESTAB        0            0              192.168.10.3:22             192.168.10.4:52131      users:(("sshd",pid=18986,fd=5),("sshd",pid=18982,fd=5))
LISTEN       0            128                    [::]:5355                   [::]:*          users:(("systemd-resolve",pid=1452,fd=15))
LISTEN       0            128                    [::]:111                    [::]:*          users:(("rpcbind",pid=810,fd=6),("systemd",pid=1,fd=259))
LISTEN       0            128                    [::]:22                     [::]:*          users:(("sshd",pid=924,fd=6))
LISTEN       0            5                     [::1]:631                    [::]:*          users:(("cupsd",pid=925,fd=8))
LISTEN       0            128                       *:9090                      *:*          users:(("systemd",pid=1,fd=29))


# Cockpit は 9090 をリスンする 


Firewalld 稼働中の場合は許可設定を確認 (cockpit はデフォルト許可)
[root@falcon21 ~]# firewall-cmd --list-service
FirewallD is not running


もし確認結果に [cockpit] が含まれていない場合は許可
[root@falcon21 ~]# firewall-cmd --add-service=cockpit --permanent
FirewallD is not running


[root@falcon21 ~]# firewall-cmd --reload
FirewallD is not running


投票数:0 平均点:0.00

 
Back to Top