Comments on The Perfect Server - Debian 10 (Buster) with Apache, BIND, Dovecot, PureFTPD and ISPConfig 3.2

This tutorial shows how to prepare a Debian 10 server (with Apache2, BIND, Dovecot) for the installation of ISPConfig 3.2. The web hosting control panel ISPConfig 3 allows you to configure the following services through a web browser: Apache web server, Postfix mail server, Dovecot IMAP/POP3 server, MySQL, BIND nameserver, PureFTPd, SpamAssassin, ClamAV, and many more.

269 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Nestor

Hi. I tried to install according to the guide and I get two errors. 1 / I can not install roundcube, since I miss error when creating the bd and it does not let me continue. 2 / I can not install ISPConfig, since it marks me the following error:  The patch command is missing. Install patch command and start installation again... Will it be that ISPConfig does not accept php 7.3.4? or will it be necessary to configure AppAmor? Every idea is well-received. Thank you.

By: till

Just follow the tutorial from beginning to end, there are no additional steps required. If you get an error that the patch command is missing, then you left out a part of the guide, in this case probably the jailkit installation. Redo all steps and do not leave something out to get a fully working system. You can also install patch manually with apt, but as other things are probably missing as well, it's better to go through all steps again and ensure that you did not left out a single command. Regarding RoundCuce, this error happens when you did not configure MariaDB in the way that is described in the tutorial. Redo all steps from MariaDB installation chapter and ensure that you modified all the config files in the exact way that's described in the tutorial.

By: Mat

Hi Till,

thanks for the tutorial update for Debian 10 - do plan also an update for the nginx perfect server for Debian 10 ? ;))

 

One little question - at postfix master.cf

is there submission inet n - - - - smtpd & smtps inet n - - - - smtp

correct - had there something changed from Debian 9 to Debian 10 ?

It was in the old tutorials always submission inet n - y - - smtpd & smtps inet n - y - - smtpd

 

Thanks in advance,

 

Mat

By: till

I've used the new defaults that postfix on Debian 10 ships with and just uncommented the required lines. The mail system works fine in my tests, so I guess the new postfix defaults should be ok. Regarding nginx tutorial, yes, that's next on my ISPConfig tutorial todo list.

By: Mat

Ahh ok interessting - i have done also a fresh install of debian 10 (now more times because i test different new features, if it works together) with a new image from my hoster, last one is from last friday - there is still the old setting inside at postfix.I will give also the new one a try.

your tutorials always work without any issue - perfect thanks so much for your great work here!

By: Neptun

is it possible with your perfect server debian 10 tutorial to use maria db 10.4 which is since June stable too - instead of maria db 10.3 ?or would be there any issue ?

https://mariadb.com/kb/en/library/mariadb-1046-release-notes/

maybe you could kindly add it to the nginx perfect server tutorial for debian 10, if possible - just an idea/request

By: till

I will use the packages that ship with Debian 10, and that's 10.3 at the moment. I can't say if 10.4 will work as I have not tested it.

By: Matt

Very thorough. Looking forward to the nginx version

By: 18TommyBoy

ISP login error:

SSL_ERROR_RX_RECORD_TOO_LONG

Why?

 

(at end I click NO secure connection)

By: till

And that's the reason for the problem, you should have chosen yes there as shown in the tutorial above. Run the uninstall.php script which is in the same folder which contains install.php to uninstall ISPConfig, then reinstall it and use the options shown in the tutorial.

By: DARK9Y8

I think we can change this portion

cd /usr/local/binwget https://dl.eff.org/certbot-auto chmod a+x certbot-auto ./certbot-auto --install-only

to

apt install certbot

easy :D

By: till

It is intended to not install certbot with apt as I want to install the latest certbot version and not the one from Debian repositories. Using the one from Debian has proven to cause problems in the past because it will probably become outdated soon again.

By: sapro

Short change at jail.local for #17: Install fail2ban:

In section "[postfix-sasl]" the filter has canged to "filter = postfix[mode=auth]"

By: till

Thanks! I fixed that in the tutorial.

By: sapro

At step #8: (Install Dovecot) I add in /etc/dovecot/dovecot.conf the line:

"ssl_dh = </etc/dovecot/dh.pem" after "ssl_protocols" and create the dh.pem-File in /etc/dovecot with

openssl dhparam -out /etc/dovecot/dh.pem 4096

Now dovecot work's fine for me :-)

By: Jose

Hi, Please, could you explain the correct way to get wildcard certificates, for example as for a server with wordpress (domain) and nexcloud (cloud.domain), the way I do it works but it's confusing. 

By: till

You can enter your wildcard SSL cert on the ssl tab of the website, there is no difference to a non-wildcard cert. But that's not related to the topic of this installation tutorial. If you have questions on how to use ISPConfig, then please ask in the ISPConfig support forum here: https://www.howtoforge.com/community/forums/general.25/

By: Peter

Hi. 

When i go to PHP My Admin , user cant create new databases.

No privileges.

By: till

You have to login as MySQL root user to create new databases, only the root user has the privileges for this. Normally you would create databases from within ISPConfig and not phpmyadmin.

By: Maurizio Marini

I did:

systemctl daemon-reload; systemctl restart mariadb

But stil I get

Warning: The unit file, source configuration file or drop-ins of mariadb.service changed on disk. Run 'systemctl daemon-reload' to reload units.

nevertheless I redo

systemctl daemon-reload

more and more

By: till

You can probably ignore that and proceed with the installation.

By: max123kl

PHPMyAdmin is included in Debian-SID as a package again. A few weeks ago I already tested a server with Debian-10 (with debian-buster-DI-rc1-amd64-netinst.iso), unfortunately without the help of the new, great tutorial. As a workaround for the missing buster package I installed the version from SID. As far as I can see this works fine. In order to get future updates I have adapted the files /etc/apt/sources.list and /etc/apt/preferences as needed.

By: Kai

reboot and shutdown commands are now handled by systemctl, so you have to use "systemctl reboot" or "systemctl shutdown", opposed to the commands shown in this guide. But: thank you for being that fast in providing this guide!

By: till

Thank you for the notice. I've changed it in the base install guide but forgot to alter it in the perfect server guide.

By: radim_h

With this way of instalaltion  ./certbot-auto --install-only Will certbot get updated in future ?

By: till

Yes, just run the command 'certbot-auto' and it will update certbot to the latest version.

By: roffe

  mysql said: ERROR 1049 (42000): Unknown database 'roundcube'

problems instaling what to do

 

By: till

Possible reasons: you answered with 'no' instead of 'yes' to the question 'Configure database for roundcube with dbconfig.common?' during roundcube installation or you made a mistake during mysql installation in chapter 8 by e.g. setting a wrong password in /etc/mysql/debian.cnf file.

By: F4lcon

The same issue here, I set up correct root password in debian.cnf, tried 'yes' to the question you mentioned, dpkg-reconfigure roundcube-core, dpkg-reconfigure phpmyadmin/unstable and the dbconfig-common always ends with:

mysql said: ERROR 1049 (42000): Unknown database 'roundcube' (or 'phpmyadmin' etc...)

Tried to create db and user from shell, it is working fine as long as I run dpkg-reconfigure. Here is the output:

---

Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.

dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf

Replacing config file /etc/dbconfig-common/roundcube.conf with new version

roundcube already exists and has privileges on roundcube.

dbconfig-common: dumping mysql database roundcube to /var/tmp/roundcube.roundcube.2019-07-15-21.06.mysql.GABffs.

dbconfig-common: dropping old mysql database roundcube.

dropping database roundcube: success.

verifying database roundcube was dropped: success.

creating database roundcube: failed.

error encountered creating database:

mysql said: ERROR 1049 (42000): Unknown database 'roundcube'

---

Any idea? Thanks

By: till

I cannot reproduce that here, might be a problem with the MariaDB password in the debian.cnf file, this can be a bit tricky when you use special chars in the password. Please make a post here to get further help: https://www.howtoforge.com/community/forums/general.25/

By: F4lcon

Unfortunately it's the same with a simple password, I will make a new post soon.

By: MaT

Hi,

i can also confirm same issue - everything 100% correct insert in the config files - but not possible to install roundcube without manual creating of the user & databases at mariadb/mqsql - after this - correct install without error (i had always debian 10 nginx install)

i have tried it in different ways - sometimes it works with only database - but 100% success is with both created

By: till

I'll set up a new server here today to test it again. We should continue to investigate this in the forum as it would clutter the tutorial comments otherwise.

By: till

This seems to be an issue in the Debian Roundcube installer as it does not even try to create the database, it created the database user through which implies that the root login works. I've added a command to the tutorial to create the database manually before RoundCube is installed.

By: SamTzu

On my LXC container I had to set the MySQL root password first before I could run any MySQL related command on this tutorial.

mysql -u root

mysql> use mysql;mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD("newpass");mysql> flush privileges;mysql> quit

By: Sergey

Debian 10 with Nginx + php-fpm please :)

By: Roffe

Hi I have installed debian buster and roundcube but how do i get plugins to work have look at this ISPConfig 3 Roundcube Plugin on Debian 9 (Stretch) but don't know if it works with debian 10 (Buster)

By: till

Install them and then you know if they work with PHP 7.3. I have not tested them. Or contact their author and ask him.

By: ffab

this is great. works perfectly !

could you consider explain using a valid let's encrypt cert for ispconfig admin interface

regards,

By: Jose

I used this https://github.com/ahrasis/LE4ISPC works like a charm

By: Michal

Hi,

Do anyone have issue with "Update Packagelist"?

I'm getting information: "No packages to read in"

I run this update on 3 servers and i have this same issue.

By: thctlo

Hai, Thanks for this update again, great! 

Is it an option to replace phpmyadmin with adminer or phpliteadmin from debian itself, i preffer to have minimal source packages and same for certbot. 

Or are there then things going wrong with ispconfig? 

I want that because of the security updates. 

 

By: till

PHPMyadmin is not required for ISPConfig, so feel free to replace it or leave it out. Regarding certbot, you can use the certbot package from Debian but Debian will not keep it up to date and this will cause you issues in a few months or years. We have seen these problems in Debian 9. That's why we recommend to not use the Debian package for Certbot, better get the latest Certbot version and keep it up to date with certbot-auto.

By: thctlo

Hai Till, thank you for you reply, most welkom. 

I did a few runs for the install and I have some corrections/additions to the above setup. 

7) ntp, not needed to install see : timedatectl  is save a bit space and packages to install/maintain. 

8) Dovecot :  # https://bugs.debian.org/903161 fix is very simple:   

adduser dovecot dovecot

That was all i did and the error is gone in my logs. 

Extra Add dovecot DH params. 

openssl dhparam -out /etc/ssl/private/dovecot-dhparams.pem 2048

chown root:dovecot /etc/ssl/private/dovecot-dhparams.pem

chmod 640 /etc/ssl/private/dovecot-dhparams.pem

# and add the DH parameter to the config. 

sed -i '/ssl_key = <\/etc\/postfix\/smtpd.key/a ssl_dh\ =\ <\/etc\/ssl\/private\/dovecot-dhparams.pem' /etc/dovecot/dovecot.conf

systemctl restart dovecot

Mysql limits : nano /etc/security/limits.d/mariadb.conf 

Try not to touch the system defaults.

# creating systemd overrides. ( incl a few buster fixes.) 

# useing edit.. systemctl daemon-reload is automaticly done for you.

systemctl edit mysql.service

Add:

[Service]LimitNOFILE=infinity

 

# The Fixes for buster. systemctl edit fail2ban.serviceAdd: 

[Service]PIDFile=/run/fail2ban/fail2ban.pid

# and a wrong path in the  /usr/lib/tmpfiles.d/fail2ban-tmpfiles.conf

Run : sed -i 's/\/var\/run\/fail2ban/\/run\/fail2ban/g' /usr/lib/tmpfiles.d/fail2ban-tmpfiles.conf

 

systemctl edit dovecot.serviceAdd:[Service]PIDFile=/run/dovecot/master.pid

 

systemctl edit memcached.service[Service]PIDFile=/run/memcached/memcached.pid

If you install jailkit build software with : apt-get install -y --autoremove build-essential autoconf automake libtool flex bison debhelper binutils  

And everything installed, is always removed with : apt-get remove -y --autoremove build-essential autoconf automake libtool flex bison debhelper binutils 

9) Missing a few packages, the corrected needed list. 

apt-get install -y amavisd-new spamassassin clamav clamav-daemon unzip bzip2 arj nomarch lzop cabextract p7zip p7zip-full lrzip apt-listchanges libnet-ldap-perl libauthen-sasl-perl clamav-docs daemon libio-string-perl libio-socket-ssl-perl libnet-ident-perl zip libnet-dns-perl libdbd-mysql-perl postgrey unrar-free unp lz4 liblz4-tool unp

Add step 11) I did use the debian certbot version, that works fine for now, when buster-backports are up, certbot will be available there with the lastest version. 

Then im switching to the backported version. 

And after the install, Thanks @Jose  for the link. above for LE4ISP.sh 

I made a few changes for that and a modfied version can be found here: 

https://github.com/thctlo/ISPConfig-Let-s-Encrypt-Securing/blob/master/setup.sh 

This assums you use mail.domain.tld for all mail related services. 

You need to setup 2 ! vhost for this to make it work. 

 

By: Neptun

Hi Till,

do you have maybe any news for the Perfect Server Debian 10 / NGINX tutorial together with IspConfig ?

Would be great - thanks 

By: melaku

 This is an amazing tutorial. thanks for sharing your knowledge. 

let me ask you, i have a free domain name "melakuspark.tk" from freenom. but i am confused how to link my domain name in the above tutorial. shall i use my dhcp assigned ip address as a static ip or where is the corresponding ip address for my domain? please help  

By: Alexander

When entering a command:echo "CREATE DATABASE roundcube;" | mysql --defaults-file=/etc/mysql/debian.cnf shows an error ...ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)Log into MariaDB as root user:mysql -u root -pIn the MariaDB shell, create a new database fo roundcube.MariaDB [(none)]> CREATE DATABASE roundcube;

By: till

This means you did not set the correct root password in the file /etc/mysql/debian.cnf.

By: Jawad Abidi

I have some problem, the password in /etc/mysql/debian.cnf is correct.

I have copy the password in this file, and i past it in the password box after typing mysql -u -p command and i have get connected.

By: Sami

Lol you are amazing :):)

By: deimos

 Sorry is not possible to use create db roundcube with:echo "CREATE DATABASE roundcube;" | mysql --defaults-file=/etc/mysql/debian.cnf ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)The correct root password is in /etc/mysql/debian.cnf Think better way is: mysql -u root -p MariaDB [(none)]> CREATE DATABASE roundcube;MariaDB [(none)]> EXIT;

By: till

The command works fine, I use it regularly when installing new Debian 10 servers. If the command did not work for you, then you did not set the correct database details in the file /etc/mysql/debian.cnf as described in this tutorial.

By: Annahri

Hi. What a great guide. Can I rewrite this to another language and post it to my blog?

Thanks in advance!

By: till

No, I'm sorry. Republishing and translation of HowtoForge tutorials is not permitted.

By: ganewbie

 Hi Till, Great tutorial as usual.

In case somebody sees the same error.In our setup, we got the following error in "Step # 9"

E: Package 'unrar' has no installation candidate

We swapped unrar with unrar-free and continued the installation.

Thanks for the great efforts,

By: ganewbie

 Hi Till, Great tutorial as usual.

In case somebody sees the same error.In our setup, we got the following error in "Step # 9"

E: Package 'unrar' has no installation candidate

We swapped unrar with unrar-free and continued the installation.

Thanks for the great efforts,

By: Dee

I am getting an error at:

 

dpkg-reconfigure dash

 

The result is:

 

dpkg-reconfigure: command not found

 

So I change the command to (added space after dpkg:

 

dpkg -reconfigure dash

 

The result is as follows:

 

dpkg: error: conflicting actions -e (--control) and -r (--remove)

Type dpkg --help for help about installing and deinstalling packages [*]; Use 'apt' or 'aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files;

 

 

By: till

The command is "dpkg-reconfigure dash" as mentioned in the tutorial and this command should be available on any Debian 10 system by default. Ensure that you logged in as root user or that you used 'su -' to become root.

By: Falsig

For some reasons, /usr/sbin is not in root's path.export PATH=$PATH:/usr/sbin does the trick here, I had the same issue ;)

By: till

Please read chapter 1 of the tutorial and what I've written about 'su -' there. If you use su - and not su, then /usr/sbin is in the path.

By: Jeff

I had the same issue. Possibly due to an upgrade from 11.5 to 11.6 during the previous step. The solution was to include the /usr/sbin in the root user’s PATH. Somehow it got removed from root user’s PATH variable. Include it in the root user’s PATH by executing the following command:

export PATH=$PATH:/usr/sbin

By: till

As I mentioned in the post you replied to, you missed the "-" command option when using su to become root user, so adding the path manually is not required as long as you use 'su -' and not 'su' on Debian 10 and later versions like Debian 11 to become root. the behaviour of the su command has changed, that's all. Su without - is not loading the full path variable anymore.

By: philip

First thanks for the tutorial!

This doesn't enable http2 which is I think pretty worthwhile on any website. http2 doesn't work with mpm_prefork. I needed to finish with:

a2dismod php7.3

a2dismod mpm_prefork

a2enmod mpm_event

a2enmod http2

 

I'm not sure what to change but I guess removing libapache2-mod-php from the install and then adding

a2dismod mpm_prefork

a2enmod mpm_event http2

By: till

You can either have mod_php support (which is used by this guide) or http/2. If you enable http/2, mod_php will not be available anymore. So don't try to switch a site in ISPConfig to mod_php on your setup.

By: SamTzu

MariaDB/MySQL: Could not access mysql console with password "mysql -u root -p". Only without password. "mysql -u root".LXC container: Had to enable "nesting=1" Proxmox/LXC/Options/Features to get MariaDB/MySQL to run on Debian 10 (Buster).

By: SamTzu

Thanx Till.

By: Fabrice

Thank you for this tuto.

I didn't find the way to use Postfix with the server, do you know a good tutorial for that?

Thanks

Fabrice

By: till

Postfix is fully installed and configured ready to be used when you followed this tutorial, there is no further tutorial needed. Just add an email domain and mailbox in ispconfig, that's all. If you need further help, please post in the ISPConfig forum here at howtoforge.

By: Mark

Hi Till,

I have followed every step of this great tutorial, but I have problems sending and receiving emails. 

When ispconfig was just installed, the first thing I did was to create a website. I have registered the same domain that the server, so the server has the domain (hostname) server1.myweb.com and I created the website myweb.com in ispconfig. Then I went to the "Emails" section of ispconfig and added the domain, and then added the mailbox [email protected].

Then I went to webmail from the button next to the mailbox and entered roundcube. I have tried to send an email to my personal gmail and within a few seconds I receive an error email.

This is the mail system at host server1.traffickersworld.com.I'm sorry to have to inform you that your message could notbe delivered to one or more recipients. It's attached below.For further assistance, please send mail to postmaster.If you do so, please include this problem report. You candelete your own text from the attached returned message.                   The mail system<[email protected]>: host    gmail-smtp-in.l.google.com[2a00:1450:400c:c00::1a] said: 550-5.7.1    [2a01:4f8:c2c:ba4f::1] Our system has detected that this message does    550-5.7.1 not meet IPv6 sending guidelines regarding PTR records and    550-5.7.1 authentication. Please review 550-5.7.1    https://support.google.com/mail/?p=IPv6AuthError for more information 550    5.7.1 . a14si8675561wmg.44 - gsmtp (in reply to end of DATA command) Reporting-MTA: dns; server1.myweb.comX-Postfix-Queue-ID: 1CF1121249X-Postfix-Sender: rfc822; [email protected]: Sun,  8 Sep 2019 11:29:57 +0200 (CEST)Final-Recipient: rfc822; [email protected]: rfc822;[email protected]: failedStatus: 5.7.1Remote-MTA: dns; gmail-smtp-in.l.google.comDiagnostic-Code: smtp; 550-5.7.1 [2a01:4f8:c2c:ba4f::1] Our system has detected    that this message does 550-5.7.1 not meet IPv6 sending guidelines regarding    PTR records and 550-5.7.1 authentication. Please review 550-5.7.1    https://support.google.com/mail/?p=IPv6AuthError for more information 550    5.7.1 . a14si8675561wmg.44 - gsmtp

In the error message I have pasted here before, obviously I replaced my real domain for "myweb" and my personal gmail email for "mypersonalemail" for privacy.

Could you help me? I bought the ispconfig manual, but I don't know the best way to set up an email for a domain.

I have to tell you that as the use of ispconfig, it will be personal, I have not created any client, or any reseller.

Thank you Till!

By: till

Hi Mark, please post your support question in the iSPConfig forum so we can help you figure out what the problem with your mail server setup is: https://www.howtoforge.com/community/#ispconfig-3.23

By: Bakha

I have a problem with pureftpd when create users ftp not working (can not connect)

fix it please or please double-check the commands

By: till

Tested it today, the tutorial is working öperfectly, nothing to be changed.  Your problem is not related to an issue in this tutorial. When you can't connect to FTP then you either did not follow the tutorial closely or you have closed the FTP ports in an external firewall or used a wrong IP or hostname to connect or something similar. Please post in the ISPConfig forum here at howtoforge if you need further help to find out what's wrong with your server.

By: Hendrik57

Perhaps things are changed with Debian 10 distibution.

I've got the same errors. Https and Https work, but ftp not. And I copied all lines to avoid mistyping on a new Debian 10 install (14 dec 2019 download)

With a deactivated UFW, only ports 80 and 443 respond. Port 21 is closed.

Activating UFW makes all ports close, including 80 and 443.

After I did:

ufw allow ftp

ufw allow sftp

ufw allow http

ufw allow https

I could login and sites on 80 and 443 work with Letsencrypt certificate on the website.

I could login with FTP, but it seems to hang in getting the folderlist. Login was succesfull.

By: Fenna

Thx for another update on this concept of seting up a server system. Been using these tutorials for years and always happy with the result. This incarnation is no different :)

By: Fabrice

Hi All,

After the installation on Debian10, I can't send an email thru php (Wordpress).

Command mail doesn't exist.

I put SMTP information in ISPConfig for roundcube (works for roundcube)

Thanks

 

Fabrice

By: Eric

Hi,I tried the install, great work.  However, I did skip some steps and modified a few.

 

tks.

By: Nick

Hi Till

Perfect servers through perfect tutorials. However I have a big stone in my shoe and its called Amavis crap. I have 4 separate hardware HP servers all running beautifully however amavis crashes on all 4 of them at irregular intervals and has to be restarted every now and then even at boot. This piece of crap software would keep all the emails hostage to its wellbeing and have to keep an eye on it every hour to make sure it doesnt crash. Please advise work-around pls.

By: Nick

I have upgraded from stretch to Buster and have faced a lot of ssl dovecot problems which I uninstalled and reinstalled however ISPConfig does not seem to be able to update user mail and other records. Do I need to reinstall ISPConfig or follow any of the above steps again?

By: till

Do not uninstall ispconfig as you would not be able to install it again without loosing all config. Follow the above guide to ensure all packages are installed and then run an ispconfig update with reconfigure services = yes. If you need further help, post in the ISPConfig support forum here at howtoforge.

By: Eric

That is 'pma' ?  Is this a user name you created?

By: Leighton Walters

This tutorial is quite straightforward and error-free. I was able to complete it without any errors in one attempt. Five stars!

By: Anahata

I completed the installation, but when I visit the control panel, Firefox refuses to connect because it doesn't trust a self-signed certificate, and won't allow an exception because of HSTS. Chrome does the same.

The only thing I did different was to set the password to something more secure than 'admin' during the install, but I don't expect that to be a problem.

I uninstalled and re-installed ispconfig, with the same result.

By: till

The warning that you see is caused by the self-signed SSL certificate, that#s ok and not an installation issue, you can simply accept the warning in the browser to proceed. Or you install another SSL cert for ISPConfig if you have already one for the hostname of the server or you install one from Let's encrypt: https://www.howtoforge.com/tutorial/securing-ispconfig-3-with-a-free-lets-encrypt-ssl-certificate/

By: Anahata

No, the browser won't let me "accept the warning" and continue because of HSTS. Even if I tell Firefox to 'forget' the site (which should clear the HSTS setting) it's the same. I've commented out the apache2 ispconfig.vhost settings relating to Strict Tranport Security and Content Security Policy and that hasn't helped either.

The instructions you linked to, for LetsEncrypt, seem to assume I have a working ISPConfig panel, which I don't. I'll try the shell commands to symlink the Letscrypt certificate data to /usr/local/ispconfig/interface/ssl, but I've already tried that once and it didn't work.

 

By: till

Accepting the error message usually works, I install this setup several times a week using self-signed certificates and I'm always able to accept the self signed cert in all major browsers, so your problem is not this setup and not the settings of the ispconfig vhost. Your problem is probably the domain that you use for the server hostname, if you used that domain or subdomain before and used it with hsts, then your browser will block it if you reuse it with another cert now, no matter of the settings in ispconfig vhost. If you can't login by ssl, disable ssl in the vhost, login by http, create the LE based vhost and follow the guide that I posted the link to and then enable ssl in the vhost again.

By: Anahata

Thank you - you are absolutely right, the browser has visited the main domain and other subdomains with HSTS and after I cleared all its memory of them, I was able to reach the ISPconfig panel.

By: Bertrand

Great tutorial ! thank you, it just misses the package patch to launch the install of ISPConfig

By: till

The patch package is installed if you followed all steps. You probably left a step out (most likely jailkit) if patch was missing on your system.

By: Jawad

Hello, thank you for support

I can send email using roundcube, but i cant recive it from external.

i sent it only from internal sending from [email protected] to [email protected] for example.

thank you 

By: Jeff BRyner

Good install, all went well. One "Feature" Id like to control is that if you go to the IP address of the server it bypasses any available site on the ISPConfig system and dumps to a default page served by Apache. Is there any way to control this or eliminate it?

By: till

That's the way an apache web server is working, so that's not ISPConfig specific. You have to use either * or the Ip for all sites that use the same IP in DNS, don't mix it. If you don't want to use IP addresses in apache, delete the IP under System > Server IP.

By: Paolo

Reading the howto it seems that Mailman 2.x is used.. Is it possible to upgrade to Mailman 3.x or Ispconfig needs some module rewriting before using the latest version?

By: Jawad

Hi

Please, I install ISPConfig according this guide, All is ok, but i have 2 Address IP, I add the 2nd IP in  /etc/network/interfaces before installation, and the ISPConfig has detect the both IP. but i want to make all website work with 2 ip. for my principal domain I make dns as :

NS1 : ns1.domain.com with IPv4(1)

NS2 : ns2.domain.com with IPv4(2)

NS3 : ns3.domain.com with IPv6

by default whene i put (in the browser) the 1st IPv4, i get my domain.com website, but if i put 2nd IPv4 i get Apache2 Debian Default Page.

Please, how to make the 2nd IPv4 as secondary IP for all website.

Thank you

By: till

Choose * in the IPv4 field for all sites instead of the first or second IP address.

By: Jawad

Thank you Mr TILL

I change it, but allways show default apache page for the 2nd IP

By: Mike Conom

Hi,Can you tell me what is better for hostnameI have a vps server as vpsXXXXXX.ovh.net

nano /etc/hosts

 

127.0.0.1 localhost.localdomain localhost 51.xx.xx.xx server1.example.com server1or 51.xx.xx.xx server1.vpsXXXXXX.ovh.net server1

 

Then edit the /etc/hostname file:

 

nano /etc/hostname

 

It shall contain only the subdomain part, in our case:

 

server1orvpsXXXXXX

Thanks in advance

 

 

By: till

Don't add vpsxxxx to the name, it might lead other mail servers to treat your server differently. If you run just one server, you can even just use "server.yourdomain.tld" as server name. of if its mainly a mail server "mail.yourdomain.tld" or something similar. I would avoid words like vps or too many numbers in the name, besides that, you are free to choose whatever subdomain you want. Just take care to use the name consistantly and that it really exists in dns and points to your server IP.

By: Mike Conom

As i understand the best way is

nano /etc/hosts

127.0.0.1 localhost.localdomain localhost

51.xx.xx.xx server.example.com server

 

nano /etc/hostname

server

By: Jawad

Hi

Please How can i configure mariadb to use ssl connection?

THank you

By: Dan

So i did exactly everything noted here (doing this on my pi4) and it refuses to connect via the IP or hostname? ideas?

By: schmidtchen_

Great work.

Maybe "Require all denied" is better then

Order Deny,Allow Deny from All

By: Jesse Norell

In the phpmyadmin section, it needs to set the ownership/permissions on config.inc.php:

chown root:www-data /usr/share/phpmyadmin/config.inc.php

chmod 750 /usr/share/phpmyadmin/config.inc.php

By: Jakob Oberascher

hi, first off a big thx for the all-in-one guidance. made it to the ispconfig dashboard, however, havent ingested the 300page manual yet. wondering, am i ok to install webmin for a little GUI help around the server, or will it conflict with ispconfig, and it does have all the webmin functionality covered in ispconfig anyways ...?

By: till

Using Webmin on an ISPConfig server is fine as long as you don't use it to edit config files managed by ISPConfig like website vhost files.

By: Dustin

I installed this on a Raspberry PI running Raspbian Buster....

To make quotas work on the pi I had to issue this command, otherwise it thought /dev/root was no such file or directory:

ln -s /dev/mmcblk0p2 /dev/root

 

To make cerbot install I had to comment out the line in /etc/pip.conf that says:

#extra-index-url=https://www.piwheels.org/simple

otherwise it said the hashes didn't match

after installing cerbot I uncommented it

 

The rest appears to have work as expected, excellent tutorial!!! Thanks!

By: Will

Great write up but have a few issues. I have been trying to build this for 9 days, 16 reformats and over 100 Monster energy. Keep getting ssl certificate errors. Everything fine in http but not https. Certificates will not show on either. What am I doing wrong?

Also the certbot code you have listed is bad(most likely outdated) and unrar needs to be changed to unrar-free as it is also outdated. Clamav is having some issues installing dir too.

Everything else seems to install and work fine. Thank you for the time you put in to working on these!

By: till

The certbot code is fine. Please see here for your certbot issues https://www.howtoforge.com/community/threads/lets-encrypt-error-faq.74179/ If you have further issues in using certbot, please use the forum.

By: Steve

All up and running except for roundcube not parsing the .php just displays the index page as text. Not seeing anyone else mentioning this but have checked and rechecked all the configs, any pointers? All sites etc are parsing php correctly.

By: Jorge Fernando

Hi, the webdav directory is not the web directory of the site, how to correct this?

By: till

That's intended as webdav is implemnted as file storage option and runs as a different user, so you won't be able to write to the web dir anyway. If you want to access the web directory, use ftp/ftps.

By: Svilen Arsov

Database User: When I Add database user: (with mysql8 not mariadb)

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '('mypassword') as `crypted` LIMIT 0,1' at line 1Please help. Thanks in advance!

By: till

MySQL 8 is not fully compatible with older MySQL versions or MariaDB which makes it fail with Software that is not specifically developed for MySQL 8, MySQL 8 is not supported by ISPConfig yet. Please install MariaDB as described in the tutorial.

By: Jesse Norell

A note on upgrading from stretch, I have updated 3 mail systems now and each of them have had an empty /etc/dovecot/dh.pem file afterwards which had to be created manually.  Likely the install vs. update differs somehow there or everyone would have that issue.

By: till

Hi Jesse, did you run an ISPConfig update with reconfigure services = yes after the update? The ISPConfig updater should create the file during update if it does not exist. If this did not happen, please file a bug report so we can check that.

By: mcisar

Can metronome be installed on this Debian tutorial similarly to the steps in the Ubuntu tutorial (step 7.1)... or is there a technical reason Metronome was omitted here?

By: Jose

Just finishing....

 

 

>> Initial configuration  

 

The patch command is missing. Install patch command and start installation again.root@server:/tmp/ispconfig3_install/install# 

 

I really followed all the steps...

By: Jose

I can't believe it... just at the end...

 

root@server:/tmp# tar xfz ISPConfig-3-stable.tar.gz.1

root@server:/tmp# cd ispconfig3_install/install/

root@server:/tmp/ispconfig3_install/install# php -q install.php

 

 

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

 _____ ___________   _____              __ _         ____

|_   _/  ___| ___ \ /  __ \            / _(_)       /__  \

  | | \ `--.| |_/ / | /  \/ ___  _ __ | |_ _  __ _    _/ /

  | |  `--. \  __/  | |    / _ \| '_ \|  _| |/ _` |  |_ |

 _| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| | ___\ \

 \___/\____/\_|      \____/\___/|_| |_|_| |_|\__, | \____/

                                              __/ |

                                             |___/ 

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

 

 

>> Initial configuration  

 

The patch command is missing. Install patch command and start installation again.root@server:/tmp/ispconfig3_install/install# 

By: till

There is nothing missing in the guide, patch command is installed as dependency of one of the chapters which compile software, probably you left out a step like installing jailkit. You can fix your problem by installing patch with:

 

apt-get install patch

 

and then run the command to install ISPConfig again.

By: Jose

True. I missed the jailkit step.

 

Thanks for solving.

By: Fernando Kosh

All works, except when installing roundCube. I need to install the patch before to proced.

Thanks, Till Brehm!

By: DirtyTodd

Hi

I have installed the Perfect Server, now what changes are required at my domain registrar and Server Side so that I can Login at

servername.mydomain.tld:8080

and what Nameserver should I provide to my client so that they can use them at their domain registar

Regards

Ranjeet Malik

By: DirtyTodd

Also is there any guide for multiserver setup with debian 10, I will pay for purchasing the ISPConfig Guide again I already procured but that is having the same with debian 8 (Debian 8 doen't support roundcibe any more)

Regards

By: Kamel Harchaoui

I cannot access Roundcube withe http://www.example.com/webmail only with Http://Ip../webmail. What did I missed?

By: till

When you can reach webmail on the IP only, then the domain that you used is probably not pointing to the right server in DNS (yet).

By: Jose

It works like a charm y a HP microserver proliant gen8... lookig forward to the nginx version. I'd pay for it.

By: till
By: Jose

Thanks!!!!

By: harchaoui

Ich habe so gut wie möglich genau das gemacht wie Sie, FreelanceTEK und GoDaddy beschrieben haben, um ISPConfig, Webseite und DNS einzurichten, zum Schluss bekomme ich dauernd. „System.Net.Sockets.SocketException Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat“. Was habe falsch gemacht? (ist was zusätzlich zu beachten mit windows 10 pro im gegensatz zu Win 7) Danke im voraus!

By: Kevin

apt-get -y install ntp

and your system time will always be in sync.

 

Instead of installing ntp, why not add a NTP server to /etc/systemd/timesyncd.conf for the built in time-sync?

 

echo "NTP=timeserver.howtoforge.com" >> /etc/systemd/timesyncd.conf

 

 

By: Bog

a have question, what's do

PHP Warning:  chown(): Unable to find uid for ispconfig in /tmp/ispconfig3-stable-3.1-db6af21d44ed42fc45800619ed55559e07e0449c/install/lib/installer_base.lib.php on line 2696PHP Warning:  chgrp(): Unable to find gid for ispconfig in /tmp/ispconfig3-stable-3.1-db6af21d44ed42fc45800619ed55559e07e0449c/install/lib/installer_base.lib.php on line 2697chown: b??dny u?ytkownik: „ispconfig:ispconfig”

By: Bilal

Hi i followed all the steps, it took about 30 mns, i have now ispconfig3 installed and it works fine.

Thank you man :)

By: Hendrik57

I installed a fresk Debian Buster. Followed all instructions for Apache2.

However, Apache and ISPConfig worked only after I had logged in. It took me quit a while to find out that this had nothing to do with dbus and the Apache2 settings to start on boot.

I discovered that in the network configuration, the [connection] part, a permission was set to me as user. Normally this line says: "permissions=" withoud anything afterwarts. I have no idea when this 'user restriction' is added by the Buster installation, but perhaps more users walk against this issue.

Now I have to solve the 'relay not permitted' issue for the mail modules.

Thanks for the clear instructions here!

By: GaryS

After getting caught on the debian 10 changes (SU -) I have to congratulate you on the accuracy, thanks. Now if you only updated for a multiserver with deb10 as well....

By: Bitflux

Hi Till

The install worked flawlessly. Thanks for the great work.

T.

By: jentilak

Hi, it works almost pretty nice. The only thing i can´t achieve is the incoming mails. I tried many thing but still can´t get working to receive emails.

I opened ports, changed dns's, created mx lines, and nothing works for me.

 

Any help is welcome.

 

Thanks for the manual. All the rest works fine: Nextcloud server, worpress and other stuff are running like a charm.

By: Mohsen

Thank you so much for your precise information.

By: Philippe Oliveira

Hello how are you...

 

Excellent tutorial, plus I have a doubt ... checked all your perfect server tutorials, the perfect server with ubuntu and debian. I checked that with ubuntu you installed hhvm ... my doubts and the following i have 3 wordpress sites and I want to use ispconfig... what do you recommend me use HHVM with apache or HHVM Nginx or not use hhvm?

 

 

My sites have a lot of simultaneous access at the same time at certain times.

 

Example my sites have 4 to 10 hits at the same time (a little low), more when I do some email marketing campaign, users access the website and as soon as the email arrives in your inbox, then there are times when my website hits 200 to 300 users  conmultaneos, could you indicate me a configuration?

 

 

And which web server and better configure nginx hhvm or apache hhvm or just nginx or just apache? and SO ubuntu or debian?

 

My server and a 16GB and 8 Xeon cpus

 

Thanks and congratulations for the tutorial

By: till

HHVM shall not be installed anymore, HHVM dropped support for PHP, that's why it is not part of this tutorial. If your site has a lot of traffic, use the nginx tutorial and not apache: https://www.howtoforge.com/perfect-server-debian-10-nginx-bind-dovecot-ispconfig-3.1/

By: Bagus

Hi till,

I noticed on the section 10 "Install Apache Web Server and PHP"

"memcached" has been listed twice, is this intentional?

PS: I also noticed it in other guide / variant of this guide.

Thanks

 

By: till

It's not intentional, you can remove one instance. But it does not hurt that it's there, apt deduplicates it anyway.

By: Bagus

Thank you for clarifying.

By: David

thanks for this great guide! I messed something up with jailkit and I don't know how to fix it. I decided to go with the latest version of jailkit 20.21 instead of the one provided in the guide. The installation seemed to be fine, except it wasn't working so I read about it and noticed "jk_addjailuser utility has been removed"  In the changelog so I thought, maybe Ispconfig uses this function and that's why it's not working with a newer version so I tried to remove it and install the one provided in the guide instead, but no clients are able to ssh still.. I don't know how to troubleshoot, please help if anywone knows.. Everything else is smooth..

By: till

Make a support request in the ISPConfig forum here at howtoforge for your installation issue.

By: Werth

Thanks for the tutorial! Everything works fine but postfix.I tried different settings in master.cf, sadly without success!

Any idea how to solve the problem?

Regards

Werth

By: till

Make a support request in the ISPConfig forum at howtoforge for your installation issue.

By: Rayman

Thank you so much for this tutorial! It works! :)

By: Felipe

hey please, has some directive to put on ispconfig, becouse, the footer of my website, dont appear...but the instalation, its ok.

By: felipe

please, how to login on roundcube? so... thank you

By: till

Create a mailbox in ISPConfig and then use the email address and password of that mailbox for the RoundCube login. If you have further questions, please post in the forum.

By: edge

Small note.For some reason amavis did not start properly after a reboot on my Debian 10 system causing mail not to work! Problem was that ClamAV starts slowly and takes a long time to start causing it to exceed systemd default timeout setting and considered as failed to start.To solve this the timeout needs to be increased
1) Create new directory (might already exist): For CentOS: /etc/systemd/system/[email protected]/For Debian and Ubuntu: /etc/systemd/system/clamav-daemon.service.d/ 2) Create the file in the above directory named "override.conf" with the following in it:[Service]TimeoutSec = 600
3) Reload the daemon like so: "systemctl daemon-reload"

With a bit of luck amavis will now startup after a reboot.

By: edge

the formate of my post got lost in the above post. Lets try again.

1) Create new directory (might already exist):

For CentOS: /etc/systemd/system/[email protected]/

For Debian and Ubuntu: /etc/systemd/system/clamav-daemon.service.d/

2) Create the file in the above directory named "override.conf" with the following in it:

[Service]

TimeoutSec = 600

3) Reload the daemon like so: "systemctl daemon-reload"

By: Daniel

Neue Stable ISPConfig v. 3.1 bringt mehr Module mit(Rspamd+OpenVZ+Metronome XMPP Server)

Vlt. kommt ja demnächst mal ein neues Tut. OpenVZ ist ja ein großer Sprung.

Vlt. kann man dann gleich mal ein zeitgemäßes Tut mit HTTP2 und Multiple PHP-Version bringen.

Danke

 

Configuring MailmanConfiguring DovecotCreating new DHParams file, this takes several minutes. Do not interrupt the script.Configuring SpamassassinConfiguring Amavisd[INFO] service Rspamd not detectedConfiguring GetmailConfiguring JailkitConfiguring PureftpdConfiguring BINDConfiguring ApacheConfiguring vlogger[INFO] service OpenVZ not detectedConfiguring Ubuntu Firewall[INFO] service Metronome XMPP Server not detectedConfiguring Fail2banConfiguring Apps vhostInstalling ISPConfig

By: spazio

Hi,

Out of the box the phpmyadmin section wasn't working for me on debian buster 10! I had to move the config file

config.inc.php

From where it was in the docs: Here is the command:

Create a new config file for PHPMyaAdmin based on the provided sample file:

cp /usr/share/phpmyadmin/config.sample.inc.php  /usr/share/phpmyadmin/config.inc.php

To /etc/phpmyadmin/config.inc.php

Then the gui came up!

Any comments on where the debian buster 10 the phpmyadmin config file config.inc.php is supposed to be?

 

By: VINCENT

Hello, 

Does the Let's Encript autoinstall on the domain (check box option in ISPconfig) need to have the DNS Server of the domain on this same server ?

Because I left the DNS configuration on the DNS server of my registrar.Should we add a field in DNS field ? 

Maybe ? maybe not ? So in fact... The problem is : I move my Wordpress on my new VPS with ISP config French install and My Wordpress site leave me the famous "blank page"…

Error.log : PHP Fatal error:  require_once(): Failed opening required '/var/www/clients/client0/web2/web/wp-config.php' (include_path='.:/usr/share/php') in /var/www/clients/client0/web2/web/wp-load.php on line 37

By: till

No. And the error you posted is not related to SSL at all. The WordPress file /var/www/clients/client0/web2/web/wp-config.php is missing.

By: markelino

An issue with OVA - not sure of concern. Shall we change manually to /bin/bash?

Step 6 mentions it should be /bin/bash whereas in OVA image its 

# ls -lqa sh

lrwxrwxrwx 1 root root 4 Jun 19  2019 sh -> dash

By: Hugh

I have some really low traffic sites that I'd like to host and manage.  Would this tutorial work on a Raspberry Pi 4 (4GB) running Raspbian?

By: Thomas

I love these guides. I have used them many times. never had any problems.

however, Debian 10 gives me some headaches.

in the file /etc/mysql/debian.cnf  i have the correct root password for MariaDB.

but i keep getting the error ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES).

I have reinstalled and tried again a total of 4 times now. I can't figure this one out.

also, it is kind of irritating that the path in not including sbin so we get error

dpkg-reconfigure: command not found

and we have to "export PATH=$PATH:/usr/sbin" I know it is not your fault but a hint in the text would be nice ;-).

 

anyways  any idea how to proceed with the mariaDB error ?   i cant figure it out.   and no  it is not the wrong password in the file.

Greets

Thomas

By: Thomas

So i tried again.

 

did everything the same way again exept the "#" in the end of the mysql/MarisDB root password, and it worked.

 

Please someone explain ??

By: djbill

Thanks for the guide.

By: Karim Salem

Hello Till,

I succeded in the installation thanks to your perfect manual on a raspberry pi (2).[2nd attempt]

However the admin/admin credentials for ISPCONFIG are not working. I get the wrong username/password error.

Is there some way to reset the password?

regards

karim

By: till

The password is not 'admin', the installer showed you the generated password at the end of the installation. You can reset the password like this: https://www.faqforge.com/linux/controlpanels/ispconfig3/how-to-reset-the-administrator-password-in-ispconfig-3/

By: unknoweb

Hi,

thx for tutorial but where is the virtual machine link ?

By: till

In the navigation bar at the right side of the page, near the top. There is a big red download icon and below that icon, there is the download link. If you don't see the navigation bar at the right, then check if you have an ad blocker enabled, some of them remove parts of the nav bar.

By: Dewayne

First of all thanks for the perfect server guide.

I have a hosted VPS with a company and my hostname is viper.vip-xxx.com and IP 181.214.xxx.xx. I have followed the guide fully but I have a problem with mail and mailman. When i type in the address http://viper.vip-xxx.com/cgi-bin/mailman/admin/ I get error message cant find server. When I try the IP address I get a Error 404 - not found. Can you help me with this issue.

Thank you for your help

 

By: Klemens

Trying to download the PHPMyAdmin sources (wget https://files.phpmyadmin.net/phpMyAdmin/4.9.0.1/phpMyAdmin-4.9.0.1-all-languages.tar.gz), I get the following response:

--2020-04-23 07:31:54-- https://files.phpmyadmin.net/phpMyAdmin/4.9.0.1/phpMyAdmin-4.9.0.1-all-languages.tar.gz Resolving files.phpmyadmin.net (files.phpmyadmin.net)... 185.180.13.16 Connecting to files.phpmyadmin.net (files.phpmyadmin.net)|185.180.13.16|:443... failed: No route to host.

Please advise. Thank you.

By: Elenora

Hi I have followed this guide and everything seems to be working.

I installed all the components except: Postfix, Dovecot, Amavisd-new, SpamAssassin, and ClamAV, Mailman, Webalizer and AWStats, Jailkit, fail2ban and UFW Firewall, RoundCube.In addition I put Postgresql12 + php7.3-pgsql + postgis + pgadmin4 and Apache Tomcat 9, because I need to work with geographic data.I pointed two domains to the server. When Apache restarts everything seems to be working fine, but after a short time the sites open very slowly or don't open. I haven't seen any errors on apache's error.log. All services are active.

Meanwhile, thank you for your guide.

By: rafal

RoundCube without https ??

By: Raphael

Hi,

I've tried the installation and everithing work fine except that I did setup a password in the Alias by mistake

 

Please enter the following 'extra' attributesto be sent with your certificate requestA challenge password []: <-- Hit EnterAn optional company name []: <-- Hit Enter

The ispconfig admin works but the browser shows the site is not secured.

How can I resolve that? 

By: Mark

Hi, thanks for the brilliant guide. If we're installing on a server with multiple mount points, could you confirm which need the quotas in fstab? It looks like your guide was based on a single partition server. Are the quotas needed in /home or /var?

By: nicolas38

Hello,I used this tutorial several times on an OVH dedicated server.For 2 days, the installation of the ssl in ISPCONFIG no longer works.There is no error in the apache log file and not in the Let's Encrypt log file.I do not understand this malfunction.Thanks for help

By: Gilbert

Great thanks for your job to help us. Is there a method to migrate 'a perfect server' from Debian 9 to Debian 10 - ISPConfig - Apache .... By keeping the sites and the data but reinstalling everything? Thank you Gilbert

By: till

The steps to upgrade to Debian 10 are:

 

1) Do a Debian dist upgrade to upgrade the OS from Debian 9 to 10.

2) Go trough the Debian 10 perfect server guide and run the install commands, this will install missing packages.

3) Do an ISPConfig update with 'reconfigure services = yes'.

4) Adjust the PHP settings and paths in ISPConfig under System > Server config to match the ones from Debian 10.

By: ???????

Hi, I have already follow all the steps, and it was perfect worked. But I met an issue when I turn off my ISPconfig server and start again, it seem the service failed such posifx , bind9 and apache (meant that all services were inactive) .etc. Any advise is well-received. Thank in advance.

Best,

 

By: Ben

Wow, what a breeze! One single run-through, amazing! Just one bump in the road, in step 19 I had to "-u root -p" to 

echo "CREATE DATABASE roundcube;" | mysql --defaults-file=/etc/mysql/debian.cnf

By: Marek

Super tutorial!

I don't want to install ISPConfig but I want to be able to send and receive mail. How can you add users to RoundCube for example '[email protected]' with the password 'my_secret_password'.

Which packages do I need to install if I will not use ISPConfig?

I would be very grateful for your help.

Yours sincerely

Marek

By: till

This will not work without ISPConfig as ispconfig is the part that sets up the whole mail server config and database and mailboxes etc.

By: gps-au

Intersting...Today I did a new image of this.. Netstat didn't work... Then realised we never installed net-tools ??I cross-check your minimal instructions and it was there, but not here ??

By: Luis Francisco Ludovico

H!

I am a happy server administrator who has historically configured used ISPConfig with no problems.

For 2 years now, I have been implementing different servers through an Ubuntu 18.04 server and multiple containers using LXD / LXC.

So currently I have multiple containers running Ubuntu 16.04, Ubuntu 18.04 and Debian 8 following the instructions "THE PERFECT SERVER".

 

The current problem.

I have been trying to configure a container with Debian 10 with "Apache" for a week and when executing the documentation step by step, the only problem I had was with the MariaDB service, which forced me to configure the execution of the container with the parameter: security.nesting: "true "

Now once the configuration is finished, I can not authenticate an FTP user, both with Filezilla and with other clients, from Windows 10 or Ubuntu 20.04 as a desktop client.

To eliminate doubts, I made the same configuration on a virtualized machine with Virtualbox on my Laptop and the FTP connection worked wonders.

Before writing this comment, perform multiple searches on Google without getting information to guide me with a possible solution.

Just a clarification: on the Virtualbox machine, I had to execute the command "su -" as it appears in the step-by-step instructions. In a container installation, the entire installation is done with the root user and "su -" generates a "mesg: ttyname failed: No such device" error

Any help or guide that allows me to solve this problem I will be very grateful.

Thanks in Advance!

Luis Ludovico

By: Fenna

Thx for this guide (for me the 4th itteration of the perfect server). All worked fine, although i installed Mysql instead of Mariadb because of application requirements

Fenna

By: Sam Gaw

I followed the tutorial to the letter and everything is working perfectly. However could you tell why everytime I try to do anything like add a user, a site or a DNS record. I can see the CPU shoot to 100% on a single core. I can see it is /usr/bin/mysqld that is using this single core. Is there a config file I need to edit to get mysqld to use more than the single core?

Many thanks for the tutorial.

By: Jorge

I tried following the tutorial to the letter but have been unable to install. I will try for the 3rd time in a few minutes.

Would it be possible for you to include some extra steps so we can test if the recent changes worked well? It will help me narrow down where the problem could be. For exemple: im able to use ip address and can see the "apache2 debian default page", so i know apache2 installed correctly, but i cant see it with the domain, even though i know the domain is pointing well towards the server. Having something like this in every step would be worth gold.

By: till

@Jorge: It's unlikely that you have an installation problem, so a reinstall won't help in your case. Make a post in the ispconfig forum here at howtoforge instead, describe your problem and which exacts settings you have chosen for that website so we can help you to correct the settings.

By: usmir

Installation went ok, installed also multiple PHP version. Issue I have that old thread ispconfig not write anything to disk, not creating client directory, not writng debug log. Follow this howto https://www.howtoforge.com/community/threads/please-read-before-posting.58408/ without success. it's download htf-common-issues.php but no reports. Bought manual, did not help out. Any hint what else to try? Best regards

By: till

@usmir: make a post in the ISPConfig installation forum https://www.howtoforge.com/community/forums/installation-configuration.27/ and describe your problem there and post the result of the report script.

By: Norbert

Hello,

This tutorial is available as ready to use virtual machine image in ovf/ova format that is compatible with VMWare and Virtualbox...

Where can I download this virtual machine?

 

By: till

The download link is in the navigation bar on the right side of the page, near the top, below the big red download icon.

By: Sebastian

Hello!

 

I have a problem with receiving and sending email. I did the installation twice and the problem occurs. I am not getting any information about the problem in the logs. Domains set up correctly

By: till

@Sebastian: Please make a post in the ISPConfig support forum here at howtoforge.com and describe your problem in detail, so we can help you to debug the server config issue.

By: rudy de haas

hi:

I'm upgrading to debian 10 on a new machine and followed your instructions to the letter (I'm lazy, and your instructions were great-- many thanks!) except for not installing ispconfig.

However, roundcube reports an smtp access error. I have long used thunderbird and it reports: "Sending of the message failed. The certificate is not trusted because it is self-signed. The configuration related to mail.wadocan.net must be corrected."

The "fixes" found on the web relate to older versions of thunderbird and don't fit the current release.

Any ideas?

 

By: till

@rudy: Please make a post in the ISPConfig support forum here at howtoforge.com and describe your problem in detail, so we can help you to debug the server config issue.

By: rudydehaas

Til:

I started an acct on the forums and tried to post the question there - but it refused on the grounds that my question has an embedded link. It doesn't - but it does have refs to domains etc so understandable, but still wrong. Any chance you can move it for me?

---text--

https://www.howtoforge.com/community/threads/email-problem-perfect-server-debian-10.85312/

By: Phillipp

Hey Till,

thanks for the work, im currently running ispconfig 3.0 on a wheezy debian. I plan to install a brand new buster, and install a fresh copy of ispconfig and then purchase the migration tool to move my data to this new server.

A few questions:

1) does the migration tool alter dns-zone A records if the A records is the same IP as the source machine?

2) will this tutorial work with ispconfig 3.2 ? or should I install 3.1 first and then follow the tutorial to update to 3.2?

3) Reason im switching is, i want to switch to rspamd from amavisd because i have domain names which are over 20 years old and im getting way too much mail spam, and im hoping to get this under control with rspamd and im affraid to run any updates on my debian wheezy.

Thanks in advance!

By: till

Hello Phillipp, you can install ISPConfig 3.2 right away using this guide. I'll update the text in the next days to reflect that its compatible with 3.1 and 3.2. The migration Tool asks if it shall alter IP addresses or not, so you have the choice.

By: soap12

everything is installed except apache does not start i have an error. since it is impossible to connect me to my pages with my ip address like 10.1.1.236 before i saw the its works page now nothing. on the return page it is written: Here are some advices: Check connection Check proxy and firewall

By: erico

echo "create database roundcube;"| mysql .... i have an error that says cannot create database root password

 

           

By: Dr_Schnippel

Your system is not supported by certbot-auto anymore for Debian 10

By: martin

Hi Just reinstalling Debian buster along with ispconfig 3 however I came across a problem with the not so perfect server guide... Certbot-auto is no longer supported on this system so certbot cannot be installed. 

You may need to revisit this install can come up with a solution the website https://certbot.eff.org/lets-encrypt is suggesting we install snap is this correct will this work with Debian buster install, if so could you please update the guide to reflect this.

 

By: martin

Thank you for the update

-- update 2020-12-03 --

ISPConfig is using acme.sh now as Let's Encrypt client. acme.sh is downloaded and installed by ISPConfig automatically, so there is no need to install certbot anymore.

By: Xav

Hi Till,

I think there is a problem with acme.sh's automatic download on the last update of ispconfig installer: I did a clean fresh install, at the end I had "didn't find certbot or acme.sh, switching to self signed certificate" (sorry can't find the exact sentence in the logs).

Did you forget to add "curl https://get.acme.sh | sh" at some point or did I make a mistake somewhere?

Have a good day,

 

Xavier

By: Edward

I met this problem today also.

Not sure that it is will solve complete, but work for me:

1. install Certbot #apt-get install certbot

2. certbot auth --text --agree-tos --authenticator webroot --server https://acme-v02.api.letsencrypt.org/directory --rsa-key-size 4096 --email postmaster@`hostname -d` --domains `hostname -f` --webroot-path /usr/local/ispconfig/interface/acme

3. dt=`date '+%Y%m%d%H%M%S'`

4. cd /usr/local/ispconfig/interface/ssl/

5. for ext in csr key.secure key crt; do if [ -f ispserver.$ext ]; then mv ispserver.$ext ispserver.$ext.old.$dt; fi; done

6. ln -s /etc/letsencrypt/live/`hostname -f`/privkey.pem ispserver.key

7. ln -s /etc/letsencrypt/live/`hostname -f`/fullchain.pem ispserver.crt

By: Kevin

Howdy, Updated 2020-12-03, so it isn't abandoned..

I am curious why we are not installing newer versions of some of these packages..

Jailkit 2.21 was released 2019-9-29.

phpMyAdmin 4.9.0 is old.. 5.0.4 has been released.. 4.9.7 is long-term support

Also consider using the built-in timesyncd, rather than installing NTP.. Saves a tiny bit of resources and less added packages.

Overall, I just followed this guide, there is no Let's Encrypt certificate, and missing where to activate it.

By: Michel

Hello,

curl https://get.acme.sh | sh 

gives "command not found", did i do something wrong?

By: Levent

thanks.

By: Arne

Moin, i did this tutorial twice. At the point where Letsencrypt gets involved, i get the following error:

Do you want a secure (SSL) connection to the ISPConfig web interface (y,n) [y]:

Checking / creating certificate for xxx.xxxxxx.xx

Using certificate path /etc/letsencrypt/live/xxx.xxxxxx.xx

Using apache for certificate validation

Issuing certificate seems to have succeeded but /usr/local/ispconfig/interface/ssl/ispserver.crt seems to be missing.

Falling back to self-signed. Generating RSA private key, 4096 bit long modulus (2 primes)

 

The hostname is configured properly and the IP is pointing to the right machine. I can not find the problem. Even when i go further, letsenrypt is not able to issue any certificate. To me there seems to be a problem with the acme.sh

By: nikolaosp

The same problem occurs with me as well.  I have already reformatted three times and still cannot get it to work.

By: config.zerosub.de

@nikolaosp: Did you find a solution to this problem?

By: berliner

Just run into this myself and was able to fix this by sourcing ~/.bashrc after installing acme.sh:

curl https://get.acme.sh | sh -ssource ~/.bashrc

By: levien

Dkim generator in ispconfig 3.2.2 generates double quotes in the public key.

These are not allowed at our isp, they see them as end of line.....

Is this a little bug?

regards Levien

By: till

@Levien: That's no bug, the double quotes are required for long keys for most DNS systems. That your ISP does not support it is an issue of your ISP and not ISPConfig. Using double quotes is perfectly fine, if your ISP lacks support for this common syntax, then you'll have to remove them before you paste the key.

By: Sebastian

Hi everyone. I have a problem to use the Let's encrypt certificate for postfix, or anything else. My Website is using the certificate as it should, I've also created a Subdomain, which was added to the certificate, SSL checker is working for both (domain and subdomain.) Where are the Let's encrypt certificates located? The folder /etc/letsencrypt/ does not exists.

Any ideas?

Thank you!

Sebastian

By: netinial

Hi, 

1 - *20.2 Download a pre-release version of the next 3.1 release* part should be removed. I compare files with beyond compare there is nothing new.Probably has been copied from old installation docs.

2 - PhpMyAdmin part has to be updated to latest release as (currently belong to 2019-06-04)

wget https://files.phpmyadmin.net/phpMyAdmin/5.0.4/phpMyAdmin-5.0.4-all-languages.tar.gz

tar xfz phpMyAdmin-5.0.4-all-languages.tar.gz

mv phpMyAdmin-5.0.4-all-languages/* /usr/share/phpmyadmin/

rm phpMyAdmin-5.0.4-all-languages.tar.gz

rm -rf phpMyAdmin-5.0.4-all-languages

Except of those small things.Thank you for great explanation.

By: netinial

Additional Note : 1 - There is no info regarding following two questions. Symlink ISPConfig SSL certs to Postfix? (y,n) [y]: ??? Symlink ISPConfig SSL certs to Pure-FTPd? Creating dhparam file may take some time. (y,n) [y]: ??? 2 - Howtoforge.com forum comment input loosing, "style and wysiwyg editor" after sending comment for manual approval. 3 - We are using ISPConfig from 2010. ISPConfig very successfull product except of this installation progress which makes it very hard for beginners. Thats why it's market share is not increasing fast. There should be definetely a bash script to automate all of above installation progress. Better to add "Installation mode (standard,expert, *AUTO*)" * This bash script should make all process including providing passwords.(System should not ask for passwords) Users may take note those automatically provided passwords. (They may change later.) ****Everything should be automatically.****

By: till

There are various fully automated ISPConfig installers available for a long time, so if you don't want to use the manual installation procedure, then you don't have to. E.g.: https://git.ispconfig.org/ispconfig/ispconfig-autoinstaller

 

The comment editor is working fine here, tested on all major browsers, maybe you use some kind or ad or script blocker that causes this behavior on your desktop.

 

Regarding installer questions, just choose the defaults that the installer suggests.

By: Mike

Step 5 add back ports to your repo, mine look like this:

deb http://deb.debian.org/debian/ buster main contrib non-freedeb-src http://deb.debian.org/debian/ buster main contrib non-freedeb http://security.debian.org/debian-security buster/updates main contrib non-$deb-src http://security.debian.org/debian-security buster/updates main contrib $deb http://deb.debian.org/debian buster-backports main contrib non-free# buster-updates, previously known as 'volatile'deb http://deb.debian.org/debian/ buster-updates main contrib non-freedeb-src http://deb.debian.org/debian/ buster-updates main contrib non-free

Step 16 no compile needed use- apt install jailkit

Step 18 install from backports

apt-get install phpmyadmin -t buster-backports

 

By: Taleman

Jailkit has now version 2.21 (released 29-9-2019)

I assume that version can be used instead the 2.20 used in the guide?

By: RenatoS

I installed everything but changed the MySQL database name with an additional suffix but it installed completely.

 

My question however is after install, since I do not have a dns server yet and my domain name is defined with an external provider dotyou.org. I am able to login to ISPConfig web interface on a box internally. On an external host, it cannot see my server. Can you point me to the documentation? I paid for a copy (Very cheap for the content. Thanks.) of the manual but it is not easy to navigate a digital copy.

 

Or maybe an online thread/documentation I can refer.

 

Thanks.

 

Renato

By: schmidtedv

Hi Till,

I'm not shure why, but (as mentioned by some others) when I install letsencrypt (as root) with

curl https://get.acme.sh | sh -s

then it will get installed under /root/.acme.sh without reference or link under /etc/letsencrypt. acme.sh lists this directory as default

DEFAULT_INSTALL_HOME="$HOME/.$PROJECT_NAME"

so, that might be the problem me and some others are dealing with when activating the SSL-Option during install.

Any chance or idea, how to correct this? I guess, acme.sh has to run with some extra parameter to correct this behavior in your HowTo.

 

Flo

 

By: till

That's ok and as it should be. The /etc/letsencrypt folder is used by certbot only, not by acme.sh and ISPConfig knows where to find certbot, its certs, and acme.sh and it's certs. So nothing wrong with this tutorial nor with acme.sh and it's install folders.

 

There is an issue in ISPConfig 3.2.2 installer though which ahs been fixed in the meantime, just run:

 

ispconfig_update.sh --force

 

after your initial install and let the updater recreate the cert in case the cert creation failed at the initial install.

By: schmidtedv

Thanks Till,

worked this time! As I can see, there are no symlinks under /usr/local/ispconfig/interface/ssl anymore (as it was done in older tutorials with certbot)...so, in the future ISPConfig takes care by itself to copy them over after the certificates gets renewed?

By: till

Yes, ISPConfig takes care of that if acme.sh is used. For setups using certbot, there are still symlinks used.

By: Chico

For all who stuck at mysql -u root -p with ERROR 1045 (28000) :

check if your password in mysql_secure_installation is the same as in /etc/mysql/debian.cnf

By: Nils

Hi, thanks for this great tutorial. I successfully reach the end of the tutorial without any error. But I have a problem !

ISP Config URL is the only one that works : https://mysub.mydomain.com:8080

Other URLs don't work :

- https://mysub.mydomain.com

- https://mysub.mydomain.com/webmail

- ...

I always get the same error : SSL_ERROR_RX_RECORD_TOO_LONG

At the end of 19th chapter, the URL http://mysub.mydomain.com/webmail was working but now it redirect me to https://mysub.mydomain.com/webmail and it doesn't work.

Could you help me with this issue ?

Thanks

By: atmomin2003

For me, mydomain.com/webmail started working after I added the website mydomail.com on ISPconfig.

By: darkx93

Hi everyone :) 

Thanks for this great install manual BUT i have huge problem. I install ISP Config like in instruction but Let's encrypt SSL not work for me :( Server of course get SSL for Admin on :8080 on installation. But after add domains ( OR subdomains ) & check Let's Encrypt i can see *.key, *.csr *.cer files under /root/acme.sh/MYDOMAIN. But never symlinks this certs to /var/www/client/client1/MYDOMAIN/ssl/. ALSO ISP Config not create VIRTUALHOST for :443 in /etc/apache2/sites-available/MYDOMAIN.conf :((( SOMEONE CAN HELP ME ?

By: till

Please post your questions in the forum: https://www.howtoforge.com/community/#ispconfig-3.23

There you'll find also the Let's encrypt FAQ to solve such problems: https://www.howtoforge.com/community/threads/lets-encrypt-error-faq.74179/

By: Oliver Servay

I have the same problem.

Have you found a solution for it?

By: Oliver Servay

Hello i have the same Problem

By: Manuel

Hi all,I have the same problem "check Let's Encrypt i can see *.key, *.csr *.cer files under /root/acme.sh/MYDOMAIN. But never symlinks this certs to /var/www/client/client1/MYDOMAIN/ssl/. ALSO ISP Config not create VIRTUALHOST for :443 in /etc/apache2/sites-available/MYDOMAIN.conf", does anyone found a way to resolve this problem?

By: till

That's perfectly fine and exactly as it should be as acme.sh is not using symlinks. You mix up old systems with certbot here with new systems that use acme.sh. Certbot was using symlinks, acme.sh is copying the cert instead. So there should not be a symlink on a recent ISPconfig system in /var/www/client/client1/MYDOMAIN/ssl/. Also ispconfig does not use files named mydomain.conf. The files of the vhosts end with the file extension .vhost. If you have any issues with let's encrypt activation, see let#s encrypt FAQ in the forum: https://www.howtoforge.com/community/threads/lets-encrypt-error-faq.74179/

By: Dragos

Hello Till. Thank you for you huge work! I got the same issue with creating the database for RoundCube:

Access denied for user 'root'@'localhost' (using password: YES)

The solution to this is to enclose in "" the user (root) and the password in /etc/mysql/debian.cnf

Maybe you should consider adding this remark in your tutorial.

Regards.

By: JS

Just thanks.

By: Sergio

Thanks too much for you Guide.

How can add mod_pagespeed ? thanks.

By: lonerunner

 A question, i have 2 disks in raid 1, by default i have fstab like this

/boot ext3 defaults 0 0

/ ext4 defaults 0 0 

Should i add the 

errors=remount-ro,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0 1

to both disks ?

 

By: till

Just add quota to the partition which contains /var/www, in your case, add quota to the / partition only.

By: d1nd141

Hello,Some time ago i installed ispconfig latest (3.2.5). I did not install at that time bind. Now i need to add bind. So i installed the packages. When i add a zone, i receive some mails with error: WARNING - Falsche Anfrage / Wrong QuerySQL-Query = INSERT INTO named.records (zone, ttl, type, host, data, ispconfig_id) VALUES ('xxx.xxx', '3600', 'A', 'www', 'xxx.xxx.xxx.xxx', '2') -> 1142 (INSERT command denied to user 'ispconfig'@'localhost' for table 'records')The table named.records (and some others) don't exist. So i restarted the installer: Reconfigure Services? (yes,no,selected) [yes]: Configuring PostfixConfiguring DovecotConfiguring SpamassassinConfiguring AmavisdConfiguring RspamdConfiguring Getmail Configuring BINDConfiguring PureftpdConfiguring nginxConfiguring Apps vhostConfiguring Jailkit Configuring Ubuntu FirewallConfiguring DatabaseUpdating ISPConfig But the tables are still not created. Anything else i can do?Thanks

By: till

ISPConfig does not use such a table for named configuration, ISPConfig uses files for the zones. Seems as if you ou manually activated an old unmaintained BIND SQL plugin instead of the normal BIND plugin, the bind_sql that is not needed and not used to configure BIND anymore. Disable that plugin which you seem to have manually activated to fix your issue. If you need further help, please post in the forum.

By: d1nd141

Afaik i did not install any additional plugins. I checked in /usr/local/ispconfig/interface/lib/pluginsI have 3 files:dns_dns_soa_plugin.inc.phpdns_dns_slave_plugin.inc.phpsystem_config_dns_ca_plugin.inc.php Don't know where they came from. Included in the ispconfig package?

But on a second server, I have the same files. Is it enough to delete these files?Thanks

By: till

I have not said that you installed plugins, I said that you manually enabled plugins that are normally not enabled as they are not required to run a BIND server. The symlink that you manually created to enabled the bind sql plugin is in the folder /usr/local/ispconfig/server/plugins-enabled/ and this symlink must be removed again. Only the normal bind plugin should be enabled there and not the bind_sql plugin.

By: gregory

hello, the tutorial don't work in debian 11

By: till

This guide is not made for or meant to be used on Debian 11, see title which says "Debian 10". Use this guide for Debian 11 instead: https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/

By: gregory

hello, when installing php in debian 11 I have error and don't install php

By: till

That's because Debian 11 uses a different PHP version.

By: gregory

hello, I installing ispconfig3 in debian 11 and don't workecho "update mysql.user set plugin = 'mysql_native_password' where user='root';" | mysql -u root apt-get -y install apache2 apache2-doc apache2-utils libapache2-mod-php php7.3 php7.3-common php7.3-gd php7.3-mysql php7.3-imap php7.3-cli php7.3-cgi libapache2-mod-fcgid apache2-suexec-pristine php-pear mcrypt  imagemagick libruby libapache2-mod-python php7.3-curl php7.3-intl php7.3-pspell php7.3-recode php7.3-sqlite3 php7.3-tidy php7.3-xmlrpc php7.3-xsl memcached php-memcache php-imagick php-gettext php7.3-zip php7.3-mbstring memcached libapache2-mod-passenger php7.3-soap php7.3-fpm php7.3-opcache php-apcu libapache2-reload-perl

By: till

I guess that's to be expected when you use a guide that explicitly states that it's for Debian 10 only. This guide is NOT for Debian 11, read the title "The Perfect Server - Debian 10 (Buster) with Apache, BIND, Dovecot, PureFTPD and ISPConfig 3.2". Using a tutorial for the wrong operating system must fail. I posted above already which guide to use for Debian 11.

By: gregory

thanks, but and...

By: Unknoweb

Hi, Where is the link of the virtual machine ??

By: till

In the menu at the right side of the page, near the top. There is a big red download icon.

By: Unknoweb

I found but not free :(  thx for your tuto

By: azurenvi

Hello Do you know if your install is ok with upgrade to debian 11 like this link https://www.howtoforge.com/how-to-upgrade-from-debian-10-to-debian-11/ regards

By: Unknoweb

With the VM is simple and fast. I want new web server but the DL is not free so I must install all packages with new Debian 11. it's not serious lol

By: Unknoweb

well, I installed debian 11 and followed the tutorial, everything went well. But I had to change some packages for debian 11. I have 2 concerns, webanalizer no longer exists on debian 11 and roundcube what is the administrator ID.

By: alemarengo

Hi. Great guide. I used it to install 3 website on the same machine. The only thing I can't understand is why I can't receive emails... any help?

By: till

You can get help in the ISPConfig community forum: https://www.howtoforge.com/community/#ispconfig-3.23

By: Kordian

Is there a way to migrate the "perfect server" from Debian 10 to Debian 11 - ISPConfig - Apache .... Keeping sites and data but reinstalling everything? Thank you Kordian

By: Enrique

Hello Goodnight.

First of all thank you for this well explained tutorial. I have a question. I have followed the tutorial and I have not obtained any errors, everything has turned out correct. But I find that when I try to enter http://mydomain/webmail I get the 403 forbidden error with the following message: You don't have permission to access this resource.

But I'm new to all this and I don't know how to fix it.

If someone could lend me a hand, I'd be grateful.

 

Thanks a lot. Greetings

By: Ed

Hi,

 

I have been using ISPConfig3 for years, and have bought the manual more than once :-)

 

I just made a fresh install on buster with postfix and dovecot & apache2, and ispconfig's creation of mailboxes is not working - it created one mailbox (perhaps this was created elsewhere in the perfect server guide), and I have checked postfix and dovecot conf files and they are similar to working server setups which followed the same tutorial. I believe there has been a recent dovecot update. How can I troubleshoot this?

 

The mailboxes are in /var/vmail/domain.com/  - and they look good.

 

When I try to send email to the non-working mailboxes the sending server states no mailbox, or invalid mailbox or mailbox unavailable!  Any idea on what is going on here. I did this install today, and followed the instructions perfectly except - I did not install memcahced, php-memcache or memcache.

By: till

Please post support questions in the support forum here: https://www.howtoforge.com/community/forums/installation-configuration.27/

By: Ed

Hi,

 

I used this form too soon a few hours ago - I had a problem with ispconfig latest creating mailboxes - and sending servers were stating that the mailbox didn't exist, or was invalid or unreachable 

 

I think the problem was related to divergent dns for the mail domain that was having the problem. It appears to have been resolved.

 

Best,

Ed

By: Thomas

Hi

I get 

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

 

and yes i have checked   /etc/mysql/debian.cnf

i can login with the password set in debian.cnf when i go  mysql -u root -p

is the problem special characters like #% ??

By: aldogiga

First of all I must thank you very much for ISPCOnfig and all the articles of Howtoforge.

I'm using ISPConfig since many time and I find it very usefull together with all your suggestions.

However I have a question.

I have configured a server managed by ISPConfig, with variuos sites (WEB, Mail, SSH and FTP).

Since some time I also adopted the Let's Encrypt certificates for the sites as well as for the ISPConfig

However, for the services: mail, ftp and SSH; I get the same security certificate (i.e. the certificate of the server).

Instead for the WEB, each site has its own certificate.

Is that normal or is it a mine misconfiguration?

Best regards

Aldo

By: till

Yes, that's intended. All other services use the hostname and therefore also the certificate of the hostname when you connect to them. You just have to take care to use the correct connection settings in mail and FTP clients, which is always the hostname of the server and not a hosted website.

By: aldogiga

OK, that's what I configured for the users: all the services are provided by the server hostname and all is working correctly.

 

Many thanks.

By: Pierre

Hello,

First, thanks for your work.

Every step are ok without errors and i really followed them step by step. At the end, during install process of ispconfig, i got this :

 

PHP Warning:  chown(): Unable to find uid for ispconfig in /tmp/ispconfig3_install/install/lib/installer_base.lib.php on line 3554

PHP Warning:  chgrp(): Unable to find gid for ispconfig in /tmp/ispconfig3_install/install/lib/installer_base.lib.php on line 3555

chown: invalid user: ‘ispconfig:ispconfig’

Configuring DBServer

Installing ISPConfig crontab

Detect IP addresses

Restarting services ...

Installation completed.

--

Then when i try to connect, i get :

Not accessible website

ERR_CONNECTION_REFUSED

 

I have OVH and a standard dedicated server. Thanks for your help.

P.

By: Pierre

And if you ask me about iptables :

sudo iptables -L -v -n                                                                                        Chain INPUT (policy ACCEPT 0 packets, 0 bytes)

 pkts bytes target     prot opt in     out     source               destination

  149 12250 f2b-postfix-sasl  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            multiport dports 25

36286   37M f2b-sshd   tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            multiport dports 22

 

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)

 pkts bytes target     prot opt in     out     source               destination

 

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)

 pkts bytes target     prot opt in     out     source               destination

 

Chain f2b-sshd (1 references)

 pkts bytes target     prot opt in     out     source               destination

   18  1232 REJECT     all  --  *      *       115.240.206.206      0.0.0.0/0            reject-with icmp-port-unreachable

   20  1580 REJECT     all  --  *      *       61.177.173.61        0.0.0.0/0            reject-with icmp-port-unreachable

30671   37M RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0

 

Chain f2b-postfix-sasl (1 references)

 pkts bytes target     prot opt in     out     source               destination

    0     0 REJECT     all  --  *      *       212.70.149.72        0.0.0.0/0            reject-with icmp-port-unreachable

  149 12250 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0

 

By: Niubbo75

Hello, I've followed this tutorial step by step but I can't not access mailman, roundcube and phpmyadmin via https, via http (only using IP because if I try to go via FQDN it will be automatically redirect to https) I can use them. Any idea on what could be the issue?

By: Sami

Beautiful howto, you held me like a children, I followed every step blindfolded  :)

But i still have a question :) 

Any domain pointing with 8080 it will bring ispconfig page without cert

can t we forbid any other domain to open 8080 that the one in config ?

By: Sami

There is a weird ug following the installation.

All working fine, everythng.

Setting up the domain name to rule it make mailman disappear 

If you delete it again, it works 

Have anyone saw this ?

 

By: Haluk Yildirim

Hi Till,

Thanks for the tutorial,

I am having problem with copy / paste of the commands while using mozilla firefox due to space / non breakeing space characters update in mozilla.

https://www.reddit.com/r/firefox/comments/yxmrt9/comment/iwrcf8z/?utm_source=share&utm_medium=web2x&context=3

"Since version 107 (released a few days ago), Firefox indeed uses an heuristic to remove only editor-generated non-breaking spaces. This allow to preserve the non-breaking space inserted on purpose by the text author."

it is not a big deal but, be a good idea to go thru and clean up those spaces in the command snippets....

Thank you..

Haluk