Install webmin on ubuntu 14.04 (Trusty Tahr) Server

Sponsored Link
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 like /etc/passwd, and lets you manage a system from the console or remotely.

We have already discusses about how to install ubuntu 14.04 LAMP server

Now you need to install webmin from APT repository

You need to edit the /etc/apt/sources.list file

sudo vi /etc/apt/sources.list

add the following lines

deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

Save and exit the file

Now you need to download GPG key

wget http://www.webmin.com/jcameron-key.asc

sudo apt-key add jcameron-key.asc

Update source list

sudo apt-get update

Install webmin using the following command

sudo apt-get install webmin

Access webmin

Now you need to go to https://ubuntu-serverip:10000


Ubuntu in particular don't allow logins by the root user by default. However, the user created at system installation time can use sudo to switch to root. Webmin will allow any user who has this sudo capability to login with full root privileges.

Once you logged in you should see similar to the following screen

1

Sponsored Link

You may also like...

7 Responses

  1. Dede Erik says:

    Thanks mate, but i find ssl error in my browser, how to fix it?

  2. DIgitecservers says:

    Thanks you so much i was test this tutorial thats great and working normaly

  3. Serge says:

    Hello,

    if you have some issues on package not found (Libauthen-pam-perl and others), verify that you have the word universe in your source list :

    deb http://fr.archive.ubuntu.com/ubuntu trusty main universe

    regards
    Serge

  4. Frank Harland says:

    Hi, I could use some help with getting Webmin to work. My apt-get upgrade command keeps hanging at unpacking webmin 17.30
    Uninstalling does not work because of
    installArchives() failed: dpkg: error processing package webmin (–remove):
    package is in a very bad inconsistent state; you should
    reinstall it before attempting a removal
    Errors were encountered while processing:
    webmin
    Error in function:

    and reinstall does not work because then the package gets stuck at unpacking…
    Going in circles..
    Please help
    [email protected]

  5. Bill says:

    Thanks Serge! You really saved the day for me with this info.

  6. Steve says:

    i tried how it says to do it but it keeps saying “sudo: unable to resolve host server1.example.com” could that be because it isn’t that?

  7. jhony says:

    Hi, i tried it, but i got these error.
    ============================
    root@ubuntu:/home/jhony# sudo apt-get install webmin
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    webmin is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
    2 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Setting up apt-show-versions (0.22.3) …
    ** initializing cache. This may take a while **
    Can’t locate AptPkg/Cache.pm in @INC (you may need to install the AptPkg::Cache module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /usr/bin/apt-show-versions line 43.
    BEGIN failed–compilation aborted at /usr/bin/apt-show-versions line 43.
    dpkg: error processing package apt-show-versions (–configure):
    subprocess installed post-installation script returned error exit status 2
    dpkg: dependency problems prevent configuration of webmin:
    webmin depends on apt-show-versions; however:
    Package apt-show-versions is not configured yet.

    dpkg: error processing package webmin (–configure):
    dependency problems – leaving unconfigured
    Errors were encountered while processing:
    apt-show-versions
    webmin
    E: Sub-process /usr/bin/dpkg returned an error code (1)

Leave a Reply

Your email address will not be published. Required fields are marked *