Created
October 18, 2022 12:41
-
-
Save ittp/e51e8880d0a2ce5d29f897178c181fd0 to your computer and use it in GitHub Desktop.
Install Webmin on Ubuntu 22.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-webmin-on-ubuntu-22-04 | |
echo -e "\n\n 1. apt update ..." | |
sudo apt update | |
wait | |
echo -e "\n\n 1. apt update completed" | |
echo -e "\n\n 2. get webmin pgp key ..." | |
curl -fsSL https://download.webmin.com/jcameron-key.asc | sudo gpg --dearmor -o /usr/share/keyrings/webmin.gpg | |
wait | |
echo -e "\n\n 2. get webmin pgp key completed" | |
echo -e "\n\n 3. add webmin repository ..." | |
sudo echo -e "\n\n" >> /etc/apt/sources.list | |
wait | |
sudo echo "deb [signed-by=/usr/share/keyrings/webmin.gpg] http://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list | |
echo -e "\n\n 3. add webmin repository completed" | |
echo -e "\n\n 4. update list packages ..." | |
sudo apt update | |
wait | |
echo -e "\n\n 4. update list packages completed" | |
echo -e "\n\n 5. install webmin ..." | |
sudo apt install webmin -y | |
wait | |
echo -e "\n\n 5. install webmin completed" | |
echo -e "\n\n 6. allow port 10000 in ufw ..." | |
sudo ufw allow 10000 | |
echo -e "\n\n 6. allow port 10000 in ufw completed" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment