Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/findsolu/public_html/qa-include/qa-db.php on line 66
Install Webmin on Amazon Linux AMI in EC2 -
  • Register
Welcome to, where you can find Solutions of your problems, ask questions and receive answers from other community members.

Install Webmin on Amazon Linux AMI in EC2

+1 vote
How to install Webmin on Amazon Linux AMI EC2 instanace properly so i can host multiple sites and manage server easily also get rid of command line interface of ssh.
asked Jul 11, 2014 by papu

1 Answer

0 votes

You can install Webmin on my Linux AMI EC2 server using the following steps:


Connect / Access your EC2 instance via SSH

Download the Webmin package using following command:

sudo wget

Unpack Webmin package. Use the following command, but update the version number if it has changed:

sudo rpm -U webmin-1.690-1.noarch.rpm

It may take few minutes to finish installation and you would  see the success/complete message at the end of putty/console screen.



Now open port 10000 for webmin on your EC2 instance by updating security group settings, you can do it easily via AWS Management Console following these steps...

 Go to EC2 Dashboard

Click on Security Groups and Select the Security Group you are using for EC2 or Default security group on Security Groups page

 Click on "Inbond" Tab and then Click on "Edit" button, now in new popup window click on "Add Rule" button

Add Type "Custom TCP Rule" , Port Range "10000", Source "AnyWhere" and press "Save" button

So the output should be like this screen shot after opening port 10000



If you don’t have an Elastic IP attached with your EC2 instance please add one by clicking on "Elastic IP" link in the Left side navigation column on EC2 Dashboard.



Now you have to set a root password since ec2-user won’t work with webmin admin and amazon Linux AMIs didn’t come with a root password, so use the following command via SSH consol / Putty:

sudo /usr/libexec/webmin/ /etc/webmin root PASSWORD

replace PASSWORD with your own new password.

restart Webmin using the following command:

sudo service webmin restart



Now you should be all set so login with your favorite web browser using the following URL but replace the IP with the Elastic IP of your EC2 instance:

eg. OR



Bind didn’t show up under servers in the left navigation panel for Webmin, so this is what you do:

in the search box in left navigation, type Bind and click to search. IN the search results, click on first one that said “BIND DNS server” and install it.

After successful installation of Bind DNS, refresh page and Webmin should have Bind DNS listed under servers now in the left navigation menu.

click on Bind DNS server and you will see the admin for Bind.

answered Jul 11, 2014 by Mj Malik