Comments on The Perfect Server CentOS 7.3 with Apache, Postfix, Dovecot, Pure-FTPD, BIND and ISPConfig 3.1

This tutorial shows how to install ISPConfig 3.1 on a CentOS 7.3 (64Bit) server. ISPConfig 3 is a web hosting control panel that allows you to configure the following services through a web browser: Apache web server, Postfix mail server, MySQL, BIND nameserver, PureFTPd, SpamAssassin, ClamAV, Mailman, and many more.

28 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: MaxMan

How to change php PHP 5.4.16 on PHP 5.6 without crashing system?

By: DarioL

I use this procedure:

  # rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm  # yum install yum-plugin-replace  # yum replace php-common --replace-with=php56w-common  # service httpd restart

Take from here: https://webtatic.com/packages/php56/

Hope this help

Dario

By: MaxMan

Or how to install PHP 5.6 as additional PHP-FPM & FastCGI?

And how to install PHP 7 as additional PHP-FPM & FastCGI?

Please halp who know the answer.

By: Purexer

Thanks for the tuto. But it will be great if you add some notes (definition or what it do) on each tool

and a tuto of how to set your own dns on this server

By: carsten

The port 587 is not opened in postfix - /etc/postfix/master.cf :

https://kupschke.net/2011/01/23/smtp-submission-mit-postfix/

 

That was trouble to search, why the hack thunderbird is not working.

By: akoelah

systemctl start named.serviceJob for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.

help me please...

 

By: Gabriel Lobo-Blanco

All this information about the setup was great.  However, how do you install wordpress in such an environment?  Can you please shed some light?

 

All your time is appreciated.

 

Thanks.

By: till

That's really easy, login to ispconfig and create a website, then use the APS installer in ISPConfig to install WordPress. Or upload WordPress to the web directory that ISPConfig created by FTP.

By: LT

Love these guides, always 100% success on the first install attempt :)

By: BEF

Great tuto 

By: Luvelnet

Hi,

I had trouble enabling quota because the "grub.cfg" file on EFI servers is located elsewhere.

Solution:

1. For servers with EFI, the "grub.cfg" file is listed here: "/boot/efi/EFI/centos/grub.cfg".

2. Then, first run command "cp /boot/efi/EFI/centos/grub.cfg /boot/efi/EFI/centos/grub.cfg.orig".

2. Later, run command "grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg".

Enjoy!

By: Nicholas

Warning

If install quota

Don't use in rootflags=uquota,gquota or defaults,uquota,gquota

but -> quota,usrquota,grpquota

Quota don't start, end if change the grub lost your server :(

By: till

Might depend on the base server setup. The server here works fine with the settings from the tutorial.

By: maportillo

In filesystem xfs use command xfs_quota -x and then enable 

By: El informatico

How to fix Illegal list name: mailman@localhost

nano /etc/mailman/mm_cfg.py

DEFAULT_EMAIL_HOST = 'localhost'

DEFAULT_URL_HOST = 'localhost'

to

DEFAULT_EMAIL_HOST = 'myhost.net'

DEFAULT_URL_HOST = 'myhost.net'

 

Then create newlist again

/usr/lib/mailman/bin/newlist mailman

By: Cedric

hi,

Amavis don't want to restart after my domain and email are configured in ispconfig.

i am very novice, i don't understand why...

this is my log:

Jun 18 18:02:45 vps systemd: amavisd.service holdoff time over, scheduling restart. Jun 18 18:02:45 vps systemd: Starting Amavisd-new is an interface between MTA and content checkers.... Jun 18 18:02:45 vps amavisd: Error in config file "/etc/amavisd/amavisd.conf": Can't open PEM file /var/lib/amavis/dkim/mydomain.com.private: Permission non accordée at /usr/sbin/amavisd line 636. Jun 18 18:02:45 vps systemd: amavisd.service: control process exited, code=exited status=13 Jun 18 18:02:45 vps systemd: Failed to start Amavisd-new is an interface between MTA and content checkers.. Jun 18 18:02:45 vps systemd: Unit amavisd.service entered failed state. Jun 18 18:02:45 vps systemd: amavisd.service failed.

 

i would greatly appreciate any help.

By: till

The generation of the Dkim key must have failed. Please ask in the forum for help to debug why it failed.

By: Nicholas

I configured server on mymain domain example: domain.com in the panel no problem :D if i create a site with domain.com i have ssl error... how i solve this problem?

By: John

My web interface has ssl but the certificate is self signed, how can I get a ssl cert from lets encrypt for the web interface?

By: BlueCollar

 I had issues with the mod_python install. The sed onliner didn't work for me. Initializing git didn't work for me. This did and it competed without the fatal error.It was posted on another site on www.aboutmonitoring.com/2014/12/08/

tar zxfv mod_python-3.5.0.tg cd mod_python-3.5.0 ./configure -with-apxs=/usr/bin/apxs

Before “make” we will modify two files. There is more information at the end of the post in “References”.src/Makefile. Add the marked lines.

version.c: @MP_GIT_SHA=$$(git describe --always); \ echo > version.c ; \ echo "/* THIS FILE IS AUTO-GENERATED BY Makefile */" >> version.c ; \ echo "#include \"mp_version.h\"" >> version.c ; \ include/mod_python.h include/psp_flex.h include/psp_parser.h \ include/requestobject.h include/tableobject.h include/connobject.h \ include/finfoobject.h include/hlistobject.h include/mp_version.h \ include/_pspmodule.h include/psp_string.h include/serverobject.h \ include/util.h \ echo "const char * const mp_git_sha = \"$${MP_GIT_SHA}\";" >> version.c ; \

dist/version.sh. Coment / add the marked lines

#!/bin/sh MPV_PATH="`dirname $0`/../src/include/mp_version.h" MAJ=`awk '/MP_VERSION_MAJOR/ {print $3}' $MPV_PATH` MIN=`awk '/MP_VERSION_MINOR/ {print $3}' $MPV_PATH` PCH=`awk '/MP_VERSION_PATCH/ {print $3}' $MPV_PATH` #GIT=`git describe --always` #echo $MAJ.$MIN.$PCH-$GIT echo $MAJ.$MIN.$PCH-

By: Mark

Thanks this was very insightful and helpful...

By: Stiff Roy

PostFix problem:

I had sendmail. It was working well. I disabled it in order to use PostFix. But unfortunately, now I cannot send emails anymore from the server (the php forms, normal php as well as wordpress, of my server sends the email without any error but is never received in the mail box). How can I debug the issue? Please help.Thanks in advance,Stiff Roy

By: till

Please post in the forum if you need help, email errors are in the /var/log/maillog. Btw, ISPConfig does not even support sendmail. I really wonder how you were using ISPConfig with sendmail.

By: SCALEXO

You forgot to write to uncomment #CertFile at pure-ftpd.conf

By: Marvin

Thanks Till for this Tutorial! I recently tried to reconstruct the setup on CentOS 7.4 . Went so far so good... Until the moment where it comes to the first Login in ISPConfig 3.1 .

The login with "admin/admin" redirects directly back to the loginpage, no error message provided. However, there is one if the username / password is actual wrong.Not sure what can cause that, most likely a change in the OS or any of the programs messed something up. However, without error message i am kinda stuck and first research was not successful.

By: Pat

Did you ever find a resolution. I am experiencing same issue after fresh install?

By: Bladez

If mailman does not start run command

 /usr/lib/mailman/bin/newlist mailman  https://www.howtoforge.com/community/threads/error-when-installing-mailman-perfect-server-setup-centos-7.67730/

 

By: little correction

the line

 

Now we will install RoundCube in the browser at http://192.168.1.100/roundcubemail/installer

 

must be

Now we will install RoundCube in the browser at http://192.168.1.100/webmail/installer

 

is a little obvious but took a couple of minutes to find it