# Installation facile de ispconfig

**URL:** <https://www.debian-fr.org/t/installation-facile-de-ispconfig/56728>\
**Category:** Trucs et Astuces\
**Created:** [Février 21, 2016, 2:16 UTC](https://www.debian-fr.org/t/installation-facile-de-ispconfig/56728 "2016-02-21T14:16:12Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![charles44540](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/c/c67d28/32.png) [@charles44540](https://www.debian-fr.org/u/charles44540)\
**Post date:** [Février 21, 2016, 2:16 UTC](https://www.debian-fr.org/t/installation-facile-de-ispconfig/56728/1 "2016-02-21T14:16:12Z")

</div>

voila une installation simplifié pour installé apache,postfix,phpmyadmin,ispconfig,

`wget http://www.e-rave.nl/wp-content/uploads/2011/12/ispc3sysinstall.sh
chmod +x ispc3sysinstall.sh
./ispc3sysinstall.sh`  
et voila simple rapide et efficace

---

<div class="post-metadata">

**Author:** ![ricardo](https://www.debian-fr.org/user_avatar/www.debian-fr.org/ricardo/32/3864_2.png) [@ricardo](https://www.debian-fr.org/u/ricardo)\
**Post date:** [Février 21, 2016, 2:16 UTC](https://www.debian-fr.org/t/installation-facile-de-ispconfig/56728/2 "2016-02-21T14:16:14Z")

</div>

Ptet mais nous, on aimebien pouvoir lire les scripts avant de les installer.  
Tu peux le placer ici stp.

---

<div class="post-metadata">

**Author:** ![lol](https://www.debian-fr.org/user_avatar/www.debian-fr.org/lol/32/15629_2.png) [@lol](https://www.debian-fr.org/u/lol)\
**Post date:** [Février 21, 2016, 2:16 UTC](https://www.debian-fr.org/t/installation-facile-de-ispconfig/56728/3 "2016-02-21T14:16:15Z")

</div>

Salut,  
Le voilà (aucune mention de licence ?):  
Le script est pour Squeeze, pas sur que ça fonctionne sur une Wheezy (je m’en vais tester de ce pas…)

[code]#!/bin/bash  
#---------------------------------------------------------------------

# [ispc3sysinstall.sh](http://ispc3sysinstall.sh)

# 

# ISPConfig 3 system installer

# 

# Script: [ispc3sysinstall.sh](http://ispc3sysinstall.sh)

# Version: 1.0

# Author: Mark Stunnenberg [mark@e-rave.nl](mailto:mark@e-rave.nl)

# Description: This script will install all the packages needed to install

# ISPConfig 3 on your server.

# 

# 

#---------------------------------------------------------------------

#---------------------------------------------------------------------

# Global variables

#---------------------------------------------------------------------  
CFG\_HOSTNAME\_FQDN=`hostname -f`;  
WT\_BACKTITLE=“ISPConfig 3 System Installer”

#---------------------------------------------------------------------

# Function: PreInstallCheck

# Do some pre-install checks

#---------------------------------------------------------------------  
PreInstallCheck() {  
echo -n "Checking internet connection…"  
ping -q -c 3 [www.ispconfig.org](http://www.ispconfig.org) \> /dev/null 2\>&1

if [! “$?” -eq 0]; then  
echo "ERROR: Couldn’t reach [www.ispconfig.org](http://www.ispconfig.org), please check your internet connection!"  
exit 1;  
fi  
echo “OK!”  
}

#---------------------------------------------------------------------

# Function: AskQuestions

# Ask for all needed user input

#---------------------------------------------------------------------  
AskQuestions() {  
while [“x$CFG\_MYSQL\_ROOT\_PWD” == “x”]  
do  
CFG\_MYSQL\_ROOT\_PWD=$(whiptail --title “MySQL” --backtitle “$WT\_BACKTITLE” --inputbox “Please specify a root password” --nocancel 10 50 3\>&1 1\>&2 2\>&3)  
done

while [“x$CFG\_MTA” == “x”]  
do  
CFG\_MTA=$(whiptail --title “Mail Server” --backtitle “$WT\_BACKTITLE” --nocancel --radiolist “Select mailserver type” 10 50 2 “courier” “(default)” ON “dovecot” “” OFF 3\>&1 1\>&2 2\>&3)  
done

if (whiptail --title “Quota” --backtitle “$WT\_BACKTITLE” --yesno “Setup user quota?” 10 50) then  
CFG\_QUOTA=y  
else  
CFG\_QUOTA=n  
fi

if (whiptail --title “Jailkit” --backtitle “$WT\_BACKTITLE” --yesno “Would you like to install Jailkit?” 10 50) then  
CFG\_JKIT=y  
else  
CFG\_JKIT=n  
fi

while [“x$CFG\_WEBMAIL” == “x”]  
do  
CFG\_WEBMAIL=$(whiptail --title “Webmail client” --backtitle “$WT\_BACKTITLE” --nocancel --radiolist “Select your webmail client” 10 50 2 “roundcube” “(default)” ON “squirrelmail” “” OFF 3\>&1 1\>&2 2\>&3)  
done  
}

#---------------------------------------------------------------------

# Function: InstallBasics

# Install basic packages

#---------------------------------------------------------------------  
InstallBasics() {  
echo -n "Updating apt and upgrading currently installed packages…"  
apt-get -qq update  
apt-get -qqy upgrade  
echo “done!”

echo -n "Installing basic packages…"  
apt-get -y install ssh openssh-server vim-nox ntp ntpdate debconf-utils binutils sudo \> /dev/null 2\>&1

echo “dash dash/sh boolean false” | debconf-set-selections  
dpkg-reconfigure -f noninteractive dash \> /dev/null 2\>&1  
echo “done!”  
}

#---------------------------------------------------------------------

# Function: Install Postfix

# Install and configure postfix

#---------------------------------------------------------------------  
InstallPostfix() {  
echo -n "Installing postfix…"  
echo “postfix postfix/main\_mailer\_type select Internet Site” | debconf-set-selections  
echo “postfix postfix/mailname string $CFG\_HOSTNAME\_FQDN” | debconf-set-selections  
apt-get -y install postfix postfix-mysql postfix-doc getmail4 \> /dev/null 2\>&1  
echo “done!”  
}

#---------------------------------------------------------------------

# Function: InstallMysql

# Install and configure mysql

#---------------------------------------------------------------------  
InstallMysql() {  
echo -n "Installing mysql…"  
echo “mysql-server-5.1 mysql-server/root\_password password $CFG\_MYSQL\_ROOT\_PWD” | debconf-set-selections  
echo “mysql-server-5.1 mysql-server/root\_password\_again password $CFG\_MYSQL\_ROOT\_PWD” | debconf-set-selections  
apt-get -y install mysql-client mysql-server \> /dev/null 2\>&1  
sed -i ‘s/bind-address = 127.0.0.1/#bind-address = 127.0.0.1/’ /etc/mysql/my.cnf  
service mysql restart \> /dev/null  
echo “done!”  
}

#---------------------------------------------------------------------

# Function: InstallMTA

# Install chosen MTA. Courier or Dovecot

#---------------------------------------------------------------------  
InstallMTA() {  
case $CFG\_MTA in  
"courier")  
echo -n “Installing courier…”;  
echo “courier-base courier-base/webadmin-configmode boolean false” | debconf-set-selections  
echo “courier-ssl courier-ssl/certnotice note” | debconf-set-selections  
apt-get -y install courier-authdaemon courier-authlib-mysql courier-pop courier-pop-ssl courier-imap courier-imap-ssl libsasl2-2 libsasl2-modules libsasl2-modules-sql sasl2-bin libpam-mysql courier-maildrop \> /dev/null 2\>&1  
sed -i ‘s/START=no/START=yes/’ /etc/default/saslauthd  
cd /etc/courier  
rm -f /etc/courier/imapd.pem  
rm -f /etc/courier/pop3d.pem  
rm -f /usr/lib/courier/imapd.pem  
rm -f /usr/lib/courier/pop3d.pem  
sed -i “s/CN=localhost/CN=${CFG\_HOSTNAME\_FQDN}/” /etc/courier/imapd.cnf  
sed -i “s/CN=localhost/CN=${CFG\_HOSTNAME\_FQDN}/” /etc/courier/pop3d.cnf  
mkimapdcert \> /dev/null 2\>&1  
mkpop3dcert \> /dev/null 2\>&1  
ln -s /usr/lib/courier/imapd.pem /etc/courier/imapd.pem  
ln -s /usr/lib/courier/pop3d.pem /etc/courier/pop3d.pem  
service courier-imap-ssl restart \> /dev/null  
service courier-pop-ssl restart \> /dev/null  
service courier-authdaemon restart \> /dev/null  
service saslauthd restart \> /dev/null  
echo “done!”  
;;  
“dovecot”)  
echo -n “Installing dovecot…”;  
apt-get -qqy install dovecot-imapd dovecot-pop3d 2\>&1  
echo “done!”  
;;  
esac  
}

#---------------------------------------------------------------------

# Function: InstallAntiVirus

# Install Amavisd, Spamassassin, ClamAV

#---------------------------------------------------------------------  
InstallAntiVirus() {  
echo -n "Installing anti-virus utilities…"  
apt-get -y install amavisd-new spamassassin clamav clamav-daemon zoo unzip bzip2 arj nomarch lzop cabextract apt-listchanges libnet-ldap-perl libauthen-sasl-perl clamav-docs daemon libio-string-perl libio-socket-ssl-perl libnet-ident-perl zip libnet-dns-perl \> /dev/null 2\>&1  
echo “done!”  
}

#---------------------------------------------------------------------

# Function: InstallApachePHP

# Install and configure Apache2, php + modules

#---------------------------------------------------------------------  
InstallApachePHP() {  
echo "==========================================================================================="  
echo "Attention: When asked ‘Configure database for phpmyadmin with dbconfig-common?’ select ‘NO’"  
echo "Due to a bug in dbconfig-common, this can’t be automated."  
echo "==========================================================================================="  
echo "Press ENTER to continue…"  
read DUMMY

echo -n "Installing apache…"  
echo “phpmyadmin phpmyadmin/reconfigure-webserver multiselect apache2” | debconf-set-selections

# - DISABLED DUE TO A BUG IN DBCONFIG - echo “phpmyadmin phpmyadmin/dbconfig-install boolean false” | debconf-set-selections

echo “dbconfig-common dbconfig-common/dbconfig-install boolean false” | debconf-set-selections  
apt-get -y install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert libapache2-mod-php5 php5 php5-common php5-gd php5-mysql php5-imap php5-cli php5-cgi libapache2-mod-fcgid apache2-suexec php-pear php-auth php5-mcrypt mcrypt php5-imagick imagemagick libapache2-mod-suphp libruby libapache2-mod-ruby \> /dev/null 2\>&1  
apt-get -qqy install phpmyadmin  
a2enmod suexec rewrite ssl actions include dav\_fs dav auth\_digest \> /dev/null 2\>&1  
service apache2 restart \> /dev/null 2\>&1  
echo “done!”  
}

#---------------------------------------------------------------------

# Function: InstallFTP

# Install and configure PureFTPd

#---------------------------------------------------------------------  
InstallFTP() {  
echo "Installing pureftpd…"  
echo “pure-ftpd-common pure-ftpd/virtualchroot boolean true” | debconf-set-selections  
apt-get -y install pure-ftpd-common pure-ftpd-mysql \> /dev/null 2\>&1  
sed -i ‘s/ftp/#ftp/’ /etc/inetd.conf  
echo 1 \> /etc/pure-ftpd/conf/TLS  
mkdir -p /etc/ssl/private/  
echo "==========================================================================================="  
echo "The following questions can be left as default (just press enter), but when"  
echo "asked for ‘Common Name’, enter your FQDN hostname ($CFG\_HOSTNAME\_FQDN)."  
echo "==========================================================================================="  
echo "Press ENTER to continue…"  
read DUMMY  
openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem  
chmod 600 /etc/ssl/private/pure-ftpd.pem  
service openbsd-inetd restart \> /dev/null 2\>&1  
service pure-ftpd-mysql restart \> /dev/null 2\>&1  
echo “done!”  
}

#---------------------------------------------------------------------

# Function: InstallQuota

# Install and configure of disk quota

#---------------------------------------------------------------------  
InstallQuota() {  
echo -n "Installing and initializing quota (this might take while)…"  
apt-get -qqy install quota quotatool \> /dev/null 2\>&1

if [`cat /etc/fstab | grep ',usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0' | wc -l` -eq 0]; then  
sed -i ‘s/errors=remount-ro/errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0/’ /etc/fstab  
mount -o remount /  
quotacheck -avugm \> /dev/null 2\>&1  
quotaon -avug \> /dev/null 2\>&1  
fi  
echo “done!”  
}

#---------------------------------------------------------------------

# Function: InstallBind

# Install bind DNS server

#---------------------------------------------------------------------  
InstallBind() {  
echo -n “Installing bind…”;  
apt-get -y install bind9 dnsutils \> /dev/null 2\>&1  
echo “done!”  
}

#---------------------------------------------------------------------

# Function: InstallWebStats

# Install and configure web stats

#---------------------------------------------------------------------  
InstallWebStats() {  
echo -n “Installing stats…”;  
apt-get -y install vlogger webalizer awstats \> /dev/null 2\>&1  
sed -i ‘s/^/#/’ /etc/cron.d/awstats  
echo “done!”  
}

#---------------------------------------------------------------------

# Function: InstallJailkit

# Install Jailkit

#---------------------------------------------------------------------  
InstallJailkit() {  
echo -n "Installing jailkit…"  
apt-get -y install build-essential autoconf automake1.9 libtool flex bison debhelper \> /dev/null 2\>&1  
cd /tmp  
wget -q [http://olivier.sessink.nl/jailkit/jailkit-2.14.tar.gz](http://olivier.sessink.nl/jailkit/jailkit-2.14.tar.gz)  
tar xfz jailkit-2.14.tar.gz  
cd jailkit-2.14  
./debian/rules binary \> /dev/null 2\>&1  
cd …  
dpkg -i jailkit\_2.14-1\__.deb \> /dev/null 2\>&1  
rm -rf jailkit-2.14_  
echo “done!”  
}

#---------------------------------------------------------------------

# Function: InstallFail2ban

# Install and configure fail2ban

#---------------------------------------------------------------------  
InstallFail2ban() {  
echo -n "Installing fail2ban…"  
apt-get -y install fail2ban \> /dev/null 2\>&1

case $CFG\_MTA in  
"courier")  
cat \> /etc/fail2ban/jail.local \<\<EOF  
[sasl]  
enabled = true  
port = smtp  
filter = sasl  
logpath = /var/log/mail.log  
maxretry = 5

[courierpop3]  
enabled = true  
port = pop3  
filter = courierpop3  
logpath = /var/log/mail.log  
maxretry = 5

[courierpop3s]  
enabled = true  
port = pop3s  
filter = courierpop3s  
logpath = /var/log/mail.log  
maxretry = 5

[courierimap]  
enabled = true  
port = imap2  
filter = courierimap  
logpath = /var/log/mail.log  
maxretry = 5

[courierimaps]  
enabled = true  
port = imaps  
filter = courierimaps  
logpath = /var/log/mail.log  
maxretry = 5

EOF

cat \> /etc/fail2ban/filter.d/courierpop3.conf \<\<EOF  
[Definition]  
failregex = pop3d: LOGIN FAILED._ip=[._:]  
ignoreregex =  
EOF

cat \> /etc/fail2ban/filter.d/courierpop3s.conf \<\<EOF  
[Definition]  
failregex = pop3d-ssl: LOGIN FAILED._ip=[._:]  
ignoreregex =  
EOF

cat \> /etc/fail2ban/filter.d/courierimap.conf \<\<EOF  
[Definition]  
failregex = imapd: LOGIN FAILED._ip=[._:]  
ignoreregex =  
EOF

cat \> /etc/fail2ban/filter.d/courierimaps.conf \<\<EOF  
[Definition]  
failregex = imapd-ssl: LOGIN FAILED._ip=[._:]  
ignoreregex =  
EOF  
;;  
“dovecot”)  
cat \> /etc/fail2ban/jail.local \<\<EOF

[dovecot-pop3imap]  
enabled = true  
filter = dovecot-pop3imap  
action = iptables-multiport[name=dovecot-pop3imap, port=“pop3,pop3s,imap,imaps”, protocol=tcp]  
logpath = /var/log/mail.log  
maxretry = 5  
EOF

cat \> /etc/fail2ban/filter.d/dovecot-pop3imap.conf \<\<EOF  
[Definition]  
failregex = (?: pop3-login|imap-login): ._(?:Authentication failure|Aborted login (auth failed|Aborted login (tried to use disabled|Disconnected (auth failed|Aborted login (\d+ authentication attempts).rip=(?P\S),._  
ignoreregex =  
EOF  
;;  
esac

cat \>\> /etc/fail2ban/jail.local \<\<EOF  
[pureftpd]  
enabled = true  
port = ftp  
filter = pureftpd  
logpath = /var/log/syslog  
maxretry = 3  
EOF

cat \> /etc/fail2ban/filter.d/pureftpd.conf \<\<EOF  
[Definition]  
failregex = ._pure-ftpd: (._@) [WARNING] Authentication failed for user.\*  
ignoreregex =  
EOF  
service fail2ban restart \> /dev/null 2\>&1  
echo “done!”  
}

#---------------------------------------------------------------------

# Function: InstallWebmail

# Install the chosen webmail client. Squirrelmail or Roundcube

#---------------------------------------------------------------------  
InstallWebmail() {  
echo -n "Installing webmail client ($CFG\_WEBMAIL)…“  
case $CFG\_WEBMAIL in  
"roundcube”)  
RANDPWD=`date +%N%s | md5sum`  
echo “roundcube-core roundcube/dbconfig-install boolean true” | debconf-set-selections  
echo “roundcube-core roundcube/database-type select mysql” | debconf-set-selections  
echo “roundcube-core roundcube/mysql/admin-pass password $CFG\_MYSQL\_ROOT\_PWD” | debconf-set-selections  
echo “roundcube-core roundcube/db/dbname string roundcube” | debconf-set-selections  
echo “roundcube-core roundcube/mysql/app-pass password $RANDOMPWD” | debconf-set-selections  
echo “roundcube-core roundcube/app-password-confirm password $RANDPWD” | debconf-set-selections  
apt-get -y install roundcube roundcube-mysql \> /dev/null 2\>&1  
sed -i ‘1iAlias /webmail /var/lib/roundcube’ /etc/roundcube/apache.conf  
sed -i “s/$rcmail\_config[‘default\_host’] = ‘’;/$rcmail\_config[‘default\_host’] = ‘localhost’;/” /etc/roundcube/main.inc.php  
;;  
“squirrelmail”)  
echo “dictionaries-common dictionaries-common/default-wordlist select american (American English)” | debconf-set-selections  
apt-get -y install squirrelmail wamerican \> /dev/null 2\>&1  
ln -s /etc/squirrelmail/apache.conf /etc/apache2/conf.d/squirrelmail  
sed -i 1d /etc/squirrelmail/apache.conf  
sed -i ‘1iAlias /webmail /usr/share/squirrelmail’ /etc/squirrelmail/apache.conf

```
  case $CFG_MTA in
	"courier")
	  sed -i 's/$imap_server_type = "other";/$imap_server_type = "courier";/' /etc/squirrelmail/config.php
	  sed -i 's/$optional_delimiter = "detect";/$optional_delimiter = ".";/' /etc/squirrelmail/config.php
	  sed -i 's/$default_folder_prefix = "";/$default_folder_prefix = "INBOX.";/' /etc/squirrelmail/config.php
	  sed -i 's/$trash_folder = "INBOX.Trash";/$trash_folder = "Trash";/' /etc/squirrelmail/config.php
	  sed -i 's/$sent_folder = "INBOX.Sent";/$sent_folder = "Sent";/' /etc/squirrelmail/config.php
	  sed -i 's/$draft_folder = "INBOX.Drafts";/$draft_folder = "Drafts";/' /etc/squirrelmail/config.php
	  sed -i 's/$default_sub_of_inbox = true;/$default_sub_of_inbox = false;/' /etc/squirrelmail/config.php
	  sed -i 's/$delete_folder = false;/$delete_folder = true;/' /etc/squirrelmail/config.php
	  ;;
	"dovecot")
	  sed -i 's/$imap_server_type = "other";/$imap_server_type = "dovecot";/' /etc/squirrelmail/config.php
	  sed -i 's/$trash_folder = "INBOX.Trash";/$trash_folder = "Trash";/' /etc/squirrelmail/config.php
	  sed -i 's/$sent_folder = "INBOX.Sent";/$sent_folder = "Sent";/' /etc/squirrelmail/config.php
	  sed -i 's/$draft_folder = "INBOX.Drafts";/$draft_folder = "Drafts";/' /etc/squirrelmail/config.php
	  sed -i 's/$default_sub_of_inbox = true;/$default_sub_of_inbox = false;/' /etc/squirrelmail/config.php
	  sed -i 's/$delete_folder = false;/$delete_folder = true;/' /etc/squirrelmail/config.php
	  ;;
  esac
  ;;

```

esac  
service apache2 restart \> /dev/null 2\>&1  
echo “done!”  
}

#---------------------------------------------------------------------

# Function: InstallISPConfig

# Start the ISPConfig3 intallation script

#---------------------------------------------------------------------  
InstallISPConfig() {  
echo "Installing ISPConfig3…"  
echo "=================================================================================="  
echo "As a reminder, the following information is needed for the ISPConfig installation:"  
echo "- Full qualified hostname (FQDN) of the server: $CFG\_HOSTNAME\_FQDN"  
echo "- MySQL root password: $CFG\_MYSQL\_ROOT\_PWD"  
echo "- Common Name (eg, YOUR name): $CFG\_HOSTNAME\_FQDN"  
echo "=================================================================================="  
echo ""  
echo "Press ENTER to start the installation…"  
read DUMMY  
cd /tmp  
wget [http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz](http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz)  
tar xfz ISPConfig-3-stable.tar.gz  
cd ispconfig3\_install/install/  
php -q install.php  
}

#---------------------------------------------------------------------

# Main program [main()]

# Run the installer

#---------------------------------------------------------------------

echo "========================================="  
echo "ISPConfig 3 System installer"  
echo "========================================="  
echo  
echo "This script will do a nearly unattended intallation of"  
echo "all software needed to run ISPConfig 3."  
echo "When this script starts running, it’ll keep going all the way"  
echo "So before you continue, please make sure the following checklist is ok:"  
echo  
echo “- This is a clean / standard debian installation”;  
echo “- Internet connection is working properly”;  
echo  
echo "If you’re all set, press ENTER to continue or CTRL-C to cancel…"  
read DUMMY

if [-f /etc/debian\_version]; then

# PreInstallCheck

AskQuestions  
InstallBasics  
InstallPostfix  
InstallMysql  
InstallMTA  
InstallAntiVirus  
InstallApachePHP  
InstallFTP  
if [$CFG\_QUOTA == “y”]; then  
InstallQuota  
fi  
InstallBind  
InstallWebStats  
if [$CFG\_JKIT == “y”]; then  
InstallJailkit  
fi  
InstallFail2ban  
InstallWebmail  
InstallISPConfig  
else  
echo "Unsupported linux distribution."  
fi

exit 0  
[/code]

Edit: A part un souci avec suphp.conf ça roule sur Wheezy!

---

<div class="post-metadata">

**Author:** ![MisterFreez](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/m/bb73d2/32.png) [@MisterFreez](https://www.debian-fr.org/u/MisterFreez)\
**Post date:** [Février 21, 2016, 2:16 UTC](https://www.debian-fr.org/t/installation-facile-de-ispconfig/56728/4 "2016-02-21T14:16:16Z")

</div>

[quote=“charles44540”]voila une installation simplifié pour installé apache,postfix,phpmyadmin,ispconfig,

`wget http://www.e-rave.nl/wp-content/uploads/2011/12/ispc3sysinstall.sh
chmod +x ispc3sysinstall.sh
./ispc3sysinstall.sh`  
et voila simple rapide et efficace[/quote]  
Pour faire plus rapide :

```auto

```

(Comme ça t’installe pas le script ricardo 😉 )

---

<div class="post-metadata">

**Author:** ![ricardo](https://www.debian-fr.org/user_avatar/www.debian-fr.org/ricardo/32/3864_2.png) [@ricardo](https://www.debian-fr.org/u/ricardo)\
**Post date:** [Février 21, 2016, 2:16 UTC](https://www.debian-fr.org/t/installation-facile-de-ispconfig/56728/5 "2016-02-21T14:16:26Z")

</div>

Merci Michel, ce n’est pas dans mes intention d’installer, c’était juste pour expliquer qu’on ne peut pas accepter la proposition d’un script avec aussi peu de renseignements.  
Imagine qu’un gars mal intentionné place un script qui bouzille une machine 😮  
Un débutant tombe dessus, se dit “chouette”, ça va m’éviter bien des tracas et … devine la suite.

---

<div class="post-metadata">

**Author:** ![lol](https://www.debian-fr.org/user_avatar/www.debian-fr.org/lol/32/15629_2.png) [@lol](https://www.debian-fr.org/u/lol)\
**Post date:** [Février 21, 2016, 2:16 UTC](https://www.debian-fr.org/t/installation-facile-de-ispconfig/56728/6 "2016-02-21T14:16:41Z")

</div>

Salut,  
En tout cas ça m’a permis de le tester et de le vérifier, ça fonctionne au poil.  
J’avoue que ne plus ma taper toute la partie préparatoire à l’installation de Ispconfig3 m’arrange bien, je vais même ajouter quelques trucs persos au script, c’est une bonne base de départ pour une installation aux petits oignons.

---

<div class="post-metadata">

**Author:** ![lol](https://www.debian-fr.org/user_avatar/www.debian-fr.org/lol/32/15629_2.png) [@lol](https://www.debian-fr.org/u/lol)\
**Post date:** [Février 21, 2016, 2:22 UTC](https://www.debian-fr.org/t/installation-facile-de-ispconfig/56728/7 "2016-02-21T14:22:54Z")

</div>

Salut,  
Il manque aussi dovecot-mysql dans l’installation.  
Sans ça impossible d’accéder au Webmail.

Edit: Et dovecot-sieve…

```auto

```

---

<div class="post-metadata">

**Author:** ![PengouinPdt](https://www.debian-fr.org/user_avatar/www.debian-fr.org/pengouinpdt/32/3978_2.png) [@PengouinPdt](https://www.debian-fr.org/u/PengouinPdt)\
**Post date:** [Février 21, 2016, 2:23 UTC](https://www.debian-fr.org/t/installation-facile-de-ispconfig/56728/8 "2016-02-21T14:23:03Z")

</div>

quote="MisterFreez"  
et voila simple rapide et efficace[/quote]  
Pour faire plus rapide :

```auto

```

(Comme ça t’installe pas le script ricardo 😉 )[/quote]

Tout simplement joli !  
Je n’aurais vraiment pas penser à ce genre d’astuces…

Comme quoi, la simplicité a encore de beau jour 😛

---

<div class="post-metadata">

**Author:** ![MisterFreez](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/m/bb73d2/32.png) [@MisterFreez](https://www.debian-fr.org/u/MisterFreez)\
**Post date:** [Février 21, 2016, 2:24 UTC](https://www.debian-fr.org/t/installation-facile-de-ispconfig/56728/9 "2016-02-21T14:24:00Z")

</div>

Je n’avais pas essayé pour voir si ça marche vraiment.  
Mais je viens de le faire et oui ça marche.  
Si tu veux essayer :

`curl "http://barmic.fr/test.sh" | sh -` 🙂

---

<div class="post-metadata">

**Author:** ![ricardo](https://www.debian-fr.org/user_avatar/www.debian-fr.org/ricardo/32/3864_2.png) [@ricardo](https://www.debian-fr.org/u/ricardo)\
**Post date:** [Février 21, 2016, 2:24 UTC](https://www.debian-fr.org/t/installation-facile-de-ispconfig/56728/10 "2016-02-21T14:24:01Z")

</div>

[barmic.fr](http://barmic.fr) :  
pas certifié 😒

---

<div class="post-metadata">

**Author:** ![MisterFreez](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/m/bb73d2/32.png) [@MisterFreez](https://www.debian-fr.org/u/MisterFreez)\
**Post date:** [Février 21, 2016, 2:24 UTC](https://www.debian-fr.org/t/installation-facile-de-ispconfig/56728/11 "2016-02-21T14:24:04Z")

</div>

[quote=“ricardo”][http://barmic.fr](http://barmic.fr) :  
pas certifié 😒 [/quote]  
Il va falloir forker. C’est la seule page de mon serveur qui ne l’ai pas (j’ai dut bidouiller la config de mon nginx pour ça). Tout ça pour quoi ? Parce que curl refuse les certificats tout pourri comme le miens (certificat autosigné qui ne correspond pas au nom de domaine).

---

<div class="post-metadata">

**Author:** ![Tatou](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/t/ba8739/32.png) [@Tatou](https://www.debian-fr.org/u/Tatou)\
**Post date:** [Février 21, 2016, 4:49 UTC](https://www.debian-fr.org/t/installation-facile-de-ispconfig/56728/12 "2016-02-21T16:49:05Z")

</div>

bonjour  
apres avoir fait ton tuto

wget [e-rave.nl/wp-content/uploads … install.sh](http://www.e-rave.nl/wp-content/uploads/2011/12/ispc3sysinstall.sh)  
chmod +x [ispc3sysinstall.sh](http://ispc3sysinstall.sh)  
./ispc3sysinstall.sh

j ai plus access a mes site j ai  
Forbidden  
You don’t have permission to access / on this server.

quesque je peux faire  
merci de l aide

---

<div class="post-metadata">

**Author:** ![lol](https://www.debian-fr.org/user_avatar/www.debian-fr.org/lol/32/15629_2.png) [@lol](https://www.debian-fr.org/u/lol)\
**Post date:** [Février 21, 2016, 4:49 UTC](https://www.debian-fr.org/t/installation-facile-de-ispconfig/56728/13 "2016-02-21T16:49:12Z")

</div>

Salut,  
Ce n’est pas son tuto…  
Il faut demander là ou se trouve le script: [e-rave.nl/automatic-debian-s … spconfig-3](http://www.e-rave.nl/automatic-debian-system-installation-for-ispconfig-3)

> [@](#):
>
> Please report any bugs, so i can fix it.

---

<div class="post-metadata">

**Author:** ![ggoodluck47](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/g/c67d28/32.png) [@ggoodluck47](https://www.debian-fr.org/u/ggoodluck47)\
**Post date:** [Février 21, 2016, 4:49 UTC](https://www.debian-fr.org/t/installation-facile-de-ispconfig/56728/14 "2016-02-21T16:49:12Z")

</div>

Salut,

Il en fait pas un peu beaucoup sans laisser le choix à l’utilisateur ?

---

<div class="post-metadata">

**Author:** ![lol](https://www.debian-fr.org/user_avatar/www.debian-fr.org/lol/32/15629_2.png) [@lol](https://www.debian-fr.org/u/lol)\
**Post date:** [Février 21, 2016, 4:49 UTC](https://www.debian-fr.org/t/installation-facile-de-ispconfig/56728/15 "2016-02-21T16:49:13Z")

</div>

[quote=“ggoodluck47”]Salut,  
Il en fait pas un peu beaucoup sans laisser le choix à l’utilisateur ?[/quote]

Il installe le nécessaire. IspConfig3 est très complet.  
Maintenant rien n’empêche de faire l’installation à la man, mais c’est un peu plus long…

Ça reste pratique pour celui qui sait ce qu’il fait…  
Je ne conseillerais pas IspConfig à un débutant, il faut bien comprendre ce qui se passe derrière (ie maîtriser apache2, postfix, dovecot, bind9…) faute de quoi on est incapable de dépanner, réparer, sauvegarder, restaurer…

EDIT: Je viens de re-tester le script, il ne fonctionne pas bien. Il ne télécharge pas tous les softs nécessaires, n’installe pas la dernière version de jailkit… Bref pas tout a fait au point pour Wheezy…
