Skip to content

Instantly share code, notes, and snippets.

@merolhack
Last active October 15, 2015 18:47
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save merolhack/5d081863bbb5f3fee3f1 to your computer and use it in GitHub Desktop.
Save merolhack/5d081863bbb5f3fee3f1 to your computer and use it in GitHub Desktop.
REHL(Centos & Oracle Linux) 6: Instalar Webmin
# Crear archivo del repositorio:
nano /etc/yum.repos.d/webmin.repo
[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1
# Descargar e instalar la llave GPG:
wget http://www.webmin.com/jcameron-key.asc
rpm --import jcameron-key.asc
# Instalar Webmin:
yum install webmin -y
Installed:
webmin.noarch 0:1.760-1
# Abrir puerto
iptables -I INPUT 5 -p tcp --dport 1000 -m state --state NEW,ESTABLISHED -j ACCEPT
service iptables save
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
# Si no se cuenta con certificado SSL, deshabilitarlo:
nano /etc/webmin/miniserv.conf​
ssl=1
ssl=0
# Reiniciar servicio:
service webmin restart
Stopping Webmin server in /usr/libexec/webmin
Starting Webmin server in /usr/libexec/webmin
Pre-loaded WebminCore
# Iniciar servicio al iniciar el sistema:
chkconfig webmin on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment