This article was last reviewed for Debian 9 (Stretch).
Webmin installation (Debian, upstream repository)
|Author:||Stefán Örvar Sigmundsson|
|Written in:||English (United Kingdom)|
Webmin is a popular, free and open-source web-based server management software. This article will demonstrate how to install Webmin on Debian or its derivatives such as Ubuntu and Linux Mint.
The required add-apt-repository utility can be installed from the official Debian repository using APT:
root@computer:~# apt --assume-yes install software-properties-common
The repository in which Webmin resides must be added to the repository list of the package management system:
root@computer:~# add-apt-repository "deb http://download.webmin.com/download/repository sarge contrib"
The GPG key of the repository should be added so that it be trusted by the package management system:
root@computer:~# wget http://www.webmin.com/jcameron-key.asc
The GPG key can be added using APT-key:
root@computer:~# apt-key add jcameron-key.asc
The package list file must be updated before Webmin can be installed:
root@computer:~# apt update
Webmin can be installed from the repository using APT:
root@computer:~# apt --assume-yes install webmin
The GPG key file can be removed after it has been added to the package management system:
root@computer:~# rm jcameron-key.asc
The output file can be removed after the installation is completed:
root@computer:~# rm /webmin-setup.out
The output file contains information about the installation process and is created every time Webmin is updated.
The configuration directory should be protected:
root@computer:~# chown --recursive root:adm /etc/webmin/ root@computer:~# chmod --recursive 0770 /etc/webmin/