logoAbout Me: I'm a freelance web developer that specializes in WordPress Themes and plugin development. I've written about some of my projects here.
Hire me e-mail

Home / blog / Installing Webmin on CentOS

One of the first things I did on my Media Tempe (dv) was install webmin because I’m a huge fan of easy it let’s you manage your web/server, e.g. web interface to quickly change config files or restart particular services without having to login through SSH.
A more official description:webmin.jpg

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.

Add the following section to /etc/yum.repos.d/CentOS-Base.repo

[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1

Install GPG key/signature by running

# rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

Run

# yum install webmin

Your webmin should now be available at
http://your.ip.address:10000/
or
https://your.ip.address:10000/
and you can login using your root account.

I would highly recommend the stressfree theme for webmin, it makes it much easier to navigate. Also, Virtualmin is a must if you manage a lot of domains, it “supports the creation and management of Apache virtual hosts, BIND DNS domains, MySQL databases, and mailboxes and aliases with Sendmail or Postfix”.

  • Cool. I'd also recommend changing the port to something other than the default, if it's going to be publicly accessible. Or you could just block it at the firewall and only allow access to it locally or via an SSH tunnel, which is what I prefer.
  • cameron
    Thanls for the info but when I use yum to install webmin with this setup it loads version 1.250 which is 2 years old. The lastest version of webmin is 1.390 so why isn't it installing that?
  • It's just the latest version in the DAG repo. You can simply update Webmin within itself (webmin/upgrade.cgi), which I've never had a problem with.
  • cameron
    Thanks Dan!
  • Anthony
    I am a newbie, and how do you install the GPI signature, or do you add the line into the repos. file?

    Thanks
  • use vi
  • didnt work for me ?
  • Redoctober
    nice work. was looking for this .. im also a n00b :P
blog comments powered by Disqus