- 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 Ajax網(wǎng)頁設(shè)計(jì)入門與實(shí)例詳解
- Go Machine Learning Projects
- 精通Excel VBA
- 空間傳感器網(wǎng)絡(luò)復(fù)雜區(qū)域智能監(jiān)測(cè)技術(shù)
- 最簡(jiǎn)數(shù)據(jù)挖掘
- 基于ARM 32位高速嵌入式微控制器
- Photoshop CS3圖層、通道、蒙版深度剖析寶典
- 工業(yè)機(jī)器人操作與編程
- 樂高機(jī)器人—槍械武器庫
- Learn CloudFormation
- 西門子變頻器技術(shù)入門及實(shí)踐
- Silverlight 2完美征程
- 基于RPA技術(shù)財(cái)務(wù)機(jī)器人的應(yīng)用與研究
- 工業(yè)機(jī)器人集成應(yīng)用
- Redash v5 Quick Start Guide