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”.

About the Author, Dan Cameron:

I'm the owner and solution engineer at Sprout Venture, a web solutions company that specializes in web development including WordPress.

I started my first blog in 2003 and transitioned to WordPress in 2004. Since moving to WordPress I've written a few plugins and themes for public consumption. Lately I'm busy engineering/building/coding and have only been able to share a few code snippets.

If you're in need of some web development, web design or custom WordPress plugins and/or themes contact me, I'll be happy to discuss it with you.

Read More »

  • Redoctober
    nice work. was looking for this .. im also a n00b :P
  • didnt work for me ?
  • use vi
  • Anthony
    I am a newbie, and how do you install the GPI signature, or do you add the line into the repos. file?

    Thanks
  • cameron
    Thanks Dan!
  • 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
    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?
  • 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.
blog comments powered by Disqus