Linux Administration: Difference between revisions

From David's Wiki
Line 7: Line 7:
#sudo apt install cockpit
#sudo apt install cockpit
# Install the newer backports version.
# Install the newer backports version.
apt install -t bionic-backports $(dpkg-query -W | awk '/cockpit/ {print $1}')
sudo apt install -t bionic-backports $(dpkg-query -W | awk '/cockpit/ {print $1}')
</pre>
</pre>



Revision as of 02:18, 10 August 2020

The best ways to manage Linux servers.

Cockpit

Cockpit is a web application to manage your server.
Install it via

#sudo apt install cockpit
# Install the newer backports version.
sudo apt install -t bionic-backports $(dpkg-query -W | awk '/cockpit/ {print $1}')

By default, cockpit runs on port 9090.

Below are some of the modules I recommend. You can install these using apt as well.

  • cockpit-docker allows you to manage docker containers
  • cockpit-machines allows you to manage VMs via libvirt
  • cockpit-networkmanager
  • cockpit-packagekit to manage packages
Command to install all modules
sudo apt install -y cockpit cockpit-docker cockpit-machines cockpit-networkmanager cockpit-packagekit

Resources