How to install Webmin on Fedora?

From LHYcloud Docs
Jump to navigation Jump to search

Installing Webmin

  • To begin, if you haven’t done so in a while, you should refresh the package index on your server:
dnf update -y
  • After that, we need to add the Webmin repository in order for our package management to be able to be used to install and update Webmin. In order to accomplish this, we must first add the repository to the /etc/yum.repos.d/webmin.repo.
vi /etc/yum.repos.d/webmin.repo
  • After that, add the following lines to the file so that the new repository may be defined:

[Webmin]

name=Webmin Distribution Neutral#baseurl=http://download.webmin.com/download/yum

mirrorlist=http://download.webmin.com/download/yum/mirrorlist

enabled=1

  • Save the file and exit the editor. If you used vi, do so by pressing escape colon wq.
  • After that, you will need to add the Webmin PGP key so that your operating system will trust the newly created repository. However, in order to achieve that, you will need to install the gnupg1 package. This is the GNU program for secure communication as well as the storing of sensitive data.
  • After that, you will need to use wget to download the Webmin PGP key, and then you will need to add it to the list of keys on your system:
wget http://www.webmin.com/jcameron-key.asc
..png


rpm --import jcameron-key.asc
  • Next, make another round of updates to the list of packages in order to incorporate the Webmin repository, which should now be trusted:
dnf update -y

Install Webmin afterwards:

dnf install webmin -y
  • The installation of Webmin is finished. You are now able to log in to https://your server:10000 either as root with your root password or as any other user who is able to utilise sudo.
Picture2.png