Before installing Webmin, you must update apt-get's package lists:
3.sudo apt-get update
Now run this apt-get command to install Webmin:
4.sudo apt-get install webmin
After the installation is complete, the Webmin service will start automatically.
Log in to Webmin In a web browser, access your server's Webmin login page via its public IP address (the same IP address you used to login via SSH) on port 10000. By default, Webmin will start with SSL/TLS enabled, so you will need to use HTTPS to connect to it.