Kuma with Mattermost
This commit is contained in:
@ -5,25 +5,46 @@ progress: 0
|
||||
tags:
|
||||
- Hosts
|
||||
type: note
|
||||
updated: 2024-08-05T21:04:41.300Z
|
||||
updated: 2024-11-11T21:10:59.698Z
|
||||
---
|
||||
|
||||
# Cockpit
|
||||
|
||||
- [cockpit](https://cockpit-project.org/)
|
||||
- [running](https://cockpit-project.org/running)
|
||||
- [podman](https://192.168.11.2:9090/podman#/?container=all)
|
||||
|
||||
```bash Fri Jul 26 2024 15:45:00 GMT-0700 (Mountain Standard Time)
|
||||
apt-cache rdepends cockpit
|
||||
apt install cockpit -y
|
||||
passwd phares
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
apt-get install cockpit cockpit-podman -y
|
||||
systemctl enable --now cockpit.socket
|
||||
```
|
||||
|
||||
```bash 1731356291510 = 638669530915100000 = Mon Nov 11 2024 13:18:11 GMT-0700 (Mountain Standard Time)
|
||||
systemctl restart cockpit.service
|
||||
systemctl restart cockpit.socket
|
||||
nano /etc/cockpit/cockpit.conf
|
||||
```
|
||||
|
||||
conf 1731356299846 = 638669530998460000 = Mon Nov 11 2024 13:18:19 GMT-0700 (Mountain Standard Time)
|
||||
[WebService]
|
||||
Origins = https://cockpit.affirm.duckdns.org wss://cockpit.affirm.duckdns.org
|
||||
ProtocolHeader = X-Forwarded-Proto
|
||||
```
|
||||
|
||||
```bash 1731358497471 = 638669552974710000 = Mon Nov 11 2024 13:54:57 GMT-0700 (Mountain Standard Time)
|
||||
mv /etc/cockpit/ws-certs.d/0-self-signed.cert /etc/cockpit/ws-certs.d/0-self-signed.cert.old
|
||||
cp /root/.acme.sh/wild-affirm/affirm.duckdns.org.cer /etc/cockpit/ws-certs.d/0-self-signed.cert
|
||||
mv /etc/cockpit/ws-certs.d/0-self-signed.key /etc/cockpit/ws-certs.d/0-self-signed.key.old
|
||||
cp /root/.acme.sh/wild-affirm/affirm.duckdns.org.key /etc/cockpit/ws-certs.d/0-self-signed.key
|
||||
chmod 774 -R /etc/cockpit/ws-certs.d
|
||||
systemctl stop cockpit.socket
|
||||
systemctl stop cockpit
|
||||
journalctl --rotate
|
||||
journalctl --vacuum-time=1s
|
||||
journalctl -u cockpit
|
||||
systemctl start cockpit.socket
|
||||
systemctl start cockpit
|
||||
```
|
||||
|
Reference in New Issue
Block a user