Installing WebMin on Debian/Ubuntu

Installing Webmin on Debian/Ubuntu

Webmin is a powerful web-based interface for system administration on Unix systems. It simplifies managing system services, users, file systems, and more. Here’s how to install Webmin on Debian or Ubuntu.

Step 1: Add Webmin Repository

  1. Edit the Sources List

    Add the Webmin repository to your Debian/Ubuntu system’s sources list:

    bash
    sudo nano /etc/apt/sources.list

    Add the following line to the end of the file:

    bash
    deb http://download.webmin.com/download/repository sarge contrib

    Save and close the file (in Nano, press Ctrl+O to save, then Enter; press Ctrl+X to exit).

  2. Install the GPG Key

    Download and add the GPG key to verify Webmin packages:

    bash
    wget http://www.webmin.com/jcameron-key.asc sudo apt-key add jcameron-key.asc

Step 2: Update Package List and Install Webmin

  1. Update Package List and Install Webmin

    Update the list of available packages and install Webmin:

    bash
    sudo apt update && sudo apt install webmin

    During installation, you may need to confirm adding the repository and installing Webmin packages. Press Y or Enter to continue.

  2. Configure the Firewall

    If you have a firewall enabled, open port 10000 for Webmin's web interface:

    bash
    sudo ufw allow 10000/tcp

    This assumes you are using UFW. If you use another firewall, open the corresponding port for Webmin.

Step 3: Access Webmin

  1. Open Webmin Interface

    Access Webmin by entering the following URL in your browser:

    bash
    https://your_server_ip_or_domain:10000

    Replace your_server_ip_or_domain with your server's IP address or domain name.

  2. Log in to Webmin

    Use your server administrator credentials (typically the root account) to log in to Webmin.

Step 4: Configure Webmin

  1. Add a Virtual Host

    • Navigate to the "Servers" section or "Apache and Nginx".
    • Select "Add Virtual Host" or a similar option.
    • Enter the domain name, website root directory, access settings, and other parameters.
  2. Manage Databases

    • Go to the database management section for MySQL or other types.
    • Create a new database or manage existing ones.
  3. Configure SSL Certificates

    • Go to the "SSL Certificates" section.
    • Upload or create a new SSL certificate for your domain.
  4. Monitor and Log

    • Navigate to the "System" section to monitor resources and view system logs.
    • Track server performance and resource usage.
  5. Manage Users

    • Create new users for managing websites or databases.
    • Set access rights according to your needs.

Webmin provides extensive features for managing servers and websites through an easy-to-use web interface, making it a valuable tool for system administrators and web developers.

  • vps, server
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Корпоративная почта на базе собственного домена

Корпоративная почта на собственном домене не только придаёт профессиональный...

Установка и настройка Rclone

Rclone — это мощный инструмент командной строки для управления файлами на облачных хранилищах....

Apache vs Nginx: what’s the difference, how to Install, and which one to choose?

When choosing a web server for your project, Apache and Nginx often come into focus. Both of...

HTTP Errors: common causes and how to fix them

Error 403: ForbiddenDescription: The server understands the request but refuses to fulfill it....

Let's Encrypt without a control panel

Let's Encrypt SSL Certificates: How to Install and Set Up Free Automated Encryption Let's...

Powered by WHMCompleteSolution