- 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
推薦閱讀
- Dreamweaver CS3網頁制作融會貫通
- WOW!Illustrator CS6完全自學寶典
- Java開發技術全程指南
- Hands-On Cloud Solutions with Azure
- Blockchain Quick Start Guide
- HBase Design Patterns
- 大數據挑戰與NoSQL數據庫技術
- Storm應用實踐:實時事務處理之策略
- 網絡布線與小型局域網搭建
- Visual Studio 2010 (C#) Windows數據庫項目開發
- 網絡脆弱性掃描產品原理及應用
- 工業機器人力覺視覺控制高級應用
- 網管員世界2009超值精華本
- Wireshark Revealed:Essential Skills for IT Professionals
- 傳感器應用技術