Comments on The Perfect Server – CentOS 7 (Apache2, Dovecot, ISPConfig 3)
The Perfect Server – CentOS 7 (Apache2, Dovecot, ISPConfig 3) This tutorial shows how to prepare a CentOS 7 x86_64 server for the installation of ISPConfig 3 and how to install ISPConfig 3. ISPConfig 3 is a webhosting 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.
71 Comment(s)
Comments
epel-release is currently 7-2
One can check this using a browser visiting
http://dl.fedoraproject.org/pub/epel/7/x86_64/e/
and searching for the file epel-release...
Yes, it is now latest EPEL is 7-2.
You can use the latest path for 7-2 as
http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
But EPEL keeps on updating so better you can use
yum install epel-release
It will install the latest version of EPEL.
Is currently 7-5
http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
Just use https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
You always have the latest version.
Hello,
very nice tutorial! I have clean setup of centos 7 and everythink is working fine, but I cannot get working roundcube calendar. I have installed roundcube 1.1.0 with plugin manager and calendar plugin (also with libgpl and tasklist). When I enable calendar and go in it, the web page is like scattered. Canot add new event through web page and thrugh Thunderbird it says "MODIFICATION_FAILED - Server replied with 405". Can you help me somehow pls?
Thanks for answerig!
need to start the mysql server
sudo yum -y install mariadb-server mariadbsudo systemctl start mariadb.servicesudo systemctl enable mariadb.service
then re run the mysql_secure_installation
To get amavisd to work edit the following file and reboot : Comment out the line below in the file named. /usr/lib/systemd/system/amavisd.service:
NoNewPrivileges=trueWhen I compile the source for suPHP with the ./configure --prefix=/usr/ --sysconfdir=/etc/ --with-apr=/usr/bin/apr-1-config --with-apache-user=apache --with-setid-mode=owner --with-logfile=/var/log/httpd/suphp_log
I get a warning APXS was not found, so mod_suphp will not be built!
I checked under the documentation for suPHP and I noticed that there is an extra line within the compile which states that there should be a prefix --with-apxs ??
I tried to add it into the compile (--with-apxs=/usr/sbin/apxs) statement but not sure where the Apache installation referencing the APXS is located
Any help greatly appreciated
Cheers
At part: 14 Install Amavisd-new, SpamAssassin And ClamAV
- two packages not available -> clamd & unrar?
clamd and unrar not found
Hello,I have a strange problem going on after installing ispconfig3 on centos 7.** All Emails are sent after 10 minutes after rebooting the server.
This is what I did and what happens:
1) I did a fresh install of centos 7.
2) I setup a few scripts to send an email notification about the server status. ---> one script is triggered at cron this way: @reboot root sh /usr/local/bin/reboot_report.sh
3) I followed the tutorial carefully and I installed all the services and software needed, up to roundcube, included.
At this point I rebooted the server and all emails are immediately sent regularly.I repeated this test many times and all email are immediately sent.
4) After installing ispconfig3 all emails are sent after 10 minutes.
I did this test many times getting the same result.I reinstalled the server following the tutorial very well and the same thing happens.
Has anyone gone through this king of issue?
After installing following line:
yum -y install amavisd-new spamassassin clamav clamd clamav-update unzip bzip2 unrar perl-DBD-mysql
Should proceed as follows to activate the "clamd":
[root@rjpserver ~]# cp /usr/share/doc/clamav-server*/clamd.sysconfig /etc/sysconfig/clamd.amavisd
[root@rjpserver ~]# vi /etc/sysconfig/clamd.amavisd
# line 1, 2: uncomment and change
CLAMD_CONFIGFILE=/etc/clamd.d/amavisd.conf
CLAMD_SOCKET=/var/run/clamd.amavisd/clamd.sock
[root@rjpserver ~]# vi /etc/tmpfiles.d/clamd.amavisd.conf
# create new and add
d /var/run/clamd.amavisd 0755 amavis amavis -
[root@rjpserver ~]# vi /usr/lib/systemd/system/[email protected]
# add follows to the end
[Install]
WantedBy=multi-user.target
[root@mail ~]# systemctl start clamd@amavisd
[root@mail ~]# systemctl enable clamd@amavisd
The previous post has an error
After installing following line:
yum -y install amavisd-new spamassassin clamav clamd clamav-update unzip bzip2 unrar perl-DBD-mysql
Should proceed as follows to activate the "clamd":
[root@rjpserver ~]# cp /usr/share/doc/clamav-server*/clamd.sysconfig /etc/sysconfig/clamd.amavisd
[root@rjpserver ~]# vi /etc/sysconfig/clamd.amavisd
# line 1, 2: uncomment and change
CLAMD_CONFIGFILE=/etc/clamd.d/amavisd.conf
CLAMD_SOCKET=/var/run/clamd.amavisd/clamd.sock
[root@rjpserver ~]# vi /etc/tmpfiles.d/clamd.amavisd.conf
# create new and add
d /var/run/clamd.amavisd 0755 amavis amavis -
[root@rjpserver ~]# vi /usr/lib/systemd/system/[email protected]
# add follows to the end
[Install]
WantedBy=multi-user.target
[root@rjpserver ~]# systemctl start clamd@amavisd
[root@rjpserver ~]# systemctl enable clamd@amavisd
I fixed the "APXS was not found, so mod_suphp will not be built!" which I posted last week. The tutorial was missing the "--with-apxs=/usr/bin/apxs" It will look like this:-./configure --prefix=/usr/ --sysconfdir=/etc/ --with-apr=/usr/bin/apr-1-config --with-apxs=/usr/bin/apxs --with-apache-user=apache --with-setid-mode=owner --with logfile=/var/log/httpd/suphp_log
If you need PHP v5.4 ->
Only after fresh install! (if your server is on production, be carefull. no guarraty at all for stability)
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm You can install php by doing: yum install php54wIf you know what you are doing (for me only upgrading was the solution), you can upgrade PHP by:
yum install yum-plugin-replace yum replace php-common --replace-with=php54w-commonWhat is Cubemail logging ID and PW?
Webalyzer found in rpm for centos 7 here : http://li.nux.ro/download/nux/misc/el7/x86_64/webalizer-2.23_08-1.el7.nux.x86_64.rpm
I have to build CLAMAV 0.98.4 from scratch to get freshclam working. epel.repo exclude=clamav. Now I have
[root@vps40064 etc]# clamav -VClamAV 0.98.6/20208/Thu Mar 19 06:49:07 2015[root@vps40064 etc]# clamd -VClamAV 0.98.6/19995/Thu Jan 29 12:52:33 2015[root@vps40064 etc]# freshclamClamAV update process started at Thu Mar 19 08:50:59 2015WARNING: Your ClamAV installation is OUTDATED!WARNING: Local version: 0.98.4 Recommended version: 0.98.6DON'T PANIC! Read http://www.clamav.net/support/faqmain.cvd is up to date (version: 55, sigs: 2424225, f-level: 60, builder: neo)daily.cld is up to date (version: 20208, sigs: 1352880, f-level: 63, builder: neo)bytecode.cvd is up to date (version: 247, sigs: 41, f-level: 63, builder: dgoddard)
Normand
Webaliser not available for Centos 7 because GeoIP-update6 need and not available... Waiting for this??
Roundcubemail need LDAP3
wget ftp://ftp.muug.mb.ca/mirror/fedora/epel/7/x86_64/p/php-pear-Net-LDAP2-2.1.0-1.el7.noarch.rpm
wget ftp://ftp.muug.mb.ca/mirror/fedora/epel/7/x86_64/p/php-kolab-net-ldap3-1.0.2-2.el7.noarch.rpm
After download,
rpm -ivh php-pear-Net-LDAP2-2.1.0-1.el7.noarch.rpm php-kolab-net-ldap3-1.0.2-2.el7.noarch.rpm
Hi, I use ISPCONFIG for a while.
Few days I accidently chowned all the files on the drive :( So in order to recover the email, i have copied the mail folders to a ftp server.
I have reinstalled the ISPCONFIG server but now I have problems with the emails. Copying the email from ftp to the maildir gave me headache while I tried to get the emails with imap.
Mar 30 18:54:47 hermes dovecot: imap([email protected]): Error: FETCH [] for mailbox INBOX UID 4931 got too little data: 1627 vs 16272
Mar 30 18:54:47 hermes dovecot: imap([email protected]): Error: Maildir filename has wrong W value: /var/vmail/telecomplus.ro/ciprian.arustei/Maildir/cur/1422727501.M299878P22634.hermes.vaslui.net,S=1580,W=16272,Sa
Mar 30 18:54:47 hermes dovecot: imap([email protected]): Error: Corrupted index cache file /var/vmail/telecomplus.ro/ciprian.arustei/Maildir/dovecot.index.cache: Broken virtual size for mail UID 4931
I have deleted the index files, dovecod recreated them, but that did not help me.
I have found some scripts online but that also did not help.
If any ideas, please let me know. Thanks!
I followed the instructions provided here. Haven't done any single custom configuration. Using CentOS 7.
Roundcube does work (send and recieve) with no issue.However, when i use a mail client (tried with outlook and thunderbird), in my maillog i see the log as:
dovecot: pop3-login: Aborted login (no auth attempts in 0 secs): user=<>,
I tried to telnet to myserver on port 110, 25. 110 got a reply but 25 not.I have the port 25 in the firewall open port list.
Dont know where to look to resolve the issue.Any help is much appreciated.
pure-ftpd expects the pure-ftpd.pem in the folder /etc/pki/pure-ftpd and not the usual /etc/ssl/private/.
Tut looked OK until I've got to step 6. Disabling SELinux is your solution for lack of knowledge? You should change topic to "Not-so-perfect-server-centos-7..."
Apache would not start for me after the vhosts/ISPConfig install due to not binding to sockets. Disabling SELinux solved that issue for me but I will be willing to configure an SELinux policy to get Apache working with ISPConfig.
Under the heading: **7 Enable Additional Repositories And Install Some Software**
rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
should be changed to:
rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
as the 7-2 does not exists. 7-5 does.
Thank you for the effort you put in to this post ,it took a while but I got there with your help.
Er zit een heel vervelend foutje in waar ik 2x over ben gestruikeld en aangezien ik niet bij de console kon maakte dat ik 2x een reinstall moest vragen. Normaal kon dat via het control panel maar niet met raid ... foutje van het datacenter.
Het foutje hier is dat in de zin:
GRUB_CMDLINE_LINUX="rd.lvm.lv=centos/swap vconsole.font=latarcyrheb-sun16 rd.lvm.lv=centos/root crashkernel=auto vconsole.keymap=us rhgb quiet rootflags=uquota,gquota"gqouta pquota moet zijn. Ik weet niet waarom het een p ipv een g moet zijn maar met een p reboot de server wel en met een g niet.
Mogelijk een idee dit aan te passen :-)
OMG.. This is the first time am installating a linux machine with out any issue.. Thanks for your Awesome tutorial :-)
The only problem I have is with amavisd. It does not start via the script, I must manually start it by running amavisd otherwise mail won't flow. Any ideas?
Hello,
I did the same for each step and i create a new reseller account in ispconfig for any website, but i am not able to upload file more than 2MB i try to change file upload size in '/etc/php.ini' and restart httpd with command 'systemctl restart httpd.service' but it does not reflect on phpinfo(); other things are working great only this file upload size in not working can you expalin how i can increase upload file size.Thanks
Hi
I am a total noob in this. can someone explain what should i do with this:
Job for amavisd.service failed. See 'systemctl status amavisd.service' and 'journalctl -xn' for details.
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.
PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /tmp/ispconfig3_install/install/install.php on line 683
Installation completed.
The Apache httpd.service failed because you did not disable SELinux. I had that same error. Also, you did not set the timezone in your PHP Configuration file.
Kudos Till, great howto, gave me a nice working ISPConfig configuration. :)
Note about 'quota':
- If you don't have a grub bootloader on your VPS, you can still do this through /etc/fstab. However, the parameter is not uquota and uquota - it's usrquota and grpquota. You will also need to reboot and not just do a remount if you do this on the root partition. If you did it wrong and you got locked out from writing to the filesystem, simply run the command: " sudo mount -o remount,rw /partition/identifier /mount/point ". If you don't know the information needed for that, simply run " mount -v | grep "^/" | awk '{print "\nPartition identifier: " $1 "\n Mountpoint: " $3}' " in order to get it.
Hi,
Awesome tutorial, had very little issues with the exception of self inflicted ones LOL...
I have one issue I cannot resolve however.
I cannot access phpmyadmin - I open the page and the server knows it is there as I am simply getting a blank page, all other PHP works on the server, it is just phpmyadmin that is not opening. I have run the php script from the site and it works fine. I know I have seen this issue before and have fixed it, for the life of me can't remember what I done.
Any advice would be appreciated!
I thank you for your instruction.I installed step by step in my CentOS 7.I met the following error message in step [systemctl restart httpd.service].I have tried several times.Plase let me know how I can solve it.
I'm very confused about something that should be very simple I'm sure. In the tutorial when you write, "change the error reporting (so that notices aren't shown any longer)". What specifically do you mean by that, please? Am I supposed to throw in the following exactly as follows?
;error_reporting = E_ALL & ~E_DEPRECATED error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
OR... should I simply set it to: error_reporting = off ?
It sounds like I'm supposed to turn it off or maybe comment it off...but based on the rest of your tutorial, the user usually copies what you have as an example, and in this area you don't specify exactly "how" to 'disable error reporting' (in my oppinion).
Could you please clarify?
Currently my php.ini read this within the "common values" section:
; Common Values:
; E_ALL (Show all errors, warnings and notices including coding standards.)
; E_ALL & ~E_NOTICE (Show all errors, except for notices)
; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.)
; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
; Development Value: E_ALL
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
; http://php.net/error-reporting
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
Thank you very much in advance, to whoever may reply to this.
Change the error reporting to:
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATEDas shown in the tutorial.
Have same problem with clamd unrar and webalizer not available. Any suggestions?
In part 15, the make install threw an error when doing the byte-compile on mod_python/version.py. Hopefully this won't be a serious issue later on, but I'm posting it here just in case it is.
byte-compiling /usr/lib64/python2.7/site-packages/mod_python/version.py to version.pyc File "/usr/lib64/python2.7/site-packages/mod_python/version.py", line 3 version = "fatal: Not a git repository (or any of the parent directories): .git ^SyntaxError: EOL while scanning string literalwriting byte-compilation script '/tmp/tmpFG758H.py'/usr/bin/python -OO /tmp/tmpFG758H.py File "/usr/lib64/python2.7/site-packages/mod_python/version.py", line 3 version = "fatal: Not a git repository (or any of the parent directories): .git ^SyntaxError: EOL while scanning string literalremoving /tmp/tmpFG758H.py
To get this to send to Google's mail servers, you need to do a bit more configuring. Installing IPv6, setting an AAAA MX record, and adding in the IPv4/6 addresses for relaying if you have non-local machine clients. I've outlined all the steps I had to take here:Enabling IPV6 in CentOS (for sending and receiving mail)You also might need to call your ISP, mine had a layer-7 block on SMTP.
I get errors with this command:
/usr/lib/mailman/bin/newlist mailman
Traceback (most recent call last):
File "/usr/lib/mailman/bin/newlist", line 100, in <module>
from Mailman import MailList
File "/usr/lib/mailman/Mailman/MailList.py", line 51, in <module>
from Mailman.Archiver import Archiver
File "/usr/lib/mailman/Mailman/Archiver/__init__.py", line 17, in <module>
from Archiver import *
File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 37, in <module>
from Mailman.i18n import _
File "/usr/lib/mailman/Mailman/i18n.py", line 36, in <module>
_ctype_charset = _get_ctype_charset()
File "/usr/lib/mailman/Mailman/i18n.py", line 31, in _get_ctype_charset
old = locale.setlocale(locale.LC_CTYPE, '')
File "/usr/lib64/python2.7/locale.py", line 547, in setlocale
return _setlocale(category, locale)
For the 'autoreconf -if' issue you may install prior libtool
yum install libtool
This will correct the error.
For webanal
You may run the following:
cd /tmp
wget http://li.nux.ro/download/nux/misc/el7/x86_64/webalizer-2.23_05-10.el7.nux.x86_64.rpm
yum install webalizer-2.23_05-10.el7.nux.x86_64.rpm
Hello,
I am using centos 7 and install samba as PDC active directory work fine and File Share work properly.but i want to login centos 7(PDC system) by Domain Users but failed. it can be possible ?
wbinfo -u return domain user properly
wbinfo -g return domain groups properly.
shares Folder open by domain user properly.
but login failed by domain user .error user does not exist.
if any idea please help me.
can you update the roundcube install for 1.2? or since its yum installed, we just have to wait?
clamav gives errors using this guide, its missing the .sock file. use this to configure clamav
https://www.adminsys.ch/2015/08/21/installing-clamav-epel-centosred-hat-7-nightmare/
Wow. This is a very detailed installation guide. Everything works perfect. Right now I am in a test environment but plan on using this same method when I am ready to go live. Thank you for this. It is extremely helpful.
Everything was super fine until the end. Now I can't start httpd.
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
writing RSA key
Configuring DBServer
Installing ISPConfig crontab
no crontab for root
no crontab for getmail
Restarting services ...
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
Installation completed.
I am getting error when configuring suphp.
Error is :
checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a
Would you help me to solve the problem?
btw: I am using php 7
I had to compile apxs in suphp, so added --with-apxs=/usr/bin/apxs.
As others mentioned, there's no package clamd in Centos 7. The clamd server is probably supposed to come with clamav but I get no clamd binary, and during ISPConfig installation I get:
Failed to restart [email protected]: Unit [email protected] failed to load: No such file or directory.
Since "yum -y install clamd" doesn't make sense in Centos 7 I can't possibly be the only one with this problem surely? :)
Ok, I just noticed there is a revised version where exactly the clamd problem is fixed, lol..
I'm a bit lost. In step 8 Quota it says, "Now we check if quota is already enabled for the filesystem where the website (/var/www)"
I don't understand how this can be done when these instructions don't install apache until the following step, step 9. I thought /var/www is created with the installation of apache, so how can we check if quota is already enabled for the filesystem where the website (/var/www) it /var/www hasn't yet been created?
if you're having problem with let's encrypt not getting certificate after clickin on checkbox in ISPconfig, just download "certbot" somewhere aside, run ./certbot-auto, wait till it installs some python packages and press "Cancel" after blue popup asking for domains will show.Then you should be able to get certificates by clicking that checkbox in ISPconfig.... took me a whole to figure it out, hope it helps :)
for today it's a new epel-release
rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm
I got stuck at the part where you compile the patch for suphp (garbage input...). The link listed in this guide is no longer maintained/available. Instead I used the following command to create the patch.
wget -O patchingsuphp.patch https://www.webhostinghero.com/downloads/php/suphp.patch patch -Np1 -d suphp-0.7.2 < patchingsuphp.patch cd suphp-0.7.2 autoreconf -ifWhen trying to patch apache-2.4 with suphp, at the time of compile (make) I get:
[root@server1 suphp-0.7.2]# make
Making all in src
make[1]: Entering directory `/usr/local/src/suphp-0.7.2/src'
make all-recursive
make[2]: Entering directory `/usr/local/src/suphp-0.7.2/src'
Making all in apache
make[3]: Entering directory `/usr/local/src/suphp-0.7.2/src/apache'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/httpd -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DSUPHP_PATH_TO_SUPHP=\"/usr/sbin/suphp\" -g -O2 -MT mod_suphp.lo -MD -MP -MF .deps/mod_suphp.Tpo -c -o mod_suphp.lo mod_suphp.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/httpd -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DSUPHP_PATH_TO_SUPHP=\"/usr/sbin/suphp\" -g -O2 -MT mod_suphp.lo -MD -MP -MF .deps/mod_suphp.Tpo -c mod_suphp.c -fPIC -DPIC -o .libs/mod_suphp.o
In file included from /usr/include/httpd/ap_config.h:25:0,
from /usr/include/httpd/httpd.h:44,
from mod_suphp.c:24:
/usr/include/httpd/ap_hooks.h:39:17: fatal error: apr.h: No such file or directory
#include "apr.h"
^
compilation terminated.
make[3]: *** [mod_suphp.lo] Error 1
make[3]: Leaving directory `/usr/local/src/suphp-0.7.2/src/apache'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/suphp-0.7.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/suphp-0.7.2/src'
make: *** [all-recursive] Error 1
[root@server1 suphp-0.7.2]#
I don't know why the path doesn't work!
You can leave out suphp install part if it does not compile, it is an old PHP mode and you probably will use php-fpm for your websites later anyway.
this tutorial completely crashed my centos system once i got to the reboot after "section 8 quota" .
I have a vultr centos 7 vps
I spent over an hour getting to this point...now i have to start over.
There is no issue in the guide. It might be that Vultr VPS does not support quota or they used a filesystem like btrfs which does not support normal Linux quota, you should contact their support and ask them how to enable Linux quota for their VPS. Besid ethat, you are using an old version of the CentOS tutorials as mentioned at the beginning of this page, better use the most recent version (link is at the beginning at well: https://www.howtoforge.com/tutorial/perfect-server-centos-7-apache-mysql-php-pureftpd-postfix-dovecot-and-ispconfig/).
Step-15: As marsching.com list server has been shut down the below code will not work
wget -O suphp.patch https://lists.marsching.com/pipermail/suphp/attachments/20130520/74f3ac02/attachment.patchpatch -Np1 -d suphp-0.7.2 < suphp.patchcd suphp-0.7.2autoreconf -ifSolution: Use the following code-
wget -O patchingsuphp.patch https://www.webhostinghero.com/downloads/php/suphp.patch patch -Np1 -d suphp-0.7.2 < patchingsuphp.patch cd suphp-0.7.2 autoreconf -ifYou are using an old version of this guide. If you would use the latest version as recommended at the top of this guide (https://www.howtoforge.com/tutorial/perfect-server-centos-7-apache-mysql-php-pureftpd-postfix-dovecot-and-ispconfig/), then you would see that the suphp patch from that server is not used anymore.
This entire how-to is one giant wild goose chase. DO NOT USE. I don't know what happened to HTF but this document either needs a revision or deletion. Failure after failure. Needs an update to the current version of CentOS. To much has changed over the last few minors.
Sorry, your comment just documents that you have not read the guide from the beginning and you request new(er) guides which exist for years incl. a recent one for CentOS 7.6, where we pointed you at the beginning of the text to. Scroll up, then read the tutorial again, it starts with this text in a yellow text box to ensure that no reader can miss it:
There is a new version of this tutorial available for CentOS 7.6.
Instead of reading and using the recent guide for CentOS 7.6, you decided to use the old guide from the archive which is for CentOS 7.0. To sum it up, the guide works perfectly for the CentOS version it has been written for and we provide different tutorials for the different CentOS versions, all of them are linked at the top of the tutorial and you did not follow our suggestions to use a recent guide. You caused the trouble yourself by not using the guide that matches your OS version from the selector, don't blame us for that.
Section 15 .patch file fix
wget -O patchingsuphp.patch https://www.webhostinghero.com/downloads/php/suphp.patch patch -Np1 -d suphp-0.7.2 < patchingsuphp.patch cd suphp-0.7.2 autoreconf -if
Hello Everyone, Special greetings and congratulations about the wonderful work done by Till Brehm and his associates.Till, do you plan to integrate openlitespeed in ispconfig?As for me that would be really wonderful.King regards,
Moses
This tutorial is amazing you're doing a great job thank you very much for this.
I have installed my perfect centos 7 server but i was looking to make my server and all the sites on it accessible to the internet trought my domaine.name like site1.mydomaine.com so i followed the tuto for own my dns but when i try to enter slave server it doeso't resolve hosname and ip adresse are not accepted i realise that i can only ping my virtual machine with ip . Can you help me fix it please
Please post your issue in the iSPConfig forum here at howtoforge so we can help you to figure out what's wrong or missing in the DNS setup.
What does it wants? made everything using your guide...cannot get it.. same with 'make install'
the folder it tries to access is empty (/usr/include). there is no httpd in it....
[root@aacc suphp-0.7.2]# make
Making all in src
make[1]: Entering directory `/usr/local/src/suphp-0.7.2/src'
make all-recursive
make[2]: Entering directory `/usr/local/src/suphp-0.7.2/src'
Making all in apache
make[3]: Entering directory `/usr/local/src/suphp-0.7.2/src/apache'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/httpd -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DSUPHP_PATH_TO_SUPHP=\"/usr/sbin/suphp\" -g -O2 -MT mod_suphp.lo -MD -MP -MF .deps/mod_suphp.Tpo -c -o mod_suphp.lo mod_suphp.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/httpd -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DSUPHP_PATH_TO_SUPHP=\"/usr/sbin/suphp\" -g -O2 -MT mod_suphp.lo -MD -MP -MF .deps/mod_suphp.Tpo -c mod_suphp.c -fPIC -DPIC -o .libs/mod_suphp.o
In file included from /usr/include/httpd/ap_config.h:25:0,
from /usr/include/httpd/httpd.h:44,
from mod_suphp.c:24:
/usr/include/httpd/ap_hooks.h:39:17: fatal error: apr.h: No such file or directory
#include "apr.h"
^
compilation terminated.
make[3]: *** [mod_suphp.lo] Error 1
make[3]: Leaving directory `/usr/local/src/suphp-0.7.2/src/apache'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/suphp-0.7.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/suphp-0.7.2/src'
make: *** [all-recursive] Error 1