How to Install Webmin on Linux

3

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.

Installing Webmin

Installing Webmin via Yum

Installing Webmin via yum has some advantages like later if you want to update it you can very easily via terminal.

Step One

Create a new file using vim or nano
Nano:

vi:

Now paste the following

Step Two

Install the GPG key with which the packages are signed.

Step Three

Finally just run the yum installer for webmin.

If everything goes well then webmin is now installed and can be found on http://localhost:10000/ Use your root user name and password to login for the first time.

Installing Webmin via TAR File

First of all download the Webmin package from http://www.webmin.com/download.html

Before downloading Webmin, you must already have Perl 5 installed on your system. Perl is usually installed as /usr/local/bin/perl or /usr/bin/perl, and comes as part of most recent versions of Linux. If you don’t have Perl, you can download the source from http://www.perl.com/ and compile it for your system. Most operating systems come with Perl these days, so check your operating system CD or website for a package as well.

Open terminal and navigate to the folder where you downloaded webmin. In my case I have downloaded webmin on /tmp folder

When the setup.sh script is run, it will ask the following questions :

  • The Webmin configuration directory
  • The Webmin log directory
  • The full path to perl on your system (This is usually inside “/usr/bin/perl” or “/usr/local/bin/perl” )
  • Your Operating system type
  • Web server port
  • Web server login and password
  • Web server hostname
  • Use SSL
  • Start Webmin at boot time

Assuming you answer all the above questions correctly, the Webmin web server will be started and the setup script will give you the URL to go to. Enter this URL into your browser, and you will be prompted for the login and password that you choose in setup.sh. Once you have logged in your browser should show the main Webmin page, on which is an icon for each module you have installed.

Typically you can connect to Webmin at http://localhost:10000/. Or if accessing it remotely, replace localhost with your system’s IP address.

If you installed Webmin by specifying an installation directory parameter to setup.sh as the instructions above show, the original webmin-1.590 directory can now be safely deleted.

3 COMMENTS

  1. some problems:
    on step 2 i had to separate the lines. fedora 17 would not let me put both at the same time

    also, when going to the webmin http my system said to use https instead saying something about using ssl

    also you say “stem2 instead of step2

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.