How to Install Webmin in Centos 5.5 Using Yum

Share this Article :

On the previous article about webmin, i have guided you on how to install webmin in CentOS 5.5 using rpm. Meanwhile, in this article, i will guide you on how to install Webmin in centos using yum command that much more simple and can get you the latest version of webmin. Please follow the steps below to proceed.

1. Login to your CentOS server with root privileges.

2. To install and update Webmin via RPM through yum, you have to create webmin.repo on /etc/yum.repos.d directory as below:

    [[email protected] ~]# vi /etc/yum.repos.d/webmin.repo
    

Contain of webmin.repo

    [Webmin]
    name=Webmin Distribution Neutral
    #baseurl=http://download.webmin.com/download/yum
    mirrorlist=http://download.webmin.com/download/yum/mirrorlist
    enabled=1
    

3. Install the dependencies using yum command.

    [[email protected] ~]# yum -y install perl-Net-SSLeay
    

4. Install with yum command :

    [[email protected] ~]# yum install webmin
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * Webmin: webmin.mirror.somersettechsolutions.co.uk
     * addons: centos.maulvi.net
     * base: centos.maulvi.net
     * extras: centos.maulvi.net
     * updates: centos.ipserverone.com
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package webmin.noarch 0:1.540-1 set to be updated
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    =====================================================================================
     Package            Arch               Version              Repository          Size
    =====================================================================================
    Installing:
     webmin             noarch             1.540-1              Webmin              16 M
    
    Transaction Summary
    =====================================================================================
    Install       1 Package(s)
    Upgrade       0 Package(s)
    
    Total download size: 16 M
    Is this ok [y/N]: y
    Downloading Packages:
    webmin-1.540-1.noarch.rpm                                     |  16 MB     07:05
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Operating system is CentOS Linux
      Installing     : webmin                                                        1/1
    Webmin install complete. You can now login to https://server.intranet.local:10000/
    as root with your root password.
    
    Installed:
      webmin.noarch 0:1.540-1
    
    Complete!
    


Leave a Reply