Technoracle
    Facebook Twitter Instagram
    • Sitemap
    • Privacy Policy
    • Disclaimer
    • Term of Services
    Facebook Twitter Instagram Pinterest Vimeo
    TechnoracleTechnoracle
    • Tutorials
      • Amazon Cloud
      • Google Cloud
    • How To
    • Blog
    • About
    Subscribe
    Technoracle
    Home»Tutorials»AWS»How to Install Webmin on AWS EC2 Ubuntu Instance [Latest Guide]
    AWS

    How to Install Webmin on AWS EC2 Ubuntu Instance [Latest Guide]

    Rajesh ShivamBy Rajesh ShivamMarch 6, 2022Updated:March 6, 2022No Comments3 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    install Webmin on AWS EC2 ubuntu
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Webmin helps you to manage the Ubuntu server. It helps you to edit configuration files easily. You can setup user accounts, Apache, php configurations, DNS, file sharing, and much more. With Webmin, you can change settings for common packages on the fly, including web servers and databases, as well as manage users, groups, and software packages. Ih this tutorial, I am going to share step by step guide to install Webmin on AWS EC2 Ubuntu instances.

    Page Contents

    • Pre-requisites
    • Webmin Installation Guide on AWS EC2 Ubuntu Instance
      • Step 1: Update the Ubuntu System
      • Step 2: Import Webmin Repository Key
      • Step 3: Install Webmin on Ubuntu (AWS EC2 Instance)
      • Step 4: Configure AWS EC2 Ubuntu instance
      • Step 5: Access Webmin
    • Conclusion

    Pre-requisites

    • Ubuntu 20.04 EC2 instance.
    • A user with SUDO privileges.

    Webmin Installation Guide on AWS EC2 Ubuntu Instance

    To install Webmin on AWS EC2 Ubuntu instance, you have to SSH into the EC2 instance and follow the below steps.

    Step 1: Update the Ubuntu System

    sudo apt update
    sudo apt install wget apt-transport-https software-properties-common

    Step 2: Import Webmin Repository Key

    wget -q -O- http://www.webmin.com/jcameron-key.asc | sudo apt-key add-

    Update Webmin repository to the sources by running the following command, the command will append the Webmin repository link at the bottom of the file and update the system package lists.

    sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"

    Step 3: Install Webmin on Ubuntu (AWS EC2 Instance)

    To install Webmin from the package manager, run the following command.

    sudo apt install webmin

    On successful installation, it will show a successful installation message with a Webmin access link.

    Step 4: Configure AWS EC2 Ubuntu instance

    After successful installation, you need to disable SSL mode(if you are using Webmin on IP) without any domain mapping.

    To disable SSL mode, change ssl=1 to ssl=0 on the /etc/webmin/miniserv.conf. To update SSL value open the file using your favorite text editor, in my case I am using VI editor.

    sudo vi /etc/webmin/miniserv.conf

    Now you can access your Webmin dashboard by typing your web server IP with 10000 port.

    In the AWS EC2 instance by default, the password of the Webmin root user is the same as the Ubuntu root user. However, you cannot login to root user since you have no password for the AWS EC2 Ubuntu root user. So we need to configure passwords for Webmin users to access the dashboard. To update the Webmin password, run the following command,

    sudo vi /usr/share/webmin/changepass.pl /etc/webmin root “YOUR STRONG PASSWORD”

    After updating the password, you can log in using your new password.

    Step 5: Access Webmin

    Now, open your favorite browser, and run your server IP with 10000 port or domain name with port, whatever you configured. Login to Webmin console.

    Conclusion

    In this tutorial, you have learned how to install Webmin on AWS EC2 ubuntu instance. If you have any questions, feel free to ask in the comment section.

    aws tutorial
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleHow to Install BigBlueButton on Ubuntu 18.04
    Next Article How to SSH into EC2 Instance [Quick Steps]
    Rajesh Shivam

    Hello, everyone, I am Rajesh Shivam, I am a full-time freelancer with more than seven years plus experience in different freelancing platforms, in this blog, I am going to provide complete freelancing tips and tricks.

    Related Posts

    AWS

    How to Install Git on Amazon Linux 2 Easily

    July 21, 2022
    Read More
    AWS

    Learn AWS with AWS Skill Builder in 2022 for Free

    May 28, 2022
    Read More
    AWS

    Copy Files between EC2 Instances Easily

    May 20, 2022
    Read More
    Add A Comment

    Leave A Reply Cancel Reply

    Facebook Twitter Instagram Pinterest
    © 2023 Technoracle

    Type above and press Enter to search. Press Esc to cancel.

    Go to mobile version