Total Pageviews

Wednesday, February 11, 2015

Linux Basics : Installing Webmin

set proxy settings (if required)

$ export http_proxy=http://191.254.1.42:8080



Installing Webmin
1. RedHat
# cd /opt
# wget http://www.webmin.com/jcameron-key.asc
# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.730-1.noarch.rpm
and then run the command :
# rpm --import jcameron-key.asc
# rpm -Uvh webmin*.rpm

2. Debian

$ wget http://prdownloads.sourceforge.net/webadmin/webmin_1.730_all.deb
then run the command :
$ dpkg --install webmin_1.730_all.deb

Uninstalling Webmin

rpm -qa | grep -i webmin
You should then find the exact package name. Then run

$ rpm -e

if http://localhost:10000 dosent run then

Edit the firewall configuration file.
On Redhat and derived systems, this is /etc/sysconfig/iptables, while on Debian it is /var/lib/iptables.
The line you need to add is :
-A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT

$ /etc/init.d/iptables restart

if webmin run on http://localhost:10000 then edit firewall setting from here
delete firewall setting for reject all incoming connection.

Now you can access webmin from other PC

- Vinod Kotiya

No comments: