Skip to main content

Posts

Showing posts from March 21, 2010

Webmin on CentOS

We use CentOS for our web servers, and favor Webmin as a way to administer our servers. To install Webmin via yum on CentOS, follow these steps as root or sudo, from the command line (via SSH or at the console). These steps will also work for RedHat servers.Configure the Webmin repository and installWebmin is not available via yum in the default CentOS repository. Follow these steps to add the Webmin repository (repo) from Webmin.com.Create and edit the repository file # nano /etc/yum.repos.d/webmin.repoAdd the [Webmin] section (listed below) to the new repository fileSave the new fileImport the public key: # rpm --import http://www.webmin.com/jcameron-key.asc
Install webmin: # yum install webminOpen the FirewallIf your server is protected by a firewall, you won't be able to access Webmin until you open port 10000. Use these steps on CentOSBackup the current firewall settings: # cp /etc/sysconfig/iptables /etc/sysconfig/iptables.bakInstall the Red Hat firewall configuration tool # …