Cool Slider Effects

Blackdog can provide extraordinary effects to make your site stand out from the crowd

Today is someday

Want Something Like This?

Get in touch for a quote. You won't be disappointed.

Safe Harbor

Twenty years from now you will be more disappointed by the things you didn’t do than by the ones you did do.

Our Freedom

For to be free is not merely to cast off one's chains, but to live in a way that respects and enhances the freedom of others.

Stopping Time

Emancipate yourselves from mental slavery, none but ourselves can free our minds.

Walk the Walk

The trouble with being in the rat race is that even if you win, you're still a rat.

Caged Birds

They told me to grow roots, instead I grew wings. Birds born in a cage think flying is an illness.

Webmin - Administer your server

17 September 2014 Written by Security 518
Rate this item
(0 votes)

Administering Linux and Unix-based servers does not need to be the scourge of your work day. With the best free tool around called Webmin as part of your arsenal, you can regain complete control of your server via the Web browser. Not happy with using the Linux command line or using Linux text editors such as Vi or Nano, Webmin is for you. And best of all it's free.

Webmin acts as a comprehensive interface to the underlying applications on servers, including support for configuring applications like ftp, ssh, mail, Web, databases and more. Differing from other control panels, the core Webmin interface is intended for system administrators with root access to their servers, and includes a user-based package to enable your users (or clients) to access their own domains, email, and more, within a limited scope. Webmin supports running under SSL.

The application runs on its own mini-Web server so as to be available even when your primary Web server software is not running (i.e. Apache, etc.), and is powered by a number of Perl-based applications that directly interface with your system configuration files. So if you accidentally misconfigure your web server Webmin still runs.

Before you begin

Webmin is an amazingly powerful tool so Hackers try and use it where it is available. By default it sets itself up to run automatically on system boot on port 10000. Hackers know this and when they find that port open can try to brute force your server. It is essential that once installed you change these settings immediately. I explain how later in this tutorial, but do NOT abandon this task till later.

I you remember one thing from this tutorial it should be that Webmin is only switched on when you need to use it


Note This tutorial uses Webmin 1.69.. At the time of writing 1.70 is available but doesn't install 3rd party modules correctly e.g. CSF + LFD (Firewall and login failure daemon). Change the version numbers if you don't need these facilities


In root terminal mode issue following commands

dpkg -i webmin_1.690_all.deb

On a vanilla install of Debian or Ubuntu VPS's on Bhost this will throw up errors because of missing Perl dependencies. To fix these use

apt-get -f install

As an aside that last command is an essential in anyone's Debian/Ubuntu shell arsenal. It installs all required dependencies for 3rd party packages.


In root terminal issue following commands
rpm -U webmin-1.690-1.noarch.rpm

The rest of the install will be done automatically, and the webmin server will be active. The administration username set to


and the password to your current root password. You should now be able to login to Webmin at the URL https://yoururl or IP address:10000/.

Installation Troubleshooting

As you can see from the above access url's Webmin initially runs on port 10000. Many operating systems block access to port 10000 by default, as they have a firewall activated as part of the installation process. This may prevent you from logging into http://yourserver:10000/ from another system on your network or over the Internet.

The alternative is to login as root via SSH, and manually edit the firewall configuration file. On Redhat and derived systems, this is


, while on Debian it is


. The line you need to add is :

-A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT

It should be added in the file just after similar lines which grant access to ports 80, 22 and so on.

Once this line has been added, you will need to apply the firewall configuration. This is typically done with the command

/etc/init.d/iptables restart


Login to webmin and change the port that it runs on. Click on Webmin tab on the left menu then webmin Configuration


Now click on Ports and addresses


Change the ports to a different number, preferably with five digits so as not to conflict with other services you may be running on your VPS. By default Webin tries to open this port in your firewall. if this doesn't happen you will need to open your new port in the firewall as described above. Once you are logged back in with your new port number save this as a bookmark in your browser so you do not forget it.

Now prevent webmin from running on system startup/reboot.


update-rc.d -f webmin remove


chkconfig httpd off
chkconfig httpd --del

Starting and Stopping Webmin Service


service webmin start
service webmin stop


chkconfig webmin on chkconfig webmin off


Configure Webmin for your VPS

By default Webmin installs itself to configure a standard set of services. In order to ensure you can configure all the service you have enabled on your own VPS you need to enable the appropriate Webmin modules. In Webmin Configuration click on Webmin Modules. This will automatically install the required modules that Webmin has available to administer you services.

Last modified on Wednesday, 08 February 2017 14:04
Login to post comments



« May 2021 »
Mon Tue Wed Thu Fri Sat Sun
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30


Please publish modules in offcanvas position.