2018-06-08 02:33:45 +00:00
# Cockpit
2018-08-10 15:29:16 +00:00
This is **OPTIONAL** but **highly recommended** and can provide some helpful tools/insights while in the field.
2018-06-08 02:33:45 +00:00
Notably Cockpit includes a terminal via a web browser. Perfect for on-the-go tuning of network settings and/or disaster recovery.
Further reading: [http://cockpit-project.org/running ](http://cockpit-project.org/running )
## Install
``` bash
#add-apt-repository ppa:cockpit-project/cockpit
apt update
2018-09-17 20:29:55 +00:00
apt install cockpit cockpit-doc cockpit-dashboard \
cockpit-docker cockpit-machines cockpit-networkmanager \
2018-06-08 02:33:45 +00:00
cockpit-dashboard cockpit-system \
2018-09-17 20:29:55 +00:00
cockpit-storaged cockpit-packagekit \
cockpit-system cockpit-ws \
packagekit-tools cracklib-runtime
2018-06-08 02:33:45 +00:00
```
## Config
Leave the defaults (*including SSL certificate*). This is here to save you on the fly or when not near a 'full' computer. Defaults are a good thing at times.
## Allow internal access
If you already setup firewalld, run the following to allow access from the *INTERNAL* network only.
``` bash
firewall-cmd --permanent --zone=internal --add-port=9090/tcp
firewall-cmd --reload
```
## Grant Admin User(s) Access to Docker
``` bash
usermod -aG docker [admin_user]
systemctl restart docker
```
2018-08-10 15:29:16 +00:00
## Accessing Cockpit after install
https://172.17.17.17:9090/