ispconfig_setup
ispconfig_setup copied to clipboard
ISPConfig autoinstaller and setup
README
Newsletter
Subscribe to our newsletter to receive information about new version of the script The link is here: http://eepurl.com/cAzq95 We'll use only to inform you on new version of the script :)
Version
v.3.0.6
Debian 10 fix for Debian 10
v.3.0.5
Debian 10 changes file path, for root use :
su -
Added support for Debian 10 Buster and php7.3 service changed to systemctl for all service functions (start,stop,restart etc) few other minor changes to accommodate Debian 10
v.3.0.4
This is a system to automate the installation of ISPConfig 3 control Panel ( http://www.ispconfig.org/page/home.html ).
Tested on:
- Debian 10 Busty (Servisys VPS, VmWare Esxi, Amazon AWS, Virtualbox, OVH VPS, Hetzner, Digital Ocean)
- Debian 9 Stretch (Servisys VPS, VmWare Esxi, Amazon AWS, Virtualbox, OVH VPS, Hetzner, Digital Ocean)
- Debian 8 Jessie (Servisys VPS, VmWare Esxi, Amazon AWS, Virtualbox, OVH VPS, Hetzner, Digital Ocean)
- Debian 7 Wheezy (Servisys VPS, VmWare Esxi, Amazon AWS, Virtualbox, OVH VPS, Hetzner, Digital Ocean)
- Ubuntu 14.04 Trusty (Servisys VPS, VmWare Esxi, Amazon AWS, Virtualbox, OVH VPS, Hetzner, Digital Ocean)
- Ubuntu 15.10 Willy (Servisys VPS, VmWare Esxi, Amazon AWS, Virtualbox, OVH VPS, Hetzner, Digital Ocean)
- Ubuntu 16.04 Xenial Xerus ( Servisys VPS, VmWare Esxi, Amazon AWS, Virtualbox, OVH VPS, Hetzner, Digital Ocean)
- Ubuntu 18.04 Bionic Beaver ( Servisys VPS, VmWare Esxi, Amazon AWS, Virtualbox, OVH VPS, Hetzner, Digital Ocean)
- CentOS 7 (Servisys VPS, Vitualbox)
- Raspbian
- ISPConfig 3.*
What is this repository for?
This repository contains some scripts for the automation of installation of ISPConfig 3 control panel.
Before starting, be sure to follow one of these guides to install a supported Linux distribution:
- Debian 7: https://www.howtoforge.com/tutorial/debian-7-wheezy-minimal-server/
- Debian 8: https://www.howtoforge.com/tutorial/debian-8-jessie-minimal-server/
- Debian 9: https://www.howtoforge.com/tutorial/debian-minimal-server/
- Debain 10: https://www.howtoforge.com/tutorial/debian-10-buster-minimal-server/
- Ubuntu 14.10: https://www.howtoforge.com/tutorial/ubuntu-14.10-utopic-unicorn-server
- Ubuntu 15.10: https://www.howtoforge.com/tutorial/ubuntu-15.10-wily-werewolf-minimal-server/
- Ubuntu 16.04: https://www.howtoforge.com/tutorial/ubuntu-16.04-xenial-xerus-minimal-server/
- Ubuntu 16.10: https://www.howtoforge.com/tutorial/ubuntu-16.10-yakkety-yak-minimal-server/
- Ubuntu 17.10: https://www.howtoforge.com/tutorial/ubuntu-minimal-server-install/
- Ubuntu 18.04: https://www.howtoforge.com/tutorial/ubuntu-lts-minimal-server/
- CentOS 7: https://www.howtoforge.com/tutorial/centos-7-minimal-server/
Supported Software and Linux distributions
Component | Software | Debian/Raspbian | Ubuntu | CentOS | openSUSE Leap | Fedora | |||||||||
7 | 8 | 9 | 10 | 14.04 | 15.10 | 16.04 | 16.10 | 17.10 | 18.04 | 7 | 42.1-3 | 15.0 | 22-28 | ||
Web: HTTP | Apache | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||
nginx | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||||
Mail: SMTP | Postfix | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||
Mail: POP3/IMAP | Courier | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||||||
Dovecot | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |||||
FTP | Pure-FTPd | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||
DNS | Bind | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||
PowerDNS | |||||||||||||||
MyDNS | |||||||||||||||
Database | MySQL | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |||||||
MariaDB | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||||
Webmail client | Roundcube | ✔ | ✔ | ✔ | ✔ | ✔* | ✔ | ✔ | |||||||
SquirrelMail | ✔ | ✔ | ✔ | ✔ | ✔ | ✔* | ✔ | ✔ | |||||||
Chat: XMPP | Metronome | ✔ | ✔ | ✔ | ✔ | ✔ | ✔* | ||||||||
Mailing lists | Mailman | ✔ | |||||||||||||
Antivirus | Amavisd | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||
ClamAV | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |||||
Spam filtering | SpamAssassin | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||
Greylisting | Postgrey | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||||||
Mail signing | OpenDKIM | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |||||||
OpenDMARC | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||||||
Firewall | UFW | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||||||
Intrusion protection | Fail2Ban | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||
Rootkit detection | rkhunter | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||
Statistics | Webalizer | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||
AWStats | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |||||
Quota | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔* | |||||
Let's Encrypt | Certbot/letsencrypt | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||
Jailkit | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | |||||
HHVM | ✔^ | ✔^ | ✔ | ✔ | ✔ | ✔ | ✔ | ||||||||
MultiServer | ✔ | ✔ |
You can choose during install:
- Apache or nginx
- Dovecot or Courier
- Quota
- Jailkit
- SquirrelMail or Roundcube
- ISPConfig 3 Standard / Expert mode
- ISPConfig 3 Multiserver Setup (* Debian 8 only for now)
How do I get set up?
Follow one of the above guides to install a fresh copy of a supported Linux distribution.
Run the following command as root user:
- Debian/Raspbian 7, 8, 9 and 10 and Ubuntu 14.04, 15.10, 16.04, 16.10 and 18.04
cd /tmp; wget --no-check-certificate -O installer.tgz "https://github.com/servisys/ispconfig_setup/tarball/master"; tar zxvf installer.tgz; cd *ispconfig*; bash install.sh
- CentOS 7
cd /tmp; sudo yum install wget unzip net-tools; wget --no-check-certificate -O installer.tgz "https://github.com/servisys/ispconfig_setup/tarball/master"; tar zxvf installer.tgz; cd *ispconfig*; sudo install.sh
CentOS 7 is in a very early stage, we got to test a bit, any help will be appreciated. Some features are missing for now, only implemented Apache and Dovecot, no webmail.
If wget
fails, try adding the --no-check-certificate
parameter.
Follow the instructions on the screen
Who had contributed to this work?
- The scripts and instructions have been produced by Matteo Temporini ( [email protected] )
- Special thanks to Travis CI for adding support to Raspberry and a big number of Bugs( https://github.com/tdulcet )
- Special thanks to Torsten Widmann for contribution to the code
- Special thanks to Michiel Kamphuis ( http://www.ensync.it/ ) for contribution to Multiserver Setup integration
- Special thanks to Bartłomiej Gajda ( http://webard.me/ ) for the bug fixes to multiserver setup and beta installation
- The code is based on the "Automatic Debian System Installation for ISPConfig 3" of Author: Mark Stunnenberg [email protected]
- Howtoforge community https://www.howtoforge.com/community/