The Perfect Server - Debian Squeeze (Debian 6.0) With BIND, Dovecot & Nginx [ISPConfig 3] - Page 7

21 Install ISPConfig 3

Before you start the ISPConfig installation ensure that Apache is stopped because phpMyAdmin will have installed Apache as a dependency. Should Apache2 already be installed on the system stop it now:

/etc/init.d/apache2 stop

and remove Apache's system startup links if you have not already done so in a previous step:

insserv -r apache2

Make sure that nginx is running:

/etc/init.d/nginx restart

If you have both Apache and nginx installed, the installer asks you which one you want to use: Apache and nginx detected. Select server to use for ISPConfig: (apache,nginx) [apache]:

Type nginx. If only Apache or nginx are installed, this is automatically detected by the installer, and no question is asked.

To install ISPConfig 3 from the latest released version, do this:

cd /tmp
wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
tar xfz ISPConfig-3-stable.tar.gz
cd ispconfig3_install/install/

The next step is to run

php -q install.php

This will start the ISPConfig 3 installer. The installer will configure all services like Postfix, Dovecot, etc. for you. A manual setup as required for ISPConfig 2 (perfect setup guides) is not necessary.

root@server1:/tmp/ispconfig3_install/install# php -q install.php


--------------------------------------------------------------------------------
 _____ ___________   _____              __ _         ____
|_   _/  ___| ___ \ /  __ \            / _(_)       /__  \
  | | \ `--.| |_/ / | /  \/ ___  _ __ | |_ _  __ _    _/ /
  | |  `--. \  __/  | |    / _ \| '_ \|  _| |/ _` |  |_ |
 _| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| | ___\ \
 \___/\____/\_|      \____/\___/|_| |_|_| |_|\__, | \____/
                                              __/ |
                                             |___/
--------------------------------------------------------------------------------


>> Initial configuration

Operating System: Debian or compatible, unknown version.

    Following will be a few questions for primary configuration so be careful.
    Default values are in [brackets] and can be accepted with <ENTER>.
    Tap in "quit" (without the quotes) to stop the installer.


Select language (en,de) [en]:
 <-- ENTER

Installation mode (standard,expert) [standard]: <-- ENTER

Full qualified hostname (FQDN) of the server, eg server1.domain.tld  [server1.example.com]: <-- ENTER

MySQL server hostname [localhost]: <-- ENTER

MySQL root username [root]: <-- ENTER

MySQL root password []: <-- yourrootsqlpassword

MySQL database to create [dbispconfig]: <-- ENTER

MySQL charset [utf8]: <-- ENTER

Apache and nginx detected. Select server to use for ISPConfig: (apache,nginx) [apache]: <-- nginx

Generating a 2048 bit RSA private key
........+++
.......+++
writing new private key to 'smtpd.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:
 <-- ENTER
State or Province Name (full name) [Some-State]: <-- ENTER
Locality Name (eg, city) []: <-- ENTER
Organization Name (eg, company) [Internet Widgits Pty Ltd]: <-- ENTER
Organizational Unit Name (eg, section) []: <-- ENTER
Common Name (eg, YOUR name) []: <-- ENTER
Email Address []: <-- ENTER
Configuring Jailkit
Configuring SASL
Configuring PAM
Configuring Courier
Configuring Spamassassin
Configuring Amavisd
Configuring Getmail
Configuring Pureftpd
Configuring BIND
Configuring nginx
Configuring Vlogger
Configuring Apps vhost
Configuring Bastille Firewall
Configuring Fail2ban
Installing ISPConfig
ISPConfig Port [8080]:
 <-- ENTER

Do you want a secure (SSL) connection to the ISPConfig web interface (y,n) [y]: <-- ENTER

Generating RSA private key, 4096 bit long modulus
.............................................................................++
........................................................................................................................++
e is 65537 (0x10001)
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:
 <-- ENTER
State or Province Name (full name) [Some-State]: <-- ENTER
Locality Name (eg, city) []: <-- ENTER
Organization Name (eg, company) [Internet Widgits Pty Ltd]: <-- ENTER
Organizational Unit Name (eg, section) []: <-- ENTER
Common Name (eg, YOUR name) []: <-- ENTER
Email Address []: <-- ENTER

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
 <-- ENTER
An optional company name []: <-- ENTER
writing RSA key
Configuring DBServer
Installing ISPConfig crontab
no crontab for root
no crontab for getmail
Restarting services ...
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop mysql ; start mysql. The restart(8) utility is also available.
mysql stop/waiting
mysql start/running, process 2463
 * Stopping Postfix Mail Transport Agent postfix
   ...done.
 * Starting Postfix Mail Transport Agent postfix
   ...done.
 * Stopping SASL Authentication Daemon saslauthd
   ...done.
 * Starting SASL Authentication Daemon saslauthd
   ...done.
Stopping amavisd: amavisd-new.
Starting amavisd: amavisd-new.
 * Stopping ClamAV daemon clamd
   ...done.
 * Starting ClamAV daemon clamd
Bytecode: Security mode set to "TrustSigned".
   ...done.
 * Stopping Courier authentication services authdaemond
   ...done.
 * Starting Courier authentication services authdaemond
   ...done.
 * Stopping Courier IMAP server imapd
   ...done.
 * Starting Courier IMAP server imapd
   ...done.
 * Stopping Courier IMAP-SSL server imapd-ssl
   ...done.
 * Starting Courier IMAP-SSL server imapd-ssl
   ...done.
 * Stopping Courier POP3 server...
   ...done.
 * Starting Courier POP3 server...
   ...done.
 * Stopping Courier POP3-SSL server...
   ...done.
 * Starting Courier POP3-SSL server...
   ...done.
 * Restarting Mailman master qrunner mailmanctl
 * Waiting...
   ...fail!
The master qrunner lock could not be acquired because it appears as if another
master qrunner is already running.

   ...done.
 * Reloading PHP5 FastCGI Process Manager php5-fpm
   ...done.
Reloading nginx configuration: nginx.
Restarting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -8 UTF-8 -O clf:/var/log/pure-ftpd/transfer.log -D -H -b -A -E -u 1000 -Y 1 -B
Installation completed.
You have mail in /var/mail/root
root@server1:/tmp/ispconfig3_install/install#

The installer automatically configures all underlying services, so no manual configuration is needed.

You now also have the possibility to let the installer create an SSL vhost for the ISPConfig control panel, so that ISPConfig can be accessed using https:// instead of http://. To achieve this, just press ENTER when you see this question: Do you want a secure (SSL) connection to the ISPConfig web interface (y,n) [y]:.

You can then access ISPConfig 3 under http(s)://server1.example.com:8080/ or http(s)://192.168.0.100:8080/ ( http or https depends on what you chose during installation). Log in with the username admin and the password admin (you should change the default password and possibly edit the admin username after your first login):

If your browser indicates a 502 Bad Gateway error, just restart PHP-FPM and try the URL again:

/etc/init.d/php5-fpm restart

It can take a couple of minutes for the control panel to be accessible. The system should be ready to be used except if you have an error in your mail.log then read the note below.

 

 

22 Additional Notes

22.1 It is likely that emails are not sent or received so to correct this follow the steps below.

Postfix/Dovecot - warning SASL: Connect to private/auth failed: No such file or directory

Error: Postfix/Dovecot - warning: SASL: Connect to private/auth failed: No such file or directory

Similar error messages will appear in your mail log (cat /var/log/mail.log):

Aug 23 15:55:01 server1 postfix/smtpd[15194]: warning: SASL: Connect to private/auth failed: No such file or directory
Aug 23 15:55:01 server1 postfix/smtpd[15194]: fatal: no SASL authentication mechanisms
Aug 23 15:55:02 server1 postfix/master[3979]: warning: process /usr/libexec/postfix/smtpd pid 15194 exit status 1
Aug 23 15:55:02 server1 postfix/master[3979]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

Solution (this config should already exist after this tutorial):

Open your dovecot.conf /etc/dovecot/dovecot.conf, and make sure you have the following lines in it:

vi /etc/dovecot/dovecot.conf

[...]
client {
       path = /var/spool/postfix/private/auth
       mode = 0660
       user = postfix
       group = postfix
}
[...]

Restart Dovecot.

Then check if /var/spool/postfix/private/auth got created:

ls -l /var/spool/postfix/private/auth

Also make sure you add the following line into your /etc/postfix/main.cf file, sensibly on the line next to readme_directory = /usr/share/doc/postfix and restart postfix.

[...]
queue_directory = /var/spool/postfix
[...]

/etc/init.d/postfix restart

 

22.1 OpenVZ

If the Debian server that you have just set up in this tutorial is an OpenVZ container (virtual machine), you should do this on the host system, assuming that the ID of the OpenVZ container is 101, replace it with the correct VPSID on your system:

VPSID=101
for CAP in CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE
do
  vzctl set $VPSID --capability ${CAP}:on --save
done

 

23 Links

Share this page:

21 Comment(s)

Add comment

Comments

From: Anonymous at: 2012-11-21 22:05:27

New downloadlink for Debian

AMD64(netinstall)
http://cdimage.debian.org/debian-cd/6.0.6/amd64/iso-cd/debian-6.0.6-amd64-netinst.iso

I386(netinstall)
http://cdimage.debian.org/debian-cd/6.0.6/i386/iso-cd/debian-6.0.6-i386-netinst.iso

From: Anonymous at: 2013-03-03 08:07:27

 When formatting, don't make /home a separate, or at least not predominant, partition.  /var is where ISPConfig3 stores the user-data.

For those who may be used to other panels such as, well every other one made, you're probably used to wanting to load /home as a separate and primary partition since that's where all of the user data is stored.  With ISPConfig3, all of the user's web docs are in the /var/www folder such as on a traditional non-panel setup.

From: Benjamin Bouvier at: 2012-04-24 12:10:36

Some sources were missing in my /etc/apt/source.list, so I had to add some debian's repositories:

## squeeze
deb http://ftp.fr.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ squeeze main contrib non-free
## squeeze multimedia
deb http://www.debian-multimedia.org squeeze main non-free
deb-src http://mirror.home-dn.net/debian-multimedia squeeze main
# squeeze security
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
# squeeze update
deb http://ftp.fr.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ squeeze-updates main contrib non-free

And then the Dotdeb repository
# Dotdeb repository
deb http://packages.dotdeb.org squeeze all
deb-src http://packages.dotdeb.org squeeze all

Instead of it I couldn't synchronize The System Clock,install Mysql, etc

From: Lee Peterson at: 2012-05-09 18:44:50

Shouldn't /etc/hosts read as:

127.0.0.1       localhost   localhost.localdomain
192.168.0.100   server1.example.com     server1

From: Anonymous at: 2012-07-17 20:32:32

Get:1 http://ftp.us.debian.org/debian/ squeeze/main mysql-common all 5.1.49-3 [70.9 kB] Get:2 http://ftp.us.debian.org/debian/ squeeze/main libnet-daemon-perl all 0.43-1 [46.6 kB] Get:3 http://ftp.us.debian.org/debian/ squeeze/main libplrpc-perl all 0.2020-2 [36.0 kB] Get:4 http://ftp.us.debian.org/debian/ squeeze/main libdbi-perl amd64 1.612-1 [883 kB] Get:5 http://ftp.us.debian.org/debian/ squeeze/main libmysqlclient16 amd64 5.1.49-3 [1985 kB] Get:6 http://ftp.us.debian.org/debian/ squeeze/main libdbd-mysql-perl amd64 4.016-1 [140 kB] Get:7 http://ftp.us.debian.org/debian/ squeeze/main mysql-client-5.1 amd64 5.1.49-3 [10.1 MB] Get:8 http://ftp.us.debian.org/debian/ squeeze/main mysql-server-core-5.1 amd64 5.1.49-3 [4124 kB] Get:9 http://ftp.us.debian.org/debian/ squeeze/main mysql-server-5.1 amd64 5.1.49-3 [6598 kB] Get:10 http://ftp.us.debian.org/debian/ squeeze/main libgpg-error0 amd64 1.6-1 [43.9 kB] Get:11 http://ftp.us.debian.org/debian/ squeeze/main libgcrypt11 amd64 1.4.5-2 [282 kB] Err http://ftp.us.debian.org/debian/ squeeze/main libtasn1-3 amd64 2.7-1 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main libgnutls26 amd64 2.8.6-1 404 Not Found [IP: 64.50.233.100 80] Get:12 http://ftp.us.debian.org/debian/ squeeze/main libsasl2-2 amd64 2.1.23.dfsg1-7 [115 kB] Err http://ftp.us.debian.org/debian/ squeeze/main libldap-2.4-2 amd64 2.4.23-7 404 Not Found [IP: 64.50.233.100 80] Get:13 http://ftp.us.debian.org/debian/ squeeze/main lsof amd64 4.81.dfsg.1-1 [282 kB] Get:14 http://ftp.us.debian.org/debian/ squeeze/main mime-support all 3.48-1 [34.2 kB] Get:15 http://ftp.us.debian.org/debian/ squeeze/main python2.6-minimal amd64 2.6.6-8+b1 [1520 kB] Get:16 http://ftp.us.debian.org/debian/ squeeze/main libexpat1 amd64 2.0.1-7 [137 kB] Get:17 http://ftp.us.debian.org/debian/ squeeze/main python2.6 amd64 2.6.6-8+b1 [2455 kB] Err http://ftp.us.debian.org/debian/ squeeze/main python-minimal all 2.6.6-3+squeeze5 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main python all 2.6.6-3+squeeze5 404 Not Found [IP: 64.50.233.100 80] Get:18 http://ftp.us.debian.org/debian/ squeeze/main python-support all 1.0.10 [33.0 kB] Get:19 http://ftp.us.debian.org/debian/ squeeze/main ucf all 3.0025+nmu1 [69.6 kB] Get:20 http://ftp.us.debian.org/debian/ squeeze/main binutils amd64 2.20.1-16 [3993 kB] Err http://ftp.us.debian.org/debian/ squeeze/main libpq5 amd64 8.4.5-0squeeze2 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main openssl amd64 0.9.8o-4 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main dovecot-common amd64 1:1.2.15-4 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main dovecot-imapd amd64 1:1.2.15-4 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main dovecot-pop3d amd64 1:1.2.15-4 404 Not Found [IP: 64.50.233.100 80] Get:21 http://ftp.us.debian.org/debian/ squeeze/main getmail4 all 4.20.0-1 [170 kB] Get:22 http://ftp.us.debian.org/debian/ squeeze/main libhtml-template-perl all 2.9-2 [65.9 kB] Get:23 http://ftp.us.debian.org/debian/ squeeze/main libsasl2-modules amd64 2.1.23.dfsg1-7 [155 kB] Get:24 http://ftp.us.debian.org/debian/ squeeze/main mysql-client all 5.1.49-3 [65.2 kB] Get:25 http://ftp.us.debian.org/debian/ squeeze/main mysql-server all 5.1.49-3 [65.4 kB] Get:26 http://ftp.us.debian.org/debian/ squeeze/main ssl-cert all 1.0.28 [14.8 kB] Err http://ftp.us.debian.org/debian/ squeeze/main postfix amd64 2.7.1-1 404 Not Found [IP: 64.50.233.100 80] Get:27 http://ftp.us.debian.org/debian/ squeeze/main rkhunter all 1.3.6-4 [222 kB] Err http://ftp.us.debian.org/debian/ squeeze/main sudo amd64 1.7.4p4-2.squeeze.1 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main postfix-doc all 2.7.1-1 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main postfix-mysql amd64 2.7.1-1 404 Not Found [IP: 64.50.233.100 80] Get:28 http://ftp.us.debian.org/debian/ squeeze/main unhide amd64 20100201-1 [822 kB] Fetched 34.5 MB in 3s (9489 kB/s) Failed to fetch http://ftp.us.debian.org/debian/pool/main/libt/libtasn1-3/libtasn1-3_2.7-1_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/gnutls26/libgnutls26_2.8.6-1_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/o/openldap/libldap-2.4-2_2.4.23-7_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/python-defaults/python-minimal_2.6.6-3+squeeze5_all.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/python-defaults/python_2.6.6-3+squeeze5_all.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/postgresql-8.4/libpq5_8.4.5-0squeeze2_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/o/openssl/openssl_0.9.8o-4_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/d/dovecot/dovecot-common_1.2.15-4_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/d/dovecot/dovecot-imapd_1.2.15-4_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/d/dovecot/dovecot-pop3d_1.2.15-4_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/postfix/postfix_2.7.1-1_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/s/sudo/sudo_1.7.4p4-2.squeeze.1_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/postfix/postfix-doc_2.7.1-1_all.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/postfix/postfix-mysql_2.7.1-1_amd64.deb 404 Not Found [IP: 64.50.233.100 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? root@sekaihost:~# apt-get install postfix postfix-mysql postfix-doc mysql-client mysql-server openssl getmail4 rkhunter binutils dovecot-imapd dovecot-pop3d sudo Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: dovecot-common libdbd-mysql-perl libdbi-perl libexpat1 libgcrypt11 libgnutls26 libgpg-error0 libhtml-template-perl libldap-2.4-2 libmysqlclient16 libnet-daemon-perl libplrpc-perl libpq5 libsasl2-2 libsasl2-modules libtasn1-3 lsof mime-support mysql-client-5.1 mysql-common mysql-server-5.1 mysql-server-core-5.1 python python-minimal python-support python2.6 python2.6-minimal ssl-cert ucf unhide Suggested packages: binutils-doc rng-tools gnutls-bin libipc-sharedcache-perl libsasl2-modules-otp libsasl2-modules-ldap libsasl2-modules-sql libsasl2-modules-gssapi-mit libsasl2-modules-gssapi-heimdal libterm-readkey-perl tinyca ca-certificates procmail postfix-pgsql postfix-ldap postfix-pcre sasl2-bin resolvconf postfix-cdb mail-reader ufw python-doc python-tk python-profiler python2.6-doc python2.6-profiler binfmt-support bsd-mailx tripwire openssl-blacklist The following NEW packages will be installed: binutils dovecot-common dovecot-imapd dovecot-pop3d getmail4 libdbd-mysql-perl libdbi-perl libexpat1 libgcrypt11 libgnutls26 libgpg-error0 libhtml-template-perl libldap-2.4-2 libmysqlclient16 libnet-daemon-perl libplrpc-perl libpq5 libsasl2-2 libsasl2-modules libtasn1-3 lsof mime-support mysql-client mysql-client-5.1 mysql-common mysql-server mysql-server-5.1 mysql-server-core-5.1 openssl postfix postfix-doc postfix-mysql python python-minimal python-support python2.6 python2.6-minimal rkhunter ssl-cert sudo ucf unhide 0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded. Need to get 13.1 MB/47.6 MB of archives. After this operation, 125 MB of additional disk space will be used. Do you want to continue [Y/n]? y Err http://ftp.us.debian.org/debian/ squeeze/main libtasn1-3 amd64 2.7-1 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main libgnutls26 amd64 2.8.6-1 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main libldap-2.4-2 amd64 2.4.23-7 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main python-minimal all 2.6.6-3+squeeze5 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main python all 2.6.6-3+squeeze5 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main libpq5 amd64 8.4.5-0squeeze2 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main openssl amd64 0.9.8o-4 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main dovecot-common amd64 1:1.2.15-4 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main dovecot-imapd amd64 1:1.2.15-4 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main dovecot-pop3d amd64 1:1.2.15-4 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main postfix amd64 2.7.1-1 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main sudo amd64 1.7.4p4-2.squeeze.1 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main postfix-doc all 2.7.1-1 404 Not Found [IP: 64.50.233.100 80] Err http://ftp.us.debian.org/debian/ squeeze/main postfix-mysql amd64 2.7.1-1 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/libt/libtasn1-3/libtasn1-3_2.7-1_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/g/gnutls26/libgnutls26_2.8.6-1_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/o/openldap/libldap-2.4-2_2.4.23-7_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/python-defaults/python-minimal_2.6.6-3+squeeze5_all.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/python-defaults/python_2.6.6-3+squeeze5_all.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/postgresql-8.4/libpq5_8.4.5-0squeeze2_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/o/openssl/openssl_0.9.8o-4_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/d/dovecot/dovecot-common_1.2.15-4_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/d/dovecot/dovecot-imapd_1.2.15-4_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/d/dovecot/dovecot-pop3d_1.2.15-4_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/postfix/postfix_2.7.1-1_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/s/sudo/sudo_1.7.4p4-2.squeeze.1_amd64.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/postfix/postfix-doc_2.7.1-1_all.deb 404 Not Found [IP: 64.50.233.100 80] Failed to fetch http://ftp.us.debian.org/debian/pool/main/p/postfix/postfix-mysql_2.7.1-1_amd64.deb 404 Not Found [IP: 64.50.233.100 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

From: at: 2013-04-19 16:30:29

NginX has his own repo.

http://nginx.org/en/linux_packages.html#stable

For Debian replace codename with Debian distribution codename, and append the following to the end of the/etc/apt/sources.list file:

deb http://nginx.org/packages/debian/ codename nginx 

deb-src http://nginx.org/packages/debian/ codename nginx 

 For Debian/Ubuntu then run the following commands:

apt-get update
apt-get install nginx

 

From: Anonymous at: 2012-08-07 16:38:11

Couldn't find package php5-fpm ... seems like no longer maintained repo. 

From: Anonymous at: 2012-08-10 02:38:11

Add: deb http://php53.dotdeb.org squeeze all

From: Giuseppe at: 2012-11-11 04:59:54

You don't have writed the location for "fastcgi_param HTTPS on". In which file i have to add this code?

"If you use https instead of http for your vhost, you should add the line fastcgi_param HTTPS on, to your phpMyAdmin configuration like this"

From: MiLk at: 2012-11-11 11:01:21

If you install the package "php5" at the same time than "php5-fpm", apache won't be installed with phpmyadmin.

From: Giuseppe at: 2012-11-12 14:47:58

Hi,

after i insert this command "update-rc.d -f spamassassin remove" the Debian 6.0.6 Squeeze give me this error "update-rc.d: using dependency based boot sequencing".

 How to solve this issue?

From: at: 2013-02-21 08:53:39

When i do this: insserv -r apache2

I get this error:

insserv: warning: script is corrupt or invalid: /etc/init.d/../rc6.d/S00vzreboot

And when i then try to start nginx with: /etc/init.d/nginx start

I get this error:

Restarting nginx: nginxnginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()

From: Wallis Short at: 2013-04-15 13:03:51

When I carried out the command

/etc/init.d/nginx start

I received an error

nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
nginx: configuration file /etc/nginx/nginx.conf test failed

 This means that IPv6 only is enabled. To correct this error edit the file /etc/nginx/sites-enabled/default

vi /etc/nginx/sites-enabled/default

and comment out (or delete) the following line.

listen [::]:80 default ipv6only=on; ## listen for ipv6
 
This should work when you do the restart.

 

From: at: 2012-04-18 15:40:20

Installation of Jailkit doesn't work for me. I noticed you forgot to add a line `cd ..` so that the .deb package can be found and installed.

From: at: 2012-06-11 11:30:24

The following must be corrected in the filter:

action = iptables-multiport[name=dovecot-pop3imap, port="pop3,pop3s,imap,imaps", protocol=tcp] 

:)

From: Ensale at: 2012-04-18 18:44:31

I tried this.

Before started system was at 60MB memory used after I tried this configuration: http://www.lowendbox.com/blog/wordpress-cheap-vps-lowendscript/

I spent 5 hours trying to set it up. Due to: lack of knowledge about linux.

 Then... finally got ISPConfig 3 up and running, realising that memory used: 150MB

 Start to cry. My server is only 256MB/512MB can this be the end?

 Tried to get rid of postfix, and ... boom! 200MB used. php5-fpm com up with 20 processes from web1 user, which I have no ideas where from:

Then I tried to removed all those installed packages... still 95MB memory used. This time I really freak out. Couldn't find a better way to format the debian system. So I had to contact support. Hofully they will do something.

From: Anonymous at: 2012-06-17 05:03:26

Without any offense: what did you expect? A webserver will not run out of thin air, same goes for the mailserver, clamav, etc...

Basically you should ask yourself if you really need your own webserver, if so you should get one with more ram (1 GB might do, if you're not hosting many sites).

Wordpress and friends are also quite hungry on the RAM, as such you won't be able to host many sites with such a low amount of RAM.

 Your server is probably more suited as dedicated mailserver/irc server, etc...

 

From: Anonymous at: 2012-09-10 03:26:19

Some people want everything for nothing.

 

From: Chris P at: 2012-09-05 22:53:47

I found that in addition to the steps under 21.1 I also had to uncomment the following section in /etc/postfix/master.cf in order to get SSLTLS to work.

smtps     inet  n       -       -       -       -       smtpd
  -o smtpd_tls_wrappermode=yes
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  -o milter_macro_daemon_name=ORIGINATING

 

Note besides; note that there's two section 22.1,... I was referring to the first one.

 

From: Dragos at: 2013-04-15 09:09:11

Thanks again for the tutorial, great work but i have a problem after installation that i can't figure it out.

When i try to acces IspConfig index page i get a 403 Forbidden Page.

 My error log is :

2013/04/15 10:17:57 [error] 3187#0: *17 "/usr/local/ispconfig/interface/web/index.php" is forbidden (13: Permission denied), client: 192.168.0.52, server: _, request: "GET / HTTP/1.1", host: "192.168.0.253:8080"
 

From: XAKEPEHOK at: 2013-10-08 17:22:31

Try to set user directive in /etc/nginx/nginx.conf from nginx to www-data