- Ubuntu 20.04 Essentials
- Neil Smyth
- 116字
- 2021-06-11 17:39:38
8.2 Installing and Enabling Cockpit
Cockpit is generally not installed on Ubuntu by default, but can be set up and enabled in a few simple steps. The first step is to install the Cockpit package as follows:
# apt install cockpit
Next, the Cockpit socket service needs to be enabled:
# systemctl enable --now cockpit.socket
Finally, the necessary ports need to be opened on the firewall to allow remote browser connections to reach Cockpit if a firewall is enabled on your system (for details on firewalls, refer to the chapter entitled “Ubuntu Firewall Basics”).
If ufw is enabled:
# ufw allow 9090
If firewalld is enabled:
# firewall-cmd --add-service=cockpit --permanent
# firewall-cmd --reload
推薦閱讀
- 大數據導論:思維、技術與應用
- 課課通計算機原理
- 構建高質量的C#代碼
- Mastering VMware vSphere 6.5
- Cloud Analytics with Microsoft Azure
- Supervised Machine Learning with Python
- Visual FoxPro程序設計
- 從零開始學Java Web開發
- Linux Shell Scripting Cookbook(Third Edition)
- Flash CS5二維動畫設計與制作
- MySQL Management and Administration with Navicat
- TensorFlow 2.0卷積神經網絡實戰
- 谷物干燥節能供熱技術與裝備
- BeagleBone Home Automation
- 中文版Photoshop CS6數碼照片處理高手速成