Giter Club home page Giter Club logo

ispconfig_setup's Introduction

Build Status

README

PayPayl donate button

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:

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
* Not yet enabled. ^ Not yet enabled on Raspbian.

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 @marknl
  • Howtoforge community https://www.howtoforge.com/community/

ispconfig_setup's People

Contributors

agdod avatar bartdorlandt avatar calbasi avatar eldios avatar fogs avatar gamelaster avatar goover avatar gtuk avatar jhult avatar jodumont avatar k0ssi avatar katorone avatar kovalroma avatar malusovium avatar marknl avatar messi89 avatar mtexx avatar murte avatar nomic07 avatar razielles avatar rsiddall avatar schliflo avatar servisys avatar smoonlee avatar stevenfarley avatar tdulcet avatar ufoonline avatar untergrundbiber avatar vittore avatar wget avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ispconfig_setup's Issues

Debian 8 unary operator

While i'm using your script on Debian 8 i got an error similar to this:

=: unary operator expected at line 127 installer.sh

I think it's a problem with variable CFG_SETUP_WEB that seem not initialized

Better fix for Apt check

Better check to determine if all necessary repository are present, or install would problably break

integrate nGinx

I just noticed nGinx is not installed in your script.

Would be much better to have it... and if possible, some settings in ISPConfig to use nGinx in :

  1. Apache less, pure nGinx php-fpm mode
  2. nGinx as reverse proxy to apache.

I think there are scripts already on Git, you can go through and integrate the same within yours and make it more complete!
Thanks

Roundcube

Add support for roundcube on Debian 8

Only ispconfig.org not reachable!?

Hi,

This is a very odd situation. I can pull with git as well as wget this script, but once it starts it reports that internet connection is unreachable, whereas, in real, it is reachable to do anything except running this script. Any inputs?

> Welcome to ISPConfig Setup Script v.2.0.2
> This software is developed by Temporini Matteo
> with the support of the community.
> You can visit my website at the followings URLS
> http://www.servisys.it http://www.temporini.net
> and contact me with the following information
> contact email/hangout: [email protected]
> skype: matteo.temporini
> =========================================
> ISPConfig 3 System installer
> =========================================
> 
> This script will do a nearly unattended intallation of
> all software needed to run ISPConfig 3.
> When this script starts running, it'll keep going all the way
> So before you continue, please make sure the following checklist is ok:
> 
> - This is a clean standard clean installation for supported systems
> - Internet connection is working properly
> 
> 
> The detected Linux Distribution is:  Debian GNU/Linux 8 (jessie)
> 
> Is this correct? (y/n)y
> Checking internet connection... root@debian-ispconfig3:~/ispconfig_setup# **ERROR: Couldn't reach www.ispconfig.org, please check your internet connection**
> root@debian-ispconfig3:/tmp/servisys-ispconfig_setup-bf3cb93#

My Internet connection works alright to reach other destinations including to fetch this script from github both using git and wget, fyi.

Error systemctl spamassassin

Solve better way the absence of spamassassin, log report error for spamassasin disalbe procedure
/root/ispconfig_setup-development/distros/debian7/install_antivirus.sh: line 12: systemctl: command not found

Only squirrelmail

I saw that code to install roundcube is already implemented but i can't choose it during installation

Improve log

Improge log managment during installation process

Restart apache

After finished install, restart apache or it won't work.

Shell users do not work with this installation debian 8.1

Shell users do not work with this installation debian 8.1
Error:
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

Feature: Add hostname setting option

Hi @servisys,

congrats, a great job you've done with this script.
I've used it today for the first time, it seems to work very nicely.

I have a feature suggestion.

The install script currently expects the hostname to be set. I didn't know that and I expected the script to ask me for the hostname and set it up, as done in Perfect Server setups. I think this would be a great addition to the current future set.

Keep up the good work!

CentOS 7 doesn't work

Hi,

First that all, thanks for the job.

Script for CentOS7 are using apt, I would like help, but I don't feel comfortable without test.

Have you think any test suite like shpec or similar ?

If you want, I can help.

Support for raspbian ?

Could u suppory raspbian its based on debian jessy but it says your os is not supported

Installation Options

It will be more helpful if there are options for Installation profile of:

  • Mail Server
  • Web Server
  • DNS Server
  • Database Server
  • Panel Only Server
    Will be great. Also add option for 'Expert' or 'Standard' mode is a must.

Installation profile will be very useful as one of ISPCONFIG's main feature is multi server setup.
Thanks anyway for your works. :)

Script fails to create ssl certificates for the ISPconfig interface, causing nginx and amavis not able to start

Script fails to create a security key and results in failed nginx and amavis restart as follows:

...
e is 65537 (0x10001)
end of string encountered while processing type of subject name element #5
problems making Certificate Request
/usr/local/ispconfig/interface/ssl/ispserver.csr: No such file or directory
140084984571536:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/usr/local/ispconfig/interface/ssl/ispserver.csr','r')
140084984571536:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:
writing RSA key
Configuring DBServer
Installing ISPConfig crontab
no crontab for root
no crontab for getmail
Restarting services ...
Job for amavis.service failed. See 'systemctl status amavis.service' and 'journalctl -xn' for details.
Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
Installation completed.
Restarting nginx (via systemctl): nginx.serviceJob for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
 failed!
Well done ISPConfig installed and configured correctly :D 
Now you can connect to your ISPConfig installation at https://:8080 or https://IP_ADDRESS:8080
You can visit my GitHub profile at https://github.com/servisys/ispconfig_setup/
Phpmyadmin is accessibile at  http://:8081/phpmyadmin or http://IP_ADDRESS:8081/phpmyadmin
Webmail is accessibile at  https:///webmail or https://IP_ADDRESS/webmail
root@debian-ispconfig3:/tmp/servisys-ispconfig_setup-bf3cb93# 
# systemctl status nginx.service
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled)
   Active: failed (Result: exit-code) since Sat 2016-03-19 14:39:40 CET; 1min 42s ago
  Process: 7138 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
 Main PID: 9467 (code=exited, status=0/SUCCESS)

Mar 19 14:39:40 debian-ispconfig3 nginx[7138]: nginx: [emerg] BIO_new_file("/usr/local/ispconfig/interface/ssl/ispserver.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/loc...le:no such file)
Mar 19 14:39:40 debian-ispconfig3 nginx[7138]: nginx: configuration file /etc/nginx/nginx.conf test failed
Mar 19 14:39:40 debian-ispconfig3 systemd[1]: nginx.service: control process exited, code=exited status=1
Mar 19 14:39:40 debian-ispconfig3 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Mar 19 14:39:40 debian-ispconfig3 systemd[1]: Unit nginx.service entered failed state.
Mar 19 14:39:41 debian-ispconfig3 systemd[1]: Unit nginx.service cannot be reloaded because it is inactive.
Hint: Some lines were ellipsized, use -l to show in full.


# journalctl -xn
Mar 19 14:43:03 debian-ispconfig3 systemd[1]: [email protected] has no holdoff time, scheduling restart.
Mar 19 14:43:03 debian-ispconfig3 systemd[1]: Stopping Getty on tty5...
-- Subject: Unit [email protected] has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit [email protected] has begun shutting down.
Mar 19 14:43:03 debian-ispconfig3 systemd[1]: Starting Getty on tty5...
-- Subject: Unit [email protected] has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit [email protected] has begun starting up.
Mar 19 14:43:03 debian-ispconfig3 systemd[1]: Started Getty on tty5.
-- Subject: Unit [email protected] has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit [email protected] has finished starting up.
-- 
-- The start-up result is done.
Mar 19 14:43:03 debian-ispconfig3 agetty[16238]: /dev/tty5: No such file or directory
Mar 19 14:43:05 debian-ispconfig3 dhclient[60]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8

Ubuntu 15.10 - [: ==: unary operator expected

Hi,
i got this error with Ubuntu 15.10:

The detected Linux Distribution is: Ubuntu 15.10

Is this correct? (y/n)y
Checking internet connection... OK

install.sh: line 119: [: ==: unary operator expected
install.sh: line 122: AskQuestionsMultiserver: command not found
Updating apt and upgrading currently installed packages... [DONE]

/tmp/servisys-ispconfig_setup-b9730ca/distros/ubuntu-15.10/install_mysql.sh: line 6: [: ==: unary operator expected
Installing MariaDB... [DONE]

install.sh: line 126: [: ==: unary operator expected
install.sh: line 126: [: ==: unary operator expected
install.sh: line 137: /tmp/servisys-ispconfig_setup-b9730ca/distros/ubuntu-15.10/install_basephp.sh: No such file or directory
install.sh: line 138: InstallBasePhp: command not found
install.sh: line 140: [: ==: unary operator expected
install.sh: line 140: [: ==: unary operator expected
install.sh: line 145: [: ==: unary operator expected
install.sh: line 145: [: ==: unary operator expected
Installing stats... [DONE]

No PHP MySQL functions available. Please ensure that the PHP MySQL module is loaded./tmp/servisys-ispconfig_setup-b9730ca/distros/ubuntu-15.10/install_ispconfig.sh: line 72: [: ==: unary operator expected
/tmp/servisys-ispconfig_setup-b9730ca/distros/ubuntu-15.10/install_ispconfig.sh: line 75: /etc/init.d/apache2: No such file or directory
/tmp/servisys-ispconfig_setup-b9730ca/distros/ubuntu-15.10/install_fix.sh: line 2: [: ==: unary operator expected
Well done ISPConfig installed and configured correctly :D

Add Master/Slave

With the Script it should be possible, to decide, if the Server should be installed as Master or as Slave. When i see this correct, preseed File is able to manage this.

Skip fstab editing in OpenVz Encironment

When you want to disable the fstab editing for openvz in your script, then seek for /proc/user_beancounters
If this file exists, its an openvz enviroment and you can skip fstab editing.

Check sendmail

/etc/init.d/sendmail stop
update-rc.d -f sendmail remove

when /etc/init.d/sendmail is present

Add support for Ubuntu 15.10

File: functions/check_linux.sh

---------------------------------------------------------------------

Ubuntu 15.10

---------------------------------------------------------------------

if echo $ID-$VERSION_ID | grep -iq "ubuntu-15.10"; then
DISTRO=ubuntu15.10
fi

Debian8 webmail link

Weblink to squirrelmail does not work. In install_webmail.sh it should be squirrelmail.conf and not just squirrelmail. Thanks for a great script.

WordPress and NGINX permissions

Hi,
I have a problem with the permissions on ISPConfig. With NGINX (only) + MariaDB, WordPress does not have permissions to create the folder uploads and FTP data need to install plugins.

Only works with chmod 777 -R in /var/www/example.com/web.

Does anyone know anything?

ISPConfig manual setup

Let user choice to do manual installation of ispconfig, for special enviroment like Multiserver, mirror, or other.

Debian 8 and MariaDB

When installing on Debian8, I encounter no issues if I select MySQL, however if I select MariaDB, at the end of the installation, thousands of error messages stating "Unable to connect to MySQL server" appear and the installation does not appear to be successful.

PHP-FPM Socket permission denied

I installed ISP Config using your script, i installed NGINX but when i visit a website i have a 502 Bad Gateway on error.log i found this error

2016/02/14 20:51:13 [crit] 12800#0: *53 connect() to unix:/var/lib/php5-fpm/web1.sock failed (13: Permission denied) while connecting to upstream, client: 80.117.55.180, server: domain.tld, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/web1.sock:", host: "domain.tld"

I already checked /var/lib/php5-fpm/web1.sock permission but it seems correct

srw-rw----  1 web1      client0      0 Feb 14 21:16 web1.sock

If I turn off "Use Socket For PHP-FPM" all work succes...

I made a post here

Debian 6 /squeeze missing

Hello,

my linux box has installed a version's 6 of Debian Squeeze and iit s not recognized from your scripts. How can make to install ispconfig insid emy server . Pls for the moment i do no want update a wheezy or Jessie!
thanks

marco

Configure DKIM for signing mails

Hi,
Can you please also add in your script to install necessary packages to add OpenDKIM and other stuff so that it is enabled inside ISPconfig ?

Thanks

Can't acced to ISPConfig port 8080

Hello I can't acced to IP:8080 -> ERR_CONNECTION_REFUSED on chrome.
But when I go to my IP I have : "Welcome to nginx!"
I have tryed to allow port 8080 on iptables but it doesn't work.
Need help please

echo passwords after installation

Hi,

I tested the installation in standard mode and it didn't echo the passwords for mysql root and other applications.

It would be nice feature if you can echo them. Thanks!

/z

Check SELinux

Force user to check if selinux is disabled and reboot server

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.