Setup cockpit » Historie » Version 2
Jeremias Keihsler, 04.02.2020 09:57
| 1 | 1 | Jeremias Keihsler | h1. Install cockpit |
|---|---|---|---|
| 2 | 2 | Jeremias Keihsler | |
| 3 | 1 | Jeremias Keihsler | h2. Requirements |
| 4 | |||
| 5 | To install cockpit you will need the following: |
||
| 6 | * a installed and supported operating system (e.g. CentOS 8.x) |
||
| 7 | * root-access |
||
| 8 | * a fast internet connection |
||
| 9 | |||
| 10 | h2. Preliminary Note |
||
| 11 | |||
| 12 | This procedure is based on a documentation supplied by https://www.linuxtechi.com/install-use-cockpit-tool-centos8-rhel8/ |
||
| 13 | |||
| 14 | h2. Install |
||
| 15 | |||
| 16 | <pre><code class="bash"> |
||
| 17 | yum install cockpit |
||
| 18 | </code></pre> |
||
| 19 | |||
| 20 | h2. Configure Service |
||
| 21 | |||
| 22 | <pre><code class="bash"> |
||
| 23 | systemctl start cockpit.socket |
||
| 24 | systemctl enable cockpit.socket |
||
| 25 | </code></pre> |
||
| 26 | |||
| 27 | h2. Configure Firewall |
||
| 28 | |||
| 29 | <pre><code class="bash"> |
||
| 30 | firewall-cmd --permanent --add-service=cockpit |
||
| 31 | firewall-cmd --reload |
||
| 32 | </code></pre> |
||
| 33 | |||
| 34 | h2. Check up and running |
||
| 35 | |||
| 36 | <pre><code class="bash"> |
||
| 37 | systemctl status cockpit.socket |
||
| 38 | ss -tunlp | grep cockpit |
||
| 39 | ps auxf|grep cockpit |
||
| 40 | </code></pre> |
||
| 41 | |||
| 42 | h2. Test / Access |
||
| 43 | |||
| 44 | @https://<Your-CentOS8/RHEL8-System-IP>:9090@ |