开启cockpit
#!/bin/bash
sed -i 's/is():where()/is(*):where(*)/' /usr/share/cockpit/static/login.js
systemctl enable --now cockpit.socket #开启cockpit服务
systemctl start cockpit.socket
登录
https://ip:9090
#!/bin/bash
sed -i 's/is():where()/is(*):where(*)/' /usr/share/cockpit/static/login.js
systemctl enable --now cockpit.socket #开启cockpit服务
systemctl start cockpit.socket
https://ip:9090