Installing and Configuring Webmin

30 minutes
  • 4 Learning Objectives

About this Hands-on Lab

In this hands-on lab, we will connect to a server and install Webmin. Once Webmin is installed, we will change the default port, add a listener port to the configuration, and cycle the service. The last step of this lab will be to confirm Webmin is accessible on the newly-created port, log into the console, and create a Webmin administrative account.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Connect to the Server and Install Webmin
  • Use apt to install the Webmin package.
Change the Default Port and Add the Listener Port
  • Edit the miniserv.conf configuration file to change the default port. The new port value should be 8080.
  • Add a new entry to the miniserv.conf configuration file for the listen port and set the value to 8080.
  • Cycle the Webmin service to pick up the configuration changes.
Connect to Webmin Using the New Port
  • Identify the public IP Address of the Webmin host.
  • Launch a web browser from your system.
  • Connect to the Webmin host using the Public IP address, https protocol and port 8080.
Create a New Webmin Administrative Account and Assign the Account Privileges
  • Select the Webmin Users module.
  • Create a new privileged account for Peter Gibbons (pgibbons) and set the password to Developer123.
  • Grant Peter’s account administrative access to all of the Webmin modules.

Additional Resources

Scenario

The development team at your company is starting a new project. A server has been provisioned for the team’s use, but the lead developer, Peter Gibbons, is not familiar with Linux system management and has asked to hae an administrative tool installed to help him and other developers manage the server. You have determine that Webmin will be the best tool to provide the access and management the development team needs for the project to be successful.

To assist the development team, you will need to complete the following tasks.

Connect to the server and install Webmin

  • Use wget to download the key from the Webmin website.
    wget -qO - http://www.webmin.com/jcameron-key.asc | sudo apt-key add -
  • Add the repository using the following command:
    sudo sh -c 'echo "deb http://download.webmin.com/download/repository sarge contrib" > /etc/apt/sources.list.d/webmin.list'
  • Refresh the repository list.
  • Use apt to install the Webmin package.

Change the default port and add the listener port

  • Edit the miniserv.conf configuration file to change the default port. The new port value should be 8080.
  • Add a new entry to the miniserv.conf configuration file for the listen port and set the value to 8080.
  • Cycle the Webmin service to pick up the configuration changes.

Connect to the Webmin console using the new port

  • Identify the public IP Address of the Webmin host.
  • Launch a web browser from your system.
  • Connect to the Webmin host using the Public IP address, https protocol and port 8080.

Create a new Webmin administrative account and assign the account privileges

  • Select the Webmin Users module.
  • Create a new privileged account for Peter Gibbons (pgibbons) and set the password to Developer123.
  • Grant Peter’s account administrative access to all of the Webmin modules.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?