Last active
October 15, 2015 18:47
-
-
Save merolhack/5d081863bbb5f3fee3f1 to your computer and use it in GitHub Desktop.
REHL(Centos & Oracle Linux) 6: Instalar Webmin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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