Agradecemos a GNUtransfer el habernos cedido un VPS y otros recursos para escribir este articulo.
Debemos comenzar con una instalación mínima y limpia de Ubuntu Precise Pangolin, debemos tener un dominio registrado y una IP fija y publica.
En nuestro ejemplo sera
IP: 69.61.93.19
DOMINIO: tester-gnupanel.com.ar
//Importante agregado el 3-3-2013 /////////////////////////////////////////////////////////////////////////////////
Ante de comenzar debemos generar los locales
cat /usr/share/i18n/SUPPORTED > /var/lib/locales/supported.d/local dpkg-reconfigure locales echo 'LANG="en_US.ISO-8859-1"' > /etc/default/locale
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Primero debemos ingresar como root en el servidor, creamos un directorio, descargamos y descomprimimos gnupanel dentro del mismo.
root@vps146167:/# mkdir gnupanel-install root@vps146167:/# cd gnupanel-install/ root@vps146167:/gnupanel-install# wget http://downloads.geeklab.com.ar/files/gnupanel/gnupanel_lenny_squeeze_precise_0.3.4_R2.tar.bz2 --2013-01-28 21:17:10-- http://downloads.geeklab.com.ar/files/gnupanel/gnupanel_lenny_squeeze_precise_0.3.4_R2.tar.bz2 Resolving downloads.geeklab.com.ar (downloads.geeklab.com.ar)... 69.61.29.79 Connecting to downloads.geeklab.com.ar (downloads.geeklab.com.ar)|69.61.29.79|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 12489725 (12M) [application/x-bzip2] Saving to: `gnupanel_lenny_squeeze_precise_0.3.4_R2.tar.bz2' 100%[=====================================================================================================================================================================================================================================================================================>] 12,489,725 2.57M/s in 4.6s 2013-01-28 21:17:15 (2.57 MB/s) - `gnupanel_lenny_squeeze_precise_0.3.4_R2.tar.bz2' saved [12489725/12489725] root@vps146167:/gnupanel-install# tar xjf gnupanel_lenny_squeeze_precise_0.3.4_R2.tar.bz2 root@vps146167:/gnupanel-install#
Luego ingresamos en el directorio gnupanel_lenny_squeeze_precise_0.3.4_R2 y ejecutamos el script install-dep.sh
root@vps146167:/gnupanel-install# cd gnupanel_lenny_squeeze_precise_0.3.4_R2/ root@vps146167:/gnupanel-install/gnupanel_lenny_squeeze_precise_0.3.4_R2# ./install-dep.sh Reading package lists... Done Building dependency tree Reading state information... Done mawk is already the newest version. The following NEW packages will be installed: dialog 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 280 kB of archives. After this operation, 1,254 kB of additional disk space will be used. Do you want to continue [Y/n]?
Presionamos «Enter»
Seleccionamos «Yes» y presionamos enter
The following packages will be upgraded: dpkg dselect gnupg gpgv isc-dhcp-client isc-dhcp-common libdrm-intel1 libdrm-nouveau1a libdrm-radeon1 libdrm2 python-apport python-problem-report upstart 13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 4,170 kB of archives. After this operation, 30.7 kB disk space will be freed. Do you want to continue [Y/n]?
Presionamos «Enter» (Esto si su sistema esta actualizado no debería aparecer, y si su sistema esta muy desactualizado aparecerá una lista mas grande de paquetes)
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libcap2 libdbi1 libevtlog0 libjson0 libmongo-client0 libnet1 libsyslog-ng-3.3.4 syslog-ng-core syslog-ng-mod-json syslog-ng-mod-mongodb syslog-ng-mod-sql Suggested packages: mongodb-server libdbd-mysql libdbd-pgsql libdbd-sqlite3 The following packages will be REMOVED: rsyslog The following NEW packages will be installed: libcap2 libdbi1 libevtlog0 libjson0 libmongo-client0 libnet1 libsyslog-ng-3.3.4 syslog-ng syslog-ng-core syslog-ng-mod-json syslog-ng-mod-mongodb syslog-ng-mod-sql 0 upgraded, 12 newly installed, 1 to remove and 0 not upgraded. Need to get 499 kB of archives. After this operation, 1,296 kB of additional disk space will be used. Do you want to continue [Y/n]?
Presionamos «Enter»
Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: heirloom-mailx 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 557 kB disk space will be freed. Do you want to continue [Y/n]?
Presionamos «Enter»
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libossp-uuid16 libperl5.14 libpq5 libxslt1.1 postgresql-client-common postgresql-common ssl-cert Suggested packages: uuid oidentd ident-server locales-all libdbd-pg-perl openssl-blacklist The following NEW packages will be installed: libossp-uuid16 libperl5.14 libpq5 libxslt1.1 postgresql-9.1 postgresql-9.1-debversion postgresql-client-9.1 postgresql-client-common postgresql-common postgresql-contrib-9.1 postgresql-doc-9.1 postgresql-plperl-9.1 postgresql-plpython-9.1 ssl-cert 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. Need to get 8,859 kB of archives. After this operation, 31.8 MB of additional disk space will be used. Do you want to continue [Y/n]?
Presionamos «Enter»
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18 libnet-daemon-perl libplrpc-perl mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server-5.5 mysql-server-core-5.5 Suggested packages: libipc-sharedcache-perl libterm-readkey-perl tinyca The following NEW packages will be installed: libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18 libnet-daemon-perl libplrpc-perl mysql-client mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. Need to get 27.2 MB of archives. After this operation, 97.3 MB of additional disk space will be used. Do you want to continue [Y/n]?
Presionamos «Enter»
Presionamos «Enter» dejando en blanco el password de mysql (GNUPanel le asignara uno automaticamente)
Nuevamente nos volvera a aparecer el mismo mensaje
Presionamos «Enter» nuevamente dejando en blanco el password de mysql
y otra vez aparecera el aviso del password de mysql (3 vez)
Presionamos «Enter» nuevamente dejando en blanco el password de mysql
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: dbconfig-common libboost-program-options1.46.1 libboost-serialization1.46.1 libcrypto++9 liblua5.1-0 pdns-server Suggested packages: postgresql pdns-backend pdns-recursor The following NEW packages will be installed: dbconfig-common libboost-program-options1.46.1 libboost-serialization1.46.1 libcrypto++9 liblua5.1-0 pdns-backend-pgsql pdns-server 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 3,998 kB of archives. After this operation, 13.5 MB of additional disk space will be used. Do you want to continue [Y/n]?
Presionamos «Enter»
Seleccionamos «No» y Presionamos «Enter»
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: apache2.2-bin apache2.2-common libapache2-reload-perl libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libbsd-resource-perl libdevel-symdump-perl libencode-locale-perl libfile-listing-perl libfont-afm-perl libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libio-socket-inet6-perl libio-socket-ssl-perl liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl libnet-http-perl libnet-ssleay-perl libsocket6-perl liburi-perl libwww-perl libwww-robotrules-perl php5-cli php5-common Suggested packages: apache2-doc apache2-suexec apache2-suexec-custom php-pear libapache2-mod-python-doc libdata-dump-perl libcrypt-ssleay-perl libauthen-ntlm-perl php5-suhosin The following NEW packages will be installed: apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common libapache2-mod-auth-pam libapache2-mod-perl2 libapache2-mod-php5 libapache2-mod-python libapache2-reload-perl libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libbsd-resource-perl libdevel-symdump-perl libencode-locale-perl libfile-listing-perl libfont-afm-perl libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libio-socket-inet6-perl libio-socket-ssl-perl liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl libnet-http-perl libnet-ssleay-perl libsocket6-perl liburi-perl libwww-perl libwww-robotrules-perl php5-cli php5-common 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. Need to get 10.9 MB of archives. After this operation, 31.6 MB of additional disk space will be used. Do you want to continue [Y/n]?
Presionamos «Enter»
Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'php5-common' instead of 'php5-mhash' Note, selecting 'php5-intl' instead of 'php5-idn' php5-cli is already the newest version. php5-cli set to manually installed. php5-common is already the newest version. php5-common set to manually installed. The following extra packages will be installed: dictionaries-common fontconfig-config iamerican ienglish-common ispell libfontconfig1 libfreetype6 libgd2-xpm libicu48 libjpeg-turbo8 libjpeg8 libmcrypt4 libt1-5 libxpm4 postgresql-doc squirrelmail-viewashtml ttf-dejavu-core wamerican Suggested packages: emacsen-common jed-extra spell libgd-tools libmcrypt-dev mcrypt postgresql slony1-bin squirrelmail-decode php5-recode imap-server imapproxy php-pear php5-ldap The following NEW packages will be installed: dictionaries-common fontconfig-config iamerican ienglish-common ispell libfontconfig1 libfreetype6 libgd2-xpm libicu48 libjpeg-turbo8 libjpeg8 libmcrypt4 libt1-5 libxpm4 php5 php5-curl php5-gd php5-gmp php5-intl php5-mcrypt php5-mysql php5-pgsql php5-sqlite php5-xmlrpc php5-xsl phpmyadmin phppgadmin postgresql-doc squirrelmail squirrelmail-locales squirrelmail-viewashtml ttf-dejavu-core wamerican 0 upgraded, 33 newly installed, 0 to remove and 0 not upgraded. Need to get 22.2 MB of archives. After this operation, 70.2 MB of additional disk space will be used. Do you want to continue [Y/n]?
Presionamos «Enter»
Seleccionamos «Yes» y Presionamos «Enter»
Dejamos en blanco y Presionamos «Enter»
Dejamos en blanco y Presionamos «Enter» Se generara un password aleatorio para phpmyadmin
Seleccionamos apache2 y Presionamos «Enter»
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libfile-copy-recursive-perl proftpd-basic update-inetd Suggested packages: proftpd-doc proftpd-mod-mysql proftpd-mod-ldap proftpd-mod-odbc proftpd-mod-sqlite openbsd-inetd inet-superserver The following NEW packages will be installed: libfile-copy-recursive-perl proftpd-basic proftpd-mod-pgsql update-inetd 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 2,209 kB of archives. After this operation, 4,871 kB of additional disk space will be used. Do you want to continue [Y/n]?
Presionamos «Enter»
Seleccionamos «standalone» y Presionamos «Enter»
Reading package lists... Done Building dependency tree Reading state information... Done ca-certificates is already the newest version. unzip is already the newest version. unzip set to manually installed. libsasl2-modules is already the newest version. The following extra packages will be installed: binutils clamav-base clamav-freshclam cpp cpp-4.6 db-util db5.1-util gcc gcc-4.6 libarchive-zip-perl libberkeleydb-perl libc-dev-bin libc6-dev libclamav6 libcompress-raw-zlib-perl libconvert-binhex-perl libconvert-tnef-perl libconvert-uulib-perl libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl liberror-perl libgomp1 libio-multiplex-perl libio-stringy-perl libltdl7 libmail-dkim-perl libmail-spf-perl libmime-tools-perl libmpc2 libmpfr4 libnet-cidr-perl libnet-server-perl libnetaddr-ip-perl libquadmath0 libsys-hostname-long-perl libtommath0 libunix-syslog-perl linux-libc-dev make manpages-dev pax re2c spamc Suggested packages: zoo nomarch lzop cabextract apt-listchanges libnet-ldap-perl libauthen-sasl-perl dspam p7zip rpm unrar-free libsnmp-perl binutils-doc clamav-docs daemon apparmor cpp-doc gcc-4.6-locales gcc-multilib autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.6-multilib libmudflap0-4.6-dev gcc-4.6-doc libgcc1-dbg libgomp1-dbg libquadmath0-dbg libmudflap0-dbg binutils-gold glibc-doc libclamunrar6 make-doc procmail postfix-mysql postfix-ldap dovecot-common resolvconf postfix-cdb postfix-doc razor libnet-ident-perl pyzor The following packages will be REMOVED: exim4 exim4-base exim4-config exim4-daemon-light The following NEW packages will be installed: amavisd-new arj binutils clamav clamav-base clamav-daemon clamav-freshclam cpp cpp-4.6 db-util db5.1-util gcc gcc-4.6 lha libarchive-zip-perl libberkeleydb-perl libc-dev-bin libc6-dev libclamav6 libcompress-raw-zlib-perl libconvert-binhex-perl libconvert-tnef-perl libconvert-uulib-perl libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl liberror-perl libgomp1 libio-multiplex-perl libio-stringy-perl libltdl7 libmail-dkim-perl libmail-spf-perl libmime-tools-perl libmpc2 libmpfr4 libnet-cidr-perl libnet-server-perl libnetaddr-ip-perl libquadmath0 libsys-hostname-long-perl libtommath0 libunix-syslog-perl linux-libc-dev make manpages-dev pax postfix postfix-pcre postfix-pgsql re2c sasl2-bin spamassassin spamc unrar zip 0 upgraded, 55 newly installed, 4 to remove and 0 not upgraded. Need to get 31.8 MB of archives. After this operation, 82.6 MB of additional disk space will be used. Do you want to continue [Y/n]?
Presionamos «Enter»
Seleccionamos «Internet Site» y Presionamos «Enter»
Colocamos el dominio de nuestro servidor y Presionamos «Enter»
Reading package lists... Done Building dependency tree Reading state information... Done libtext-iconv-perl is already the newest version. The following extra packages will be installed: courier-authdaemon courier-authlib courier-authlib-userdb courier-base courier-ssl expect gamin libgamin0 tcl8.5 Suggested packages: courier-doc imap-client tclreadline The following NEW packages will be installed: courier-authdaemon courier-authlib courier-authlib-postgresql courier-authlib-userdb courier-base courier-imap courier-imap-ssl courier-maildrop courier-pop courier-pop-ssl courier-ssl expect gamin libfile-tail-perl libgamin0 tcl8.5 0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded. Need to get 2294 kB of archives. After this operation, 7568 kB of additional disk space will be used. Do you want to continue [Y/n]?
Presionamos «Enter»
Seleccionamos «No» y Presionamos «Enter»
Presionamos «Enter»
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: pwgen Suggested packages: lynx listadmin The following NEW packages will be installed: mailman pwgen 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 9,686 kB of archives. After this operation, 33.5 MB of additional disk space will be used. Do you want to continue [Y/n]?
Presionamos «Enter»
Seleccionamos todos los idiomas y Presionamos «Enter»
Seleccionamos «en (English)» y Presionamos «Enter»
Presionamos «Enter»
Nota: Vemos que el instalador de mailman solo genera el lenguaje por defecto, luego el script nos volverá a preguntar y ahí si los generara.
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libdb4.8 The following NEW packages will be installed: awstats geoip-bin libdb4.8 libgeo-ipfree-perl mergelog webalizer 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 2,545 kB of archives. After this operation, 7,428 kB of additional disk space will be used. Do you want to continue [Y/n]?
Presionamos «Enter»
Reading package lists... Done Building dependency tree Reading state information... Done phpmyadmin is already the newest version. phppgadmin is already the newest version. sudo is already the newest version. The following extra packages will be installed: libgpgme11 libpth20 libtokyocabinet8 python-support Suggested packages: gpgsm urlview mixmaster The following NEW packages will be installed: libgpgme11 libpth20 libtokyocabinet8 mutt python-support rpl 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 1,786 kB of archives. After this operation, 5,442 kB of additional disk space will be used. Do you want to continue [Y/n]?
Presionamos «Enter»
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: gcc-4.6-multilib gcc-multilib lib32gcc1 lib32gomp1 lib32quadmath0 libc6-i386 Suggested packages: lib32mudflap0 The following NEW packages will be installed: gcc-4.6-multilib gcc-multilib lib32gcc1 lib32gomp1 lib32quadmath0 libc6-dev-i386 libc6-i386 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 8,314 kB of archives. After this operation, 20.4 MB of additional disk space will be used. Do you want to continue [Y/n]?
Presionamos «Enter»
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: aspell aspell-en autoconf automake autotools-dev javascript-common libaspell15 libjs-jquery-ui libltdl-dev libssl-dev libssl-doc libtool m4 php-auth php-auth-sasl php-mail-mime php-mail-mimedecode php-mdb2 php-mdb2-driver-mysql php-net-smtp php-net-socket php-pear php5-dev php5-pspell roundcube-core roundcube-mysql shtool tinymce wwwconfig-common zlib1g-dev Suggested packages: aspell-doc spellutils autoconf2.13 autoconf-archive gnu-standards autoconf-doc gettext libjs-jquery-ui-docs libtool-doc automaken gfortran fortran95-compiler gcj php-log php-soap php-crypt-gpg roundcube-plugins The following NEW packages will be installed: aspell aspell-en autoconf automake autotools-dev javascript-common libaspell15 libjs-jquery-ui libltdl-dev libssl-dev libssl-doc libtool m4 php-auth php-auth-sasl php-mail-mime php-mail-mimedecode php-mdb2 php-mdb2-driver-mysql php-net-smtp php-net-socket php-pear php5-dev php5-pspell roundcube roundcube-core roundcube-mysql shtool tinymce wwwconfig-common zlib1g-dev 0 upgraded, 31 newly installed, 0 to remove and 0 not upgraded. Need to get 8,651 kB of archives. After this operation, 34.7 MB of additional disk space will be used. Do you want to continue [Y/n]?
Presionamos «Enter»
Seleccionamos «Yes» y Presionamos «Enter»
Seleccionamos «mysql» y Presionamos «Enter»
Dejamos en blanco y Presionamos «Enter»
Dejamos en blanco y Presionamos «Enter»
Seleccionamos «postfix» y Presionamos «Enter»
Dejamos el directorio por defecto y Presionamos «Enter»
Dejamos la opción por defecto (En la mayoría de los casos debería ser el hostname) y Presionamos «Enter»
Seleccionamos «English» y Presionamos «Enter»
Lo dejamos vacío y Presionamos «Enter»
Ahora nos aparecerá nuevamente la configuración de mailman y esta vez si generara todos los lenguajes (Tomara algo de tiempo)
Seleccionamos todos los idiomas y Presionamos «Enter»
Seleccionamos «en (English)» y Presionamos «Enter»
Presionamos «Enter»
Esto demorara algo de tiempo.
Ahora ejecutamos el script ./gnupanel-install.sh
root@vps146167:/gnupanel-install/gnupanel_lenny_squeeze_precise_0.3.4_R2# ./gnupanel-install.sh Configuring GNUPanel root@vps146167:/gnupanel-install/gnupanel_lenny_squeeze_precise_0.3.4_R2#
Y ahora ejecutamos el comando gnupanel-config.sh
root@vps146167:/gnupanel-install/gnupanel_lenny_squeeze_precise_0.3.4_R2# gnupanel-config.sh
Seleccionamos «Yes» y Presionamos «Enter»
Colocamos nuestra IP y Presionamos «Enter»
Volvemos a colocar nuestra IP y Presionamos «Enter»
Aca colocamos la IP de algun DNS nosotros usamos el DNS publico de google y Presionamos «Enter»
Si queremos permitirle a alguna IP hacer consultas de DNS a nuestro servidor ponemos esa IP aqui (En la mayoria de los casos deberia quedar en blanco) y Presionamos «Enter»
Aquí colocamos nuestro dominio y Presionamos «Enter»
Aquí colocamos la dirección de correo electrónico del administrador del servidor y Presionamos «Enter»
Aquí colocamos en nombre descriptivo para nuestros servidor (lo mas habitual es que sea el hostname) y Presionamos «Enter»
Aqui colocamos la transferencia que tiene disponible el servidor mensualmente en este ejemplo sera 400G pero recuerden que se coloca en MegaBytes asi que en este caso colocamos 400000 y Presionamos «Enter»
Aquí colocamos el espacio en disco disponible, recuerden que 2G mas o menos utiliza el sistema asi que como en nuestro caso tenemos un disco de 10G nos quedarian 8G para GNUPanel y recuerden que se escribe en MegaBytes así que quedaría 8000 y Presionamos «Enter»
Aqui colocamos el password de admin de GNUPanel y Presionamos «Enter»
Nuevamente colocamos el password de admin de GNUPanel y Presionamos «Enter»
Listo ahora hay que esperar a que el script termine de ejecutarse.
Una vez que se termino de ejecutar el script deben ir con el navegador e esta direccion http://IP/admin en este ejemplo http://69.61.93.19/admin
Luego vamos a «Main -> Add IP» eligen el servidor y luego agregan la IP con las opciones tal cual se ve en las capturas de pantalla
Luego vamos a «Reseller Plans -> Add Plan» y siguen los pasos como en estas capturas (Recuerden los valores de espacio en disco y transferencia que colocaron en el script de instalacion)
Recuerden que -1 es para ilimitado.
Luego vamos a «Resellers -> Add reseller» y agregamos el usuario reseller recuerden que los campos marcados con asterisco son obligatorios y que como este es su primer reseller el dominio es el mismo que el que colocaron con el script de instalacion.
Al cabo de unos minutos nos llegara el correo con los datos de ingreso del panel de control.
Con esto queda finalizada la instalacion basica de GNUPanel en Ubuntu 12.04 Precise Pangolin, cualquier duda pueden visitar nuestro foro

About Ricardo Marcelo Alvarez
- Web |
- More Posts(58)
Debe estar conectado para enviar un comentario.