Instalar Webmin en FreeBSD.

Topic created · 2 Mensajes · 2946 Visitas
  • **Webmin es una interfaz basada en web para administración de sistemas para Unix como FreeBSD. El uso de cualquier navegador que soporte tablas y formularios, puede configurar cuentas de usuarios, Apache, DNS, compartir archivos, servidor de seguridad y así sucesivamente. **

    **Ademas Webmin consta de un servidor web sencillo, y una serie de programas CGI que, directa actualizar los archivos de sistema como /etc/inetd.conf y /etc/master.passwd.

    Instalación de Webmin.

    1º Debemos tener instalado el Arbol de los Ports.

    # portsnap fetch extract

    2º Procedemos a instalar webmin por medio de /usr/ports/sysutils/webmin

    # cd /usr/ports/sysutils/webmin
    # make install clean

    NOTA: En caso de que nos de un error diciendo que nuestro libtool esta en una version diferente a la 2.2 hacemos lo siguiente:

    Actualizamos /devel ports tree luego instalamos el libtool 2.2

    # cd /usr/ports/devel/libtool22
    # make install && make clean

    Luego hacemos nuevamente:

    # cd /usr/ports/sysutils/webmin
    # make install clean

    3ª Luego de que se nos haya instalado el Webmin. Editamos el rc.conf

    # ee /etc/rc.conf

    Añadimos una linea adicional con el siguiente comando:

    webmin_enable="YES"

    Guardamos con Esc y dos veces A. Luego hacemos reboot

    4º Luego en la linea hacemos arrancar:

    # /usr/local/lib/webmin/setup.sh

    Y nos debería salir un panel mostrando lo siguiente el cual haremos pasos acontinuacion:

    ***********************************************************************
    *            Welcome to the Webmin setup script, version 1.420        *
    ***********************************************************************
    Webmin is a web-based interface that allows Unix-like operating
    systems and common Unix services to be easily administered.
    
    Installing Webmin in /usr/local/lib/webmin ...
    
    ***********************************************************************
    Webmin uses separate directories for configuration files and log files.
    Unless you want to run multiple versions of Webmin at the same time
    you can just accept the defaults.
    
    Log file directory [/var/log/webmin]: [Presionamos Enter]
    
    ***********************************************************************
    Webmin is written entirely in Perl. Please enter the full path to the
    Perl 5 interpreter on your system.
    
    Full path to perl (default /usr/bin/perl):  [Presionamos Enter]
    
    Testing Perl ...
    Perl seems to be installed ok
    
    ***********************************************************************
    Operating system name:    FreeBSD
    Operating system version: 7.0
    
    ***********************************************************************
    Webmin uses its own password protected web server to provide access
    to the administration programs. The setup script needs to know :
     - What port to run the web server on. There must not be another
       web server already using this port.
     - The login name required to access the web server.
     - The password required to access the web server.
     - If the webserver should use SSL (if your system supports it).
     - Whether to start webmin at boot time.
    
    Web server port (default 10000):  [Presionamos Enter]
    Login name (default admin):  [Presionamos Enter]
    Login password: [Ponemos nuestra password]
    Password again: [Repetimos password]
    Use SSL (y/n): [Presionamos Y]
    ***********************************************************************
    Creating web server config files..
    ..done
    
    Creating access control file..
    ..done
    
    Creating start and stop scripts..
    ..done
    
    Copying config files..
    ..done
    
    Changing ownership and permissions ..
    ..done
    
    Running postinstall scripts ..
    ..done
    

    5ª Ahora nos quedaría ir al panel de administración de Webmin. Para ello abrimos nuestro navegador y ponemos la siguiente url:

    [https://TU-IP:10000/][0]">[https://TU-IP:10000/][1]

    o tambien

    [https://TU-DOMINIO:10000/][0]">[https://TU-DOMINIO:10000/][2]

    Por ejemplo:

    [https://192.168.0.100:10000/][0]">[https://192.168.0.100:10000/][3]

    6º Ingresamos a la pagina loguendonos.

    NOTA: En caso de que hayan configurado mal la instalación (por ejemplo hayan metido un puerto mal hecho) y la hayan cagado alli (estoy seguro que si xD) pues simplemente hacen esto:

    # cd /usr/local/etc/webmin
    # ee miniserv.conf

    Y editamos el puerto para que nos abra por medio de nuestro navegador.

    Un saludo.**

    [0]: <a href=
    [1]: https://TU-IP:10000/
    [2]: https://TU-DOMINIO:10000/
    [3]: https://192.168.0.100:10000/

  • bien hecho haber como nos va con la de apache que por cierto voy para 1 hora instalándolo