Thank GNUtransfer the loan us a VPS and other resources to write this article.
We start with a minimal and clean installation of Ubuntu Precise Pangolin, we must have a registered domain and a fixed and public IP.In our example will
IP: 69.61.93.19
DOMAIN: tester-gnupanel.com.ar
//Important 03/03/2013 added ////////////////////////////////////////////////////////////////////////////////////////
Before we begin, we generate 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
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
We must first log in as root on the server, create a directory, download and unzip gnupanel inside.
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#
Then we entered the gnupanel_lenny_squeeze_precise_0.3.4_R2 directory and run the 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]?
Press «Enter»
Select «Yes» and press «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]?
Press «Enter» (This if your system is up to date should not appear, and if your system is very outdated will list larger packet)
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]?
Press «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]?
Press «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]?
Press «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]?
Press «Enter»
Press «Enter» clearing the password of mysql (GNUPanel will automatically assign one)
Again we occure the same message
Press «Enter» again leaving blank the password of mysql
and again the warning the password of mysql (3 time)
Press «Enter» again leaving blank the password of 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]?
Press «Enter»
Select «No» and Press «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]?
Press «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]?
Press «Enter»
Select «Yes» y Press «Enter»
We leave blank and press «Enter»
We leave blank and press «Enter» will generate a random password for phpmyadmin
Select apache2 and Press «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]?
Press «Enter»
Select «standalone» y Press «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]?
Press «Enter»
Select «Internet Site» and Press «Enter»
Place the domain of our server and press «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]?
Press «Enter»
Select «No» and Press «Enter»
Press «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]?
Press «Enter»
Select all languages and press «Enter»
Select «en (English)» and Press «Enter»
Press «Enter»
Note: We see the mailman installer only generates the default language, then the script and we will ask if there generate.
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]?
Press «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]?
Press «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]?
Press «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]?
Press «Enter»
Select «Yes» and Press «Enter»
Select «mysql» and Press «Enter»
We leave blank and press «Enter»
We leave blank and press «Enter»
Select «postfix» and Press «Enter»
Leaving the default directory and press «Enter»
We leave the default option (in most cases should be the hostname) and press «Enter»
Select «English» and Press «Enter»
We leave it blank and press «Enter»
Now we will setup mailman again and this time generate all languages (take some time)
Select all languages and press «Enter»
Select «en (English)» and Press «Enter»
Press «Enter»
This will take some time.
Now run the 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#
Now run the command gnupanel-config.sh
root@vps146167:/gnupanel-install/gnupanel_lenny_squeeze_precise_0.3.4_R2# gnupanel-config.sh
Select «Yes» and Press «Enter»
We put our IP and press «Enter»
Again put our IP and press «Enter»
Here we put the IP of the DNS we use Google Public DNS and press «Enter»
If we allow IP querying DNS to our server, IP put that here (in most cases should be blank) and press «Enter»
Here we put our domain and press «Enter»
Here we put the email address of the server administrator and press «Enter»
Here we put in name for our server (most often the case that the hostname) and press «Enter»
Here we put the transfer you have available monthly in this example will be 400G but remember standing in MegaBytes so in this case put 400000 and Press «Enter»
Here we put the disk space, remember that the system uses about 2G so in our case we have 10G 8G for GNUPanel and remember that is written so it would MegaBytes 8000 and Press «Enter»
Here we put the admin password GNUPanel and press «Enter»
Again put the admin password GNUPanel and press «Enter»
Ready now have to wait until the script has finished running.
Once finished running the script should go to your browser and put this direction http://IP/admin in this example http://69.61.93.19/admin
Then go to «Main -> Add IP» choose the server and then add the IP with the options as it looks in the screenshots
Then go to «Reseller Plans -> Add Plan» and follow the steps as in these screenshots (Remember the values of disk space and transfer placed in the installation script)
Remember to -1 is unlimited.
Then go to «Resellers -> Add reseller» and add the user reseller remember that fields marked with an asterisk are mandatory, as this is its first reseller domain is the same as the one placed in the installation script.
After a few minutes we got the mail with the data entry control panel.
This is completed the basic installation of GNUPanel in Ubuntu 12.04 Precise Pangolin, any questions please visit our forum

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