servisys / ispconfig_setup

ISPConfig autoinstaller and setup
GNU General Public License v3.0
507 stars 257 forks source link

[DONOTMERGE]Ubuntu 18.04 #255

Closed erikcas closed 6 years ago

erikcas commented 6 years ago

Ubuntu-18.04 support. Tested on raspi pi3B with nginx

EDIT: apache variant needs love. Will check and test upcoming weekend

erikcas commented 6 years ago

@robinvandernoord can you please test? I see you also did some on ubuntu-18.04 install

n0v3xx commented 6 years ago

I test the branch, there are some problems. Ubuntu 18.04 ships with php7.2-fpm and not with php7.0-fpm.

Installing ISPConfig crontab Installing ISPConfig crontab no crontab for root no crontab for getmail Detect IP addresses Restarting services ... Failed to reload php7.0-fpm.service: Unit php7.0-fpm.service not found.

The webinterface dont work:

[crit] 1755#1755: *5 connect() to unix:/var/lib/php7.0-fpm/ispconfig.sock failed (2: No such file or directory) while connecting to upstream

erikcas commented 6 years ago

did you apply the patches? for 18.04 every reference to php7.0 is replaced by 7.2. Your system seems to attempt to reload php7.0-fpm which is not installed

else try installing from my repo directly: https://github.com/erikcas/ispconfig_setup/tree/ubuntu-18.04

Configuring Dovecot
Configuring Spamassassin
Configuring Amavisd
Configuring Getmail
Configuring Pureftpd
Configuring BIND
Configuring nginx
Configuring Ubuntu Firewall
Configuring Fail2ban
Configuring Apps vhost
Installing ISPConfig

Admin password [xxxxxxxx]: 

Generating RSA private key, 4096 bit long modulus
..................................++
.............++
e is 65537 (0x010001)
writing RSA key

Configuring DBServer
Installing ISPConfig crontab
Installing ISPConfig crontab
no crontab for root
no crontab for getmail
Detect IP addresses
Restarting services ...
Installation completed.
Well done ISPConfig installed and configured correctly :D

it works flawless on my end. Just tested a fresh install, to be shure

n0v3xx commented 6 years ago

I tried it on the fresh ubuntu 18.04 root server from kimsufi. I used this command, its your branch.

cd /tmp; wget --no-check-certificate -O installer.tgz "https://github.com/erikcas/ispconfig_setup/tarball/master"; tar zxvf installer.tgz; cd *ispconfig*; bash install.sh

I dont know why it use the wrong php fpm version :( I fixed the issues manually and it works

n0v3xx commented 6 years ago

Oh.... i used the master not the 18.04 branch -,- Ok i think thats the problem, your code works.

erikcas commented 6 years ago

apache needs some love, doesn't seem to work

Neustradamus commented 6 years ago

Any news?

servisys commented 6 years ago

Just relased 18.04 version, need test :P

gOOvER commented 6 years ago

@servisys remove mcrypt. It's not longer aviable since php 7.1

n0v3xx commented 5 years ago

@gOOvER that is wrong. Mcrypt is available in 7.1 !

Warnung This feature was DEPRECATED in PHP 7.1.0, and REMOVED in PHP 7.2.0.

gOOvER commented 5 years ago

And which PHP Version Ubuntu 18.04 use? ;)

There is no php7.1-mycrypt packager.

So a useless comment ;)