Skip to main content
Version: 1.0

Cockpit Getting Started

Cockpit is a Linux server panel tool maintained by RedHat. It has a strong open ability and can integrate various applications into the menu of the panel. If you are good at using it, you will find that it is one of the best panels in the container era.

If you have installed Websoft9 Cockpit, the following steps is for your quick start

Preparation

  1. Get the Internet IP of your Server on Cloud
  2. Check your Inbound of Security Group Rule of Cloud Console to ensure the TCP:15672 is allowed
  3. Complete Five steps for Domain if you want to use Domain for Cockpit
  4. Get default username and password of Cockpit

Cockpit Initialization

Steps for you

  1. Using local Chrome or Firefox to visit the URL http://DNS:15672 or http://Internet IP:15672, you will enter installation wizard of Cockpit

  2. Log in to Cockpit web console(Don't have password?)

  3. Set you new password from: 【Users】>【Admin】>【Permissions】>【Update this user】

More useful Cockpit guide, please refer to Cockpit Documentation

Having trouble?

Below is for you to solve problem, and you can contact Websoft9 Support or refer to Troubleshoot + FAQ to get more.

Cockpit QuickStart

Cockpit Setup

子目录配置域名

Cockpit 配置域名有一定的特殊之处(方案来源):

  1. 先修改/etc/cockpit/cockpit.conf
[WebService]
Origins = https://example.com wss://example.com
ProtocolHeader = X-Forwarded-Proto
UrlRoot=/cockpit
  1. 然后配置 proxy (以 Caddy 为例)
example.com {
reverse_proxy /cockpit/* localhost:9090 {
transport http {
tls_insecure_skip_verify
}
}
}

Reference sheet

The below items and General parameter sheet is maybe useful for you manage Cockpit

Path

Port

端口号用途必要性
9099Cockpit 原始端口,已通过 Nginx 转发到 80 端口可选

Version

Service

sudo systemctl start | stop | restart | status cockpit

CLI

API