Webmin is a web-based system administration tool for Unix-like systems, including Linux distributions such as Ubuntu and CentOS. It provides a simple, easy-to-use interface for managing various system tasks, such as creating and managing user accounts, configuring network settings, and setting up servers.
To install Webmin on Ubuntu, follow these steps:
1. First, make sure that your system is up to date by running the following command:
sudo apt update && sudo apt upgrade
2. Next, add the Webmin repository to your system's sources list by running the following command:
echo "deb http://download.webmin.com/download/repository sarge contrib" | sudo tee /etc/apt/sources.list.d/webmin.list
3. Import the repository's GPG key by running the following command:
wget -qO - http://www.webmin.com/jcameron-key.asc | sudo apt-key add -
4. Update the package list and install Webmin by running the following command:
sudo apt update && sudo apt install webmin
To install Webmin on CentOS, follow these steps:
1. First, make sure that your system is up to date by running the following command:
sudo yum update
2. Next, add the Webmin repository to your system's sources list by creating a new file called webmin.repo
in the /etc/yum.repos.d
directory and adding the following lines:
[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1
3. Import the repository's GPG key by running the following command:
sudo rpm --import http://www.webmin.com/jcameron-key.asc
4. Install Webmin by running the following command:
sudo yum install webmin
After installation, you can access Webmin by visiting https://your-server-ip:10000 in your web browser. You will be prompted to log in using your system's root user account.
Webmin provides a convenient and user-friendly interface for managing your system. It is a useful tool for system administrators, especially those who are new to Linux.