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

15 Install PureFTPd And Quota

PureFTPd and quota can be installed with the following command:

apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool

Edit the file /etc/default/pure-ftpd-common:

vi /etc/default/pure-ftpd-common

Start mode is most likely already set to standalone and but make sure VIRTUALCHROOT=true is also defined like this:

[...]
STANDALONE_OR_INETD=standalone
[...]
VIRTUALCHROOT=true
[...]

It is likely that all lines are commented out, but it is worth checking /etc/inetd.conf for a line beginning with ftp stream tcp and comment it out. If the file or line do not exist then there is no need to edit or create it. This prevents inetd from trying to start ftp:

vi /etc/inetd.conf

Comment it out like this:

[...]
#:STANDARD: These are standard services.
#ftp    stream  tcp     nowait  root    /usr/sbin/tcpd /usr/sbin/pure-ftpd-wrapper
[...]

If you had to modify /etc/inetd.conf, restart inetd now:

/etc/init.d/openbsd-inetd restart

Now you can configure PureFTPd to allow FTP and TLS sessions. FTP is a very insecure protocol because all passwords and data are transferred in clear text. By using TLS the data transfers can be encrypted thus making FTP much more secure.

If you would like to allow FTP and TLS sessions run:

echo 1 > /etc/pure-ftpd/conf/TLS

In order to use TLS you must create an SSL certificate. Create the directory and generate the SSL certificate in /etc/ssl/private/ using the following commands:

mkdir -p /etc/ssl/private/
openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem

Country Name (2 letter code) [AU]: <-- Enter your Country Name (e.g., "DE").
State or Province Name (full name) [Some-State]:
<-- Enter your State or Province Name.
Locality Name (eg, city) []:
<-- Enter your City.
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
<-- Enter your Organization Name (e.g., the name of your company).
Organizational Unit Name (eg, section) []:
<-- Enter your Organizational Unit Name (e.g. "IT Department").
Common Name (eg, YOUR name) []:
<-- Enter the Fully Qualified Domain Name of the system (e.g. "server1.example.com").
Email Address []:
<-- Enter your Email Address.

Then change the permissions of the SSL certificate and restart PureFTPd:

chmod 600 /etc/ssl/private/pure-ftpd.pem
/etc/init.d/pure-ftpd-mysql restart

Edit /etc/fstab by adding ,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 to the partition with the mount point /, can also be done on /var if you have a separate /var partition:

vi /etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/sda1 during installation
UUID=92bceda2-5ae4-4e3a-8748-b14da48fb297 /               ext3    errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0       1
# swap was on /dev/sda5 during installation
UUID=e24b3e9e-095c-4b49-af27-6363a4b7d094 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0

On a separate /var partition you can use usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 under options like this:

[...]
# / was on /dev/sda1 during installation
UUID=92bceda2-5ae4-4e3a-8748-b14da48fb297 /               ext3    errors=remount-ro 0       1
[...]
# /var was on /dev/sda3 during installation
UUID=be189fc3-b1b0-4e41-822c-6f81aa504bc1 /var            ext3    usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0       2
[...]

Please note that the UUIDs, paritions and file system types are likely differ on your system so do not change the to the ones in the example configuration.

To enable quota, run these commands:

mount -o remount /

quotacheck -avugm
quotaon -avug

If you enabled quota on /var then you might get a similar response on your terminal:

quotacheck: Scanning /dev/sda3 [/var] done
quotacheck: Cannot stat old user quota file: No such file or directory
quotacheck: Cannot stat old group quota file: No such file or directory
quotacheck: Cannot stat old user quota file: No such file or directory
quotacheck: Cannot stat old group quota file: No such file or directory
quotacheck: Checked 335 directories and 3233 files
quotacheck: Old file not found.
quotacheck: Old file not found.
root@server1:~# quotaon -avug
/dev/sda3 [/var]: group quotas turned on
/dev/sda3 [/var]: user quotas turned on

 

16 Install BIND DNS Server

BIND can be installed as follows:

apt-get install bind9 dnsutils

 

17 Install Vlogger, Webalizer, And AWstats

Vlogger, webalizer, and AWstats can be installed as follows:

apt-get install vlogger webalizer awstats geoip-database

Open /etc/cron.d/awstats to edit it...

vi /etc/cron.d/awstats

... and comment out both cron jobs in that file:

#*/10 * * * * www-data [ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh
# Generate static reports:
#10 03 * * * www-data [ -x /usr/share/awstats/tools/buildstatic.sh ] && /usr/share/awstats/tools/buildstatic.sh

 

18 Install Jailkit

Jailkit is needed only if you want to chroot SSH users. Jailkit must be installed before ISPConfig 3, it cannot be installed afterwards! It can be installed as follows:

apt-get install build-essential autoconf automake1.9 libtool flex bison debhelper

cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.14.tar.gz
tar xvfz jailkit-2.14.tar.gz
cd jailkit-2.14
./debian/rules binary
cd ..
dpkg -i jailkit_2.14-1_*.deb
rm -rf jailkit-2.14*

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