Linux Administration

Revision as of 02:18, 10 August 2020 by David (talk | contribs) (→‎Cockpit)
\( \newcommand{\P}[]{\unicode{xB6}} \newcommand{\AA}[]{\unicode{x212B}} \newcommand{\empty}[]{\emptyset} \newcommand{\O}[]{\emptyset} \newcommand{\Alpha}[]{Α} \newcommand{\Beta}[]{Β} \newcommand{\Epsilon}[]{Ε} \newcommand{\Iota}[]{Ι} \newcommand{\Kappa}[]{Κ} \newcommand{\Rho}[]{Ρ} \newcommand{\Tau}[]{Τ} \newcommand{\Zeta}[]{Ζ} \newcommand{\Mu}[]{\unicode{x039C}} \newcommand{\Chi}[]{Χ} \newcommand{\Eta}[]{\unicode{x0397}} \newcommand{\Nu}[]{\unicode{x039D}} \newcommand{\Omicron}[]{\unicode{x039F}} \DeclareMathOperator{\sgn}{sgn} \def\oiint{\mathop{\vcenter{\mathchoice{\huge\unicode{x222F}\,}{\unicode{x222F}}{\unicode{x222F}}{\unicode{x222F}}}\,}\nolimits} \def\oiiint{\mathop{\vcenter{\mathchoice{\huge\unicode{x2230}\,}{\unicode{x2230}}{\unicode{x2230}}{\unicode{x2230}}}\,}\nolimits} \)

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