The following commands can be used to install Webmin 1.610 on CentOS 5.8. Make sure you’re logged in as root and then follow the steps below.
Select a temporary directory to save the download to. We will only use the downloaded file once so it’s pointless keeping it.. free up space and put it in /tmp!
Begin the download of Webmin using wget:
Install Webmin by unpacking the archive:
rpm -Uvh webmin-1.610-1.noarch.rpm
Done! You can now login to your fresh installation of Webmin by heading to http://hostname-or-ipaddress:10000 using the root username and password.
- You can download the file used in the example above by clicking here
- If you don’t have a server to try this on I’d recommend DigitalOcean hands down – virtual servers start from $5 a month
The simple one line command below will enable the EPEL repository on CentOS 7
rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
Once ran you will see confirmation that it has been installed successfully, that’s it!
- You can find out more about the EPEL repository here
- If you don’t already have a server, I’d strongly recommend starting with DigitalOcean
Recently I created a script that uses the Bad Bots database where a list of bad bots is retrieved and then parsed into iptable firewall rules to prevent further access from known bad hosts.
More information can be found at GitHub here.