Comments on ISPConfig 3.1: Automated installation on Ubuntu 18.04 LTS

This tutorial shows how to install ISPConfig 3.1 by using the automated install script from Servisys on an Ubuntu 18.04 LTS server. ISPConfig is a free open source hosting control panel to manage Linux hosting servers in single and multi-server environments.

36 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: ustoopia

works great! thanks!

By: Tadeusz Pufa

Hi,

first of all thanks for your work, perfect solution for guys like me! You realy helped me.

I've tried install on fresh Debian 9 and fresh Ubuntu 18.04. On Debian works good, but on Ubuntu installation freeze on step "Updating apt package database and upgrading currently installed packages...". I'm using basic OVH vps and I've tried several times.

Does anyone else have the same problem?

By: Charlie

Hi,

Same problem here. I will try installing it using Ubuntu 16. Did you solve this issue?.

Please, if you did, let me know.

Thanks!

By: Llewellyn

To resolve run apt-get update and apt-get upgrade manually before running the install script.

By: Random guy from the internet

Do either Liewellyn said OR you can just edit the file /tmp/ispsomething/distros/yoursystem/install_basics

Just remove 3 first hiding functions and youll get the pop up windows that were getting blocked :]

By: John

Works fine!! Thanks you very much.

By: Milo

Hi, I installed on VPS and out of the box, everything works fine, just I am having troubles with send/receive emails. Not even the welcome ISP email. Settings are:/etc/hostname: vm1, /etc/hosts: 11.22.33.44 vm1.domain.tld vm1

at ISPConfig:dns records NS domain.tld. ->IP, vm1, mail -> IP + set up email domain.tld, MX  domain.tld. -> mail.domain.tld., /etc/mailname is mail.domain.tld, postfiix main.cf has myhostname = vm1.domain.tld, + added standard generated SPF, DKIM, DMARC records.

Based on Git's w2c ispconfig3_roundcube procedures I added/set up roundcube account.

No send / receive... any suggestion?

By: Matthew

U must wait 8min+ ...i have Ubuntu 18.04 and worked for me.

By: Ersin ACAR

Hi, installed coplated but web mail dont work

http://domainname.com/webmail   dont work.  How to work webmail?

Thanks

By: Ben Spradling

Hello again. After 6 reinstalls of ubuntu 18.04 Bionic Beaver I was able to get ispconfig install and working.

One note there is no directory /var/lib/roundcube/plugins/ispconfig3_account/config so I am not able to change the config.inc.php. I did a whereis and it can't be located. Note is a minmum installation of ubuntu. 

By: Joe_F

did you find a way to fix it?

By: Superhost

Respect! Best open source ISP Installation routine I have seen in years. THX 1 mio.

By: Guilherme Guia

There was a bug in my instalation. I don't know if  this happend with someone, i was unable to sent emails, the following ports were not listening: 587, 465. To fix it i had to edit the following file:  /etc/postfix/master.cf i had to change it to be like this:

[...] submission inet n - - - - smtpd -o syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject # -o smtpd_reject_unlisted_recipient=no # -o smtpd_client_restrictions=$mua_client_restrictions # -o smtpd_helo_restrictions=$mua_helo_restrictions # -o smtpd_sender_restrictions=$mua_sender_restrictions # -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject # -o milter_macro_daemon_name=ORIGINATING smtps inet n - - - - smtpd -o syslog_name=postfix/smtps -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject # -o smtpd_reject_unlisted_recipient=no # -o smtpd_client_restrictions=$mua_client_restrictions # -o smtpd_helo_restrictions=$mua_helo_restrictions # -o smtpd_sender_restrictions=$mua_sender_restrictions # -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject # -o milter_macro_daemon_name=ORIGINATING [...]

 

Best Regards,

Guilherme Guia

By: helios842000

thx!! your fix work like a charm (ubuntu 18.04)

By: Tejas

Tried 

Debian 9

Didn't work.

tried 

Ubuntu 18.04 didn't work.

 

Debian 8 WORKED!

By: till

Better use the official ISPConfig installation instructions (perfect server guides) to install ISPConfig: https://www.ispconfig.org/documentation/ instead of a third party auto installer.

Autoinstallers tend to fail when the base system is not absolutely clean or does not match the exact base server image that the autoinstaller has been made for

By: manoj3141

Is it possible to install nextcloud after this?

By: Marius

If i type with BASH       =>  No such file or directory

If i type with dash         =>  Cam't open install.sh

?????

By: till

First of all, it is bash as shown in the tutorial and not dash and then this error means that the download of the script failed, maybe your server is not connected to the internet or a firewall on your server or in your network blocked the download.

By: charly35

webmail or rouncube, Why doesn't it come in the installation? It's something basic.

By: Miki

Hi to all, I followed the exact steps, step by step. When the installation is complete, everything works up to create the databases. In ISP config it is created and pretended to write something to MySQL but nothing will appear in the database ... Why ???

By: till

Check that you have the correct MySQL root password in the file /usr/local/ispconfig/server/lib/mysql_clientdb.conf. If you need further help, please post your questions in the ISPConfig support forum here at howtoforge.

By: Zador

Hi, all ok, installed without any error.

Only 2 things after instalation:

1- root@ns3369654:~# apt-get -y remove spampd Reading package lists... DoneBuilding dependency tree       Reading state information... DonePackage 'spampd' is not installed, so not removed0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Spampd is not installed like tutorial.

And in

var/log/ispconfig_setup.log

You will need to edit the username and password in /var/lib/roundcube/plugins/ispconfig3_account/config/config.inc.php of the roundcube user, as the one you set in ISPconfig

but /var/lib/roundcube/plugins/ispconfig3_account/config/config.inc.php not exist.

By: Matze

On the point 

"phpmyadmin with dbconfig-common?' select 'NO'

Due to a bug in dbconfig-common, this can't be automated." - i selected 'YES' - What can/should i do ?

The install works great and no errors. I can not reach the webmail

By: Tim

I do get strange SSL/TLS errors after following this script. Ispconfig works like a charm but sending mail via SMTP doesn't work.Trying to send via Roundcube:

Aug 14 16:20:02 servername postfix/smtps/smtpd[2133]: connect from localhost[127.0.0.1]

Aug 14 16:20:02 servername postfix/smtps/smtpd[2133]: SSL_accept error from localhost[127.0.0.1]: lost connection

Aug 14 16:20:02 servername postfix/smtps/smtpd[2133]: lost connection after CONNECT from localhost[127.0.0.1]

Aug 14 16:20:02 servername postfix/smtps/smtpd[2133]: disconnect from localhost[127.0.0.1] commands=0/0

 

Trying to send via checktls.com:

Aug 14 15:46:45 servername postfix/smtps/smtpd[23915]: connect from www6.checktls.com[159.89.187.50]

Aug 14 15:47:15 servername postfix/smtps/smtpd[23915]: SSL_accept error from www6.checktls.com[159.89.187.50]: -1

Aug 14 15:47:15 servername postfix/smtps/smtpd[23915]: warning: TLS library problem: error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:332:

Aug 14 15:47:15 servername postfix/smtps/smtpd[23915]: lost connection after CONNECT from www6.checktls.com[159.89.187.50]

Aug 14 15:47:15 servername postfix/smtps/smtpd[23915]: disconnect from www6.checktls.com[159.89.187.50] commands=0/0

Aug 14 15:47:49 servername postfix/smtps/smtpd[23915]: connect from www6.checktls.com[159.89.187.50]

Aug 14 15:48:19 servername postfix/smtps/smtpd[23915]: SSL_accept error from www6.checktls.com[159.89.187.50]: -1

Aug 14 15:48:19 servername postfix/smtps/smtpd[23915]: warning: TLS library problem: error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:332:

Aug 14 15:48:19 servername postfix/smtps/smtpd[23915]: lost connection after CONNECT from www6.checktls.com[159.89.187.50]

Aug 14 15:48:19 servername postfix/smtps/smtpd[23915]: disconnect from www6.checktls.com[159.89.187.50] commands=0/0

As I did no changes to the standard-config rolled out by the install script I'm a bit puzzled.

Any ideas?

By: kreissage

hello, I have tried installing it without any errors on Ubuntu 18.04lts but SSL and Let's Encrypt don't work.

With SSL checked it doesn't write anything on apache conf file. Let's encrypt folder was missing and certbot folder empty. Tried to install letsencrypt and python for apache but still the same problem. Maybe the installation script has some bugs I don't know.

By: till

The installation script works fine, when you can't use LE then this has a different reason, read the LE FAQ: https://www.howtoforge.com/community/threads/lets-encrypt-error-faq.74179/

By: Alexander

Thank you for this script, unfortunately it does not work correctly under the current Debian version. For details please check the log: pastebin.com/raw/1r29naBN Could you please fix it? Thx.

By: till

You can use the new official ISPConfig auto-install script instead:

https://www.howtoforge.com/community/threads/ispconfig-and-perfect-server-howto-autoinstaller.82563/

By: peterpetr

I've used this script (https://www.howtoforge.com/tutorial/ubuntu-ispconfig-automated-install-script/ ) to install ISPConfig on my Ubuntu 18.04 but now can not access phpMYadmin on the port given by the script: 8081.  Also, port 3306 does not give me access to phpMYadmin.

How can I access phpMYadmin?

By: Andre

TIP: Run apt-get dist-upgrade BEFORE start the script. 

By: Kangarooo

Installed with automated and this long one also. What link would be? Terminal ssh doesnt show what ip. Here mentioned ip:8080 also doesnt work. What tutorial works? https://www.howtoforge.com/tutorial/perfect-server-ubuntu-18.04-with-apache-php-myqsl-pureftpd-bind-postfix-doveot-and-ispconfig/#comments Cant this be automated? Using latest DO 18.04.4

ispconfig [ Rootkit Hunter version 1.4.6 ] File updated: searched for 180 files, found 150 Errors were encountered while processing: sa-compile E: Sub-process /usr/bin/dpkg returned an error code (1)

Here script stops.

By: Tobias

Hi,it is possible to install it without the mail feature?

By: Chamrong

Hello, could you help me. I have followed your instruction, but I have an occur like that "Mail server cannot sent". Do you have any solution?

By: Jon Dunk

Can someone please help me.I have done and followed the tutorial to install ispconfig the automated version way and have got the following error,The default ISPConfig Username is: admin          and the Password is: adminWarning: This is a security risk. Please change the default password after your first login.You will need to edit the username and password in /var/lib/roundcube/plugins/ispconfig3_account/config/config.inc.php of the roundcube user, as the one you set in ISPconfig (under System > remote users)This is where my problem begins. I have tried the suggested  username and password but to no avail.Could someone please advise as to what i need to do to correct this issue.

By: till

The answer to your problem can be found in the first chapter of the guide, here again the text:

 

"Warning: This install third party install script for ISPConfig is for ISPConfig 3.1 only, it is not compatible with the current ISPConfig 3.2. Using it to install ISPConfig 3.2 will result in a non-working setup. Use the official installation guides (Perfect server tutorials) instead to install your server or use the official ISPConfig auto-installer: https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/"

 

You are using an outdated third-party install script which is known to not work anymore with any recent ISPConfig version, instead of using the new official install script. You now found out that it is indeed not working anymore as described in the first chapter. Solution: Format your server to start over and use the official installation script that works with current ISPconfig versions: https://git.ispconfig.org/ispconfig/ispconfig-autoinstaller