Log in Via SSH
Log in to your server as the new user that you created (or root) via SSH (substitute your user name and server IP address here):
ssh new_user@server_IP_address
Answer the password prompt to complete the login process.
Let’s get started with the Webmin installation!
Install Webmin
To install Webmin via apt-get, you must first add the Webmin repository to your sources.list
file.
On your server, open the sources.list
file in your favorite text editor. We will use nano
in this tutorial:
sudo nano /etc/apt/sources.list
If you are prompted for a “[sudo] password”, enter your user’s password.
Now press Ctrl-W
then Ctrl-V
to navigate to the end of the file, then add the following lines to the file:
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
When you are finished editing, save the file by pressing Ctrl-X
, then y
, RETURN
.
Now add the Webmin GPG key to apt, so the source repository you added will be trusted. This command will do that:
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
Before installing Webmin, you must update apt-get’s package lists:
sudo apt-get update
Now run this apt-get command to install Webmin:
sudo apt-get install webmin
Enter y
to confirm the installation.
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.
Open this URL in your web browser (substitute the IP address):
https://server_IP_address:10000
ok Work