servisys / ispconfig_setup Goto Github PK
View Code? Open in Web Editor NEWISPConfig autoinstaller and setup
License: GNU General Public License v3.0
ISPConfig autoinstaller and setup
License: GNU General Public License v3.0
If you install nginx in log you see the following error
apache2: unrecognized service
due to the missing apache2 service.
Fix: don't stop apache service if installing nginx.
File: functions/check_linux.sh
if echo $ID-$VERSION_ID | grep -iq "ubuntu-15.10"; then
DISTRO=ubuntu15.10
fi
Improge log managment during installation process
After finished install, restart apache or it won't work.
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.
Adding Nginx support
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
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.
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!
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
Missing packages in official debian repositories for suphp
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
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
Debian Jessie: missing roundcube package
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?
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
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 :
I think there are scripts already on Git, you can go through and integrate the same within yours and make it more complete!
Thanks
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.
Add a check for the filesystem type and exclude all tmpfs drives
ispconfig clean theme install as extra feature https://github.com/dclardy64/ISPConfig_Clean-3.0.5
You should probably put --no-check-certificate in your installation doc, else on a VPS it throws an error for Certificate not valid
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.
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
Adding quota support
Adding webmail support squirrelmail or roundcube
Web server: nginx
I tried to install many times and get the same 502 Bad Gateway result.
Is it related to this https://www.howtoforge.com/community/threads/socket-file-that-ispconfig-references-in-nginx-config-does-not-exist-by-default.66476/ ??
Pureftpd ask for cerificate data. Got to automate.
It will be more helpful if there are options for Installation profile of:
Installation profile will be very useful as one of ISPCONFIG's main feature is multi server setup.
Thanks anyway for your works. :)
Let user choice to do manual installation of ispconfig, for special enviroment like Multiserver, mirror, or other.
/etc/init.d/sendmail stop
update-rc.d -f sendmail remove
when /etc/init.d/sendmail is present
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.
Could u suppory raspbian its based on debian jessy but it says your os is not supported
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.
Fix issues for debian jessie
Weblink to squirrelmail does not work. In install_webmail.sh it should be squirrelmail.conf and not just squirrelmail. Thanks for a great script.
Implement a better module system
Add support for roundcube on Debian 8
Better check to determine if all necessary repository are present, or install would problably break
Force user to check if selinux is disabled and reboot server
Add Users to mysql-database host via sh or pHp script during the install process of the slave server
Restore the progress of antivirus update progess, user can't understand if it's working or not.
I saw that code to install roundcube is already implemented but i can't choose it during installation
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
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
Adding courier support
Hi there,
I need to do multi server setup, but don't know if i need to do the step "How do I get set up? - https://www.howtoforge.com/perfect-server-debian-wheezy-apache2-bind-dovecot-ispconfig-3" on all my 5 servers (web server, db,mail, ns1 & ns2). By the way, i will be using ec2 debian 8.
Thank you for the help and it's greatly appreciated.
i run this script on my new vps two times , but every time same problem when i go to monitor it says
myvps have :: debian x64 minimal
FTP-Server: Offline
also ftp not working
i followed it on :: https://www.howtoforge.com/tutorial/ispconfig-install-script-debian/
please fix it thanks
Need to generate a log during installation for debugging porpuse
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
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.
We should use /etc/os-release for detecting the Distro. So we can remove the use of lsb-release :)
More info's:
http://www.dsm.fordham.edu/cgi-bin/man-cgi.pl?topic=os-release&sect=5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.