Hacking digital systems

Webmin 1.710 on Ubuntu Server 14.04 64-bit running on Amazon EC2

Webmin LogoThis tutorial shows how to install the latest version of Webmin in Ubuntu Linux from its official repository.

As you may know, Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely.

To get started, login your remote server and follow the steps below:

Amazon EC2 AMI usedUbuntu Trusty Logo

Ubuntu Server 14.04 LTS 64-bit (HVM), EBS General Purpose (SSD) Volume Type. Support available from Canonical ( – ami-9eaa1cf6

  1. Update sources:
    # sudo apt-get update
  2. Install new kernel to support quotas:
    # sudo apt-get install linux-image-extra-virtual↵
    # sudo reboot↵

    ⇒ When asked, choose to install the package maintainers version (top option)

  3. Upgrade rest of packages and reboot:
    # sudo apt-get dist-upgrade↵
    # sudo reboot↵
  4. Load and install kernel modules:
    # sudo depmod -a↵
    # sudo modprobe quota_v1↵
    # sudo modprobe quota_v2↵
  5. Enable new kernel modules to load on boot and reboot:
    # sudo echo quota_v1 >> /etc/modules↵
    # sudo echo quota_v2 >> /etc/modules↵
    # sudo reboot↵
  6. Install quota:
    # sudo apt-get install quota↵
  7. Please see official documentation for configuration and usage of quota:
    # man fstab↵
    # man quotacheck↵
    # man quota↵
    # man quotaon↵
  8. Add inbound rule to the security group assigned to your EC2 instance:
    Type: Custom TCP Rule
    Protocol: TCP
    Port Range: 10000

    ⇒ I highly recommend you set the source to your IP. This will block access to unauthorized users.
    ⇒ Official documentation for Amazon EC2 Security Groups:

  9. Login to Webmin over HTTPS using your EC2 Public DNS or Elastic IP:

If you need help using Webmin, please refer to the Webmin Wiki hosted at:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: