The Perfect Server - CentOS 6.0 x86_64 [ISPConfig 3] - Page 4

10 Install Courier-IMAP, Courier-Authlib, And Maildrop

Unfortunately there are no rpm packages for Courier-IMAP, Courier-Authlib, and Maildrop, therefore we have to build them ourselves.

First remove Dovecot (CentOS 6.0 comes with Dovecot 2.x; unfortunately, ISPConfig 3 supports Dovecot 1.2.x, but not 2.x):

yum remove dovecot dovecot-mysql

Then install the prerequisites that we need to build Courier rpm packages:

yum install rpm-build gcc mysql-devel openssl-devel cyrus-sasl-devel pkgconfig zlib-devel pcre-devel openldap-devel postgresql-devel expect libtool-ltdl-devel openldap-servers libtool gdbm-devel pam-devel gamin-devel libidn-devel

RPM packages should not be built as root; courier-imap will even refuse to compile if it detects that the compilation is run as the root user. Therefore we create a normal user account now (falko in this example) and give him a password:

useradd -m -s /bin/bash falko
passwd falko

We will need the sudo command later on so that the user falko can compile and install the rpm packages. But first, we must allow falko to run all commands using sudo:

Run

visudo

In the file that opens there's a line root ALL=(ALL) ALL. Add a similar line for falko just below that line:

[...]
## Allow root to run any commands anywhere
root    ALL=(ALL)       ALL
falko   ALL=(ALL)       ALL
[...]

Now we are ready to build our rpm package. First become the user falko:

su falko

Next we create our build environment:

mkdir $HOME/rpm
mkdir $HOME/rpm/SOURCES
mkdir $HOME/rpm/SPECS
mkdir $HOME/rpm/BUILD
mkdir $HOME/rpm/BUILDROOT
mkdir $HOME/rpm/SRPMS
mkdir $HOME/rpm/RPMS
mkdir $HOME/rpm/RPMS/i386
mkdir $HOME/rpm/RPMS/x86_64

echo "%_topdir $HOME/rpm" >> $HOME/.rpmmacros

Now we create a downloads directory and download the source files from http://www.courier-mta.org/download.php:

mkdir $HOME/downloads
cd $HOME/downloads

wget https://sourceforge.net/projects/courier/files/authlib/0.63.0/courier-authlib-0.63.0.tar.bz2/download
wget https://sourceforge.net/projects/courier/files/imap/4.9.3/courier-imap-4.9.3.tar.bz2/download
wget https://sourceforge.net/projects/courier/files/maildrop/2.5.4/maildrop-2.5.4.tar.bz2/download

Now (still in $HOME/downloads) we can build courier-authlib:

sudo rpmbuild -ta courier-authlib-0.63.0.tar.bz2

After the build process, the rpm packages can be found in /root/rpmbuild/RPMS/x86_64 (/root/rpmbuild/RPMS/i686 if you are on an i686 system). The command

sudo ls -l /root/rpmbuild/RPMS/x86_64

shows you the available rpm packages:

[falko@server1 downloads]$ sudo ls -l /root/rpmbuild/RPMS/x86_64
total 516
-rw-r--r-- 1 root root 124296 Jul 11 17:27 courier-authlib-0.63.0-1.el6.x86_64.rpm
-rw-r--r-- 1 root root 259620 Jul 11 17:27 courier-authlib-debuginfo-0.63.0-1.el6.x86_64.rpm
-rw-r--r-- 1 root root  35044 Jul 11 17:27 courier-authlib-devel-0.63.0-1.el6.x86_64.rpm
-rw-r--r-- 1 root root  17416 Jul 11 17:27 courier-authlib-ldap-0.63.0-1.el6.x86_64.rpm
-rw-r--r-- 1 root root  13944 Jul 11 17:27 courier-authlib-mysql-0.63.0-1.el6.x86_64.rpm
-rw-r--r-- 1 root root  13112 Jul 11 17:27 courier-authlib-pgsql-0.63.0-1.el6.x86_64.rpm
-rw-r--r-- 1 root root   8316 Jul 11 17:27 courier-authlib-pipe-0.63.0-1.el6.x86_64.rpm
-rw-r--r-- 1 root root  34168 Jul 11 17:27 courier-authlib-userdb-0.63.0-1.el6.x86_64.rpm
[falko@server1 downloads]$

Select the ones you want to install, and install them like this:

sudo rpm -ivh /root/rpmbuild/RPMS/x86_64/courier-authlib-0.63.0-1.el6.x86_64.rpm /root/rpmbuild/RPMS/x86_64/courier-authlib-mysql-0.63.0-1.el6.x86_64.rpm /root/rpmbuild/RPMS/x86_64/courier-authlib-devel-0.63.0-1.el6.x86_64.rpm

Now we go back to our downloads directory:

cd $HOME/downloads

Run the following commands to create required directories/change directory permissions (because otherwise the build process for Courier-Imap will fail):

sudo mkdir -p /var/cache/ccache/tmp
sudo chmod o+rwx /var/cache/ccache/
sudo chmod 777 /var/cache/ccache/tmp

Now run rpmbuild again, this time without sudo, otherwise the compilation will fail because it was run as root:

rpmbuild -ta courier-imap-4.9.3.tar.bz2

After the build process, the rpm packages can be found in $HOME/rpm/RPMS/x86_64 ($HOME/rpm/RPMS/i686 if you are on an i686 system):

cd $HOME/rpm/RPMS/x86_64

The command

ls -l

shows you the available rpm packages:

[falko@server1 x86_64]$ ls -l
total 1088
-rw-r--r-- 1 falko falko 333540 Jul 11 17:38 courier-imap-4.9.3-1.x86_64.rpm
-rw-r--r-- 1 falko falko 776112 Jul 11 17:38 courier-imap-debuginfo-4.9.3-1.x86_64.rpm
[falko@server1 x86_64]$

You can install courier-imap like this:

sudo rpm -ivh courier-imap-4.9.3-1.x86_64.rpm

Now we go back to our downloads directory:

cd $HOME/downloads

and run rpmbuild again, this time to build a maildrop package:

sudo rpmbuild -ta maildrop-2.5.4.tar.bz2

After the build process, the rpm packages can be found in /root/rpmbuild/RPMS/x86_64 (/root/rpmbuild/RPMS/i686 if you are on an i686 system). The command

sudo ls -l /root/rpmbuild/RPMS/x86_64

shows you the available rpm packages:

[falko@server1 downloads]$ sudo ls -l /root/rpmbuild/RPMS/x86_64
total 1660
-rw-r--r-- 1 root root 124296 Jul 11 17:27 courier-authlib-0.63.0-1.el6.x86_64.rpm
-rw-r--r-- 1 root root 259620 Jul 11 17:27 courier-authlib-debuginfo-0.63.0-1.el6.x86_64.rpm
-rw-r--r-- 1 root root  35044 Jul 11 17:27 courier-authlib-devel-0.63.0-1.el6.x86_64.rpm
-rw-r--r-- 1 root root  17416 Jul 11 17:27 courier-authlib-ldap-0.63.0-1.el6.x86_64.rpm
-rw-r--r-- 1 root root  13944 Jul 11 17:27 courier-authlib-mysql-0.63.0-1.el6.x86_64.rpm
-rw-r--r-- 1 root root  13112 Jul 11 17:27 courier-authlib-pgsql-0.63.0-1.el6.x86_64.rpm
-rw-r--r-- 1 root root   8316 Jul 11 17:27 courier-authlib-pipe-0.63.0-1.el6.x86_64.rpm
-rw-r--r-- 1 root root  34168 Jul 11 17:27 courier-authlib-userdb-0.63.0-1.el6.x86_64.rpm
-rw-r--r-- 1 root root 281328 Jul 11 17:47 maildrop-2.5.4-1.x86_64.rpm
-rw-r--r-- 1 root root 717476 Jul 11 17:47 maildrop-debuginfo-2.5.4-1.x86_64.rpm
-rw-r--r-- 1 root root 101156 Jul 11 17:47 maildrop-devel-2.5.4-1.x86_64.rpm
-rw-r--r-- 1 root root  63744 Jul 11 17:47 maildrop-man-2.5.4-1.x86_64.rpm
[falko@server1 downloads]$

You can now install maildrop like this:

sudo rpm -ivh /root/rpmbuild/RPMS/x86_64/maildrop-2.5.4-1.x86_64.rpm

After you have compiled and installed all needed packages, you can become root again by typing

exit

Now start Courier-IMAP/-POP3 as follows:

/etc/init.d/courier-imap start

 

11 Install Postfix

Postfix can be installed as follows:

yum install postfix

Then turn off Sendmail and start Postfix and MySQL:

chkconfig --levels 235 mysqld on
/etc/init.d/mysqld start

chkconfig --levels 235 sendmail off
chkconfig --levels 235 postfix on
/etc/init.d/sendmail stop
/etc/init.d/postfix start

 

12 Install Getmail

There's no rpm package for getmail, therefore we have to install it from the sources. This can be done as follows:

cd /tmp
wget http://pyropus.ca/software/getmail/old-versions/getmail-4.20.3.tar.gz
tar xvfz getmail-4.20.3.tar.gz
cd getmail-4.20.3
python setup.py build
python setup.py install

 

13 Set MySQL Passwords And Configure phpMyAdmin

Set passwords for the MySQL root account:

mysql_secure_installation

[root@server1 tmp]# mysql_secure_installation




NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!


In order to log into MySQL to secure it, we'll need the current
password for the root user.  If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.

Set root password? [Y/n]
 <-- ENTER
New password: <-- yourrootsqlpassword
Re-enter new password: <-- yourrootsqlpassword
Password updated successfully!
Reloading privilege tables..
 ... Success!


By default, a MySQL installation has an anonymous user, allowing anyone
to log into MySQL without having to have a user account created for
them.  This is intended only for testing, and to make the installation
go a bit smoother.  You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n]
 <-- ENTER
 ... Success!

Normally, root should only be allowed to connect from 'localhost'.  This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n]
 <-- ENTER
 ... Success!

By default, MySQL comes with a database named 'test' that anyone can
access.  This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n]
 <-- ENTER
 - Dropping test database...
 ... Success!
 - Removing privileges on test database...
 ... Success!

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n]
 <-- ENTER
 ... Success!

Cleaning up...



All done!  If you've completed all of the above steps, your MySQL
installation should now be secure.

Thanks for using MySQL!


[root@server1 tmp]#

Now we configure phpMyAdmin. We change the Apache configuration so that phpMyAdmin allows connections not just from localhost (by commenting out the <Directory "/usr/share/phpmyadmin"> stanza):

vi /etc/httpd/conf.d/phpmyadmin.conf

#
#  Web application to manage MySQL
#

#<Directory "/usr/share/phpmyadmin">
#  Order Deny,Allow
#  Deny from all
#  Allow from 127.0.0.1
#</Directory>

Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin
Alias /mysqladmin /usr/share/phpmyadmin

Next we change the authentication in phpMyAdmin from cookie to http:

vi /usr/share/phpmyadmin/config.inc.php

[...]
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'http';
[...]

Then we create the system startup links for Apache and start it:

chkconfig --levels 235 httpd on
/etc/init.d/httpd start

Now you can direct your browser to http://server1.example.com/phpmyadmin/ or http://192.168.0.100/phpmyadmin/ and log in with the user name root and your new root MySQL password.

Share this page:

54 Comment(s)

Add comment

Comments

From: Tray2 at: 2011-08-05 06:52:46

Hey mate nice work there :) One thing i noticed is that you must check the "Connect Automatically" otherwise your network won't start properly. I think that it should bew in the text :)

 

Cheers Tray2

From: Anonymous at: 2011-08-14 05:12:02

Hi, does subdomains work for you guys?  I followed this but my problem is that subdomains are not working as they should.

From: Anonymous at: 2011-08-28 11:46:49

redirection for subdomains not working.  please help..

From: at: 2012-07-20 07:29:02

Too many people do not follow the instructions to set the hostname to server1.example.com, instead they set the hostname to their domainname example.com. Afterwards they get into trouble with postfix. There are many threads with that problem.

 It would be good to add a warning at that point of the tutorial, e.g. Do not set your hostname to your domainname! or similar. Same for the tutorials for the other OSs.

From: KaoticEvil at: 2011-09-28 02:16:58

I just gotta say.. I *LOVE* your HOW-TO's. I've used yours since I first contemplated having a stand-alone server box using Ubuntu. Trying the CentOS one now, on Virtual Box.. So far, so good. Keep up the great work man!

From: Michael Ecklund at: 2011-08-16 18:37:43

Step 7 For 32 Bit Users

Do the following:

cd /tmp
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm

 

I don't know if it's a typo on the repoforge or if it's supposed to be like that, but they have it as .i686.rpm, by default when I was changing it from 64 bit to 32 bit, I was typing .i386.rpm and getting 404 errors. Just make sure you note the difference.

From: Biju at: 2011-09-08 12:07:06

yum install yum-priorities
Loaded plugins: fastestmirror
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

From: styson011 at: 2011-09-15 14:24:01

Try this and see if it works, worked for me :

 cd /etc/yum.repos.d/
vi ./epel.repo

then comment all the mirrorlist= lines (#mirrorlist=........)

 and uncomment the #baseurl lines and save the file

 then try the "yum install priorities" again

 

From: lesley dos santos ribeiro at: 2011-10-06 19:42:51

Very very very thanks!!!!

good text!

From: Marvio Rocha at: 2011-10-31 08:07:20

Solved. Now my yum update working!

Thanks you!

From: Sevastian1711 at: 2011-11-09 01:07:05

this also helped me a lot, thanks for the help.

From: Anonymous at: 2012-06-13 17:00:57

it works, thanks a bunch

From: Anonymous at: 2013-07-18 13:29:37

Your a lifesaver!!! thanks a million man!!!!

From: Anonymous at: 2013-10-01 11:00:29

Many thanks from italy. Saved my life!

From: Brian at: 2012-01-27 12:35:41

For me this error was because of being behind a firewall. If you set the https_proxy variable to point at your proxy server before running yum, it should work.

From: relaxmasha at: 2011-10-25 12:29:12

compatible version php-mbstring for CentOS 6.0 x86_64 not found :(

From: at: 2011-10-26 15:36:27

I was and had to add the following to my setup. In the system-config-network-tui I used a gateway that has access to the proxy I had to use, on another network. then in my /etc/profile I add the following lines:

export ftp_proxy=[your proxy ip]:[your proxy port]

export http_proxy=[your proxy ip]:[your proxy port]

export https_proxy=[your proxy ip]:[your proxy port]

then reboot and everything should be good to use the proxy.  Oh I also added the line proxy=[your proxy ip]:[your proxy port] to my /etc/yum.conf just to be safe.

From: at: 2011-10-30 03:09:04

In the Centos 6 distribution I have, wget is not installed as part of the "Minimal Server" option.

yum install wget

From: Alex at: 2012-02-02 18:04:16

I had a problem with phpMyAdmin.

 This guide refers to phpmyadmin, when it should be phpMyAdmin.

yum install phpmyadmin, will install an old version that will not update with yum update.

yum install phpMyAdmin, will install from epel repository. Also it will be kept updated with yum  update.

From: Matthew McCleary at: 2012-03-27 15:21:41

Please update your documentation to reflect the move from download.fedora.redhat.com to dl.fedoraproject.org (as of February, 2012). Thanks.

From: Joseph Mouhanna at: 2012-03-28 00:06:26

Please note that step 7 does not work -- installing the EPEL 6 repos. Instead of the prescribed method:

rpm --import https://fedoraproject.org/static/0608B895.txt
wget http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm
rpm -ivh epel-release-6-5.noarch.rpm

you should use the following (which will get the repo and install it):

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm

 

From: Michael at: 2012-05-25 10:26:02

please assist me here i have failed to install the EPEL 6 repos am using CentOS6.2 Thanks

From: Anonymous at: 2013-03-11 03:46:14

The current version is 6_8 just replace the 5 with an 8

From: Dhana (Urjita) at: 2011-09-29 04:38:57

Hi Falko Timme,

Nice to follow you excellent Tutorial.

There a Target Folder error in the below step

sudo ls -l /root/rpmbuild/RPMS/x86_64

the compiled files are stored in sudo ls -l /root/rpm/RPMS/x86_64

It should be  followed as same as in the following steps as well

Or otherwise the folder creation should be rpmbuild

 

Regards

Dhana

From: gapa at: 2011-11-03 23:52:36

for me the simplest solution was to change

 echo "%_topdir $HOME/rpm" >> $HOME/.rpmmacros

 for 

echo "%_topdir $HOME/rpmbuild" >> $HOME/.rpmmacros

From: Sevastian1711 at: 2011-11-09 22:35:13

Check de date and tim, thats works to me. 

From: Dylan M. at: 2011-11-22 01:54:46

You no longer need to install getmail via sources since it is now in the rpmforge repo that you're using.

From: Davtyan at: 2013-10-23 14:40:20

In my case path is another

code:

<code>sudo rpm -ivh /root/rpmbuild/RPMS/x86_64/courier-authlib-0.63.0-1.el6.x86_64.rpm /root/rpmbuild/RPMS/x86_64/courier-authlib-mysql-0.63.0-1.el6.x86_64.rpm /root/rpmbuild/RPMS/x86_64/courier-authlib-devel-0.63.0-1.el6.x86_64.rpm </code>

need to change

code:

<code>sudo rpm -ivh /root/rpmbuild/RPMS/i686/courier-authlib-0.63.0-1.el6.i686.rpm /root/rpmbuild/RPMS/i686/courier-authlib-mysql-0.63.0-1.el6.i686.rpm /root/rpmbuild/RPMS/i686/courier-authlib-devel-0.63.0-1.el6.i686.rpm </code>

 as real path is root/rpmbuild/RPMS/i686/  (in your example root/rpmbuild/RPMS/i686/)

From: deainfo at: 2011-08-06 14:12:32

same problem here :(

From: Anonymous at: 2011-08-16 06:34:23
From: Alastair at: 2011-10-29 13:02:23

That worked perfectly, thanks!

From: Lucho at: 2011-08-06 02:30:53

Error: Package: amavisd-new-2.6.4-2.el6.noarch (epel)
           Requires: /etc/clamd.d
           Available: clamd-0.97-13.el6.x86_64 (epel)
               Not found

From: Don Trauco at: 2011-08-26 13:14:51

Today the site works fine.

 

 

From: Arrrgh! at: 2013-03-08 06:27:00

Today it does not and google is being difficult.

www... and http://modruby.net gives me some oriental/asian site that I can't understand.

From: pdxerik at: 2013-03-08 22:30:24

I found a version that works at this address:

http://fossies.org/unix/www/apache_httpd_modules/mod_ruby-1.3.0.tar.gz/

From: Anonymous at: 2013-03-11 06:01:40

And that link doesn't work, I don't know how I made it work then.

 This link, however, does.

http://www.ruby-lang.org/en/downloads/

From: Don Trauco at: 2011-08-25 19:15:27

[root@isp3 tmp]# wget http://www.modruby.net/archive/mod_ruby-1.3.0.tar.gz
--2011-08-25 16:07:17--  http://www.modruby.net/archive/mod_ruby-1.3.0.tar.gz
Resolving www.modruby.net... 221.186.184.67
Connecting to www.modruby.net|221.186.184.67|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-08-25 16:07:17 ERROR 404: Not Found.

From: at: 2011-08-26 05:22:37

Try

wget http://modruby.net/archive/mod_ruby-1.3.0.tar.gz

(without the www). This still works.

From: Maurilio N. at: 2011-10-16 20:28:37

the correct patch to create a named.conf.local is;

 /var/named/chroot/etc

then.....


touch /var/named/chroot/etc/named.conf.loca

and

service named restart

Maurilio N.

From: max at: 2011-11-09 20:54:06

log "...checking for APR... configure:  the --with-apr parameter is incorect.  It build a directory, or an apr-config file." 

 after that when i'm trying to "make" and "make install" = " no rules for target "install""

 what to do ? help please...

From: miniraket at: 2011-11-13 21:06:52

Same problem here: tried this howto twice but failed to install suPHP twice.

 make-command returns: No targets specified and no makefile found. Stop

 make install-command returns: No rule to make target 'install'. Stop

 Restarting apache doesn't work anymore after step 15.0, so now my server is bricked :(

From: Shafiullah at: 2011-11-19 10:43:09

Please follow http://www.chrisam.net/blog/2009/10/11/installing-and-configuring-suphp-on-centos-5-3/ It works for me

From: Nguyen Xuan Thang at: 2011-11-21 23:35:49

You must install complier tool, its fix for me

yum install gcc gcc-c++ make

From: Tommy M at: 2011-11-26 09:28:21

You have to install the httpd-devel package first.

yum install httpd-devel

From: at: 2011-12-05 02:28:03

When I tried to install php-mssql I get error message, here 

15 Installing Apache2 With mod_php, mod_fcgi/PHP5, And suPHP

ISPConfig 3 allows you to use mod_php, mod_fcgi/PHP5, cgi/PHP5, and suPHP on a per website basis.

We can install Apache2with mod_php5, mod_fcgid, and PHP5 as follows:

 yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc php-eaccelerator php-mbstring php-mcrypt php-mssql php-snmp php-soap php-tidy curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel mod_fcgid php-cli httpd-devel

[root@server1 ~]# yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc php-eaccelerator php-mbstring php-mcrypt php-mssql php-snmp php-soap php-tidy curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel mod_fcgid php-cli httpd-devel Loaded plugins: fastestmirror, presto, priorities Loading mirror speeds from cached hostfile * base: mirror.5ninesolutions.com * epel: mirrors.kernel.org * extras: mirrors.login.com * rpmforge: fr2.rpmfind.net * updates: mirror.san.fastserv.com 1070 packages excluded due to repository priority protections Setting up Install Process Package php-5.3.2-6.el6_0.1.x86_64 already installed and latest version Package php-gd-5.3.2-6.el6_0.1.x86_64 already installed and latest version Package php-mysql-5.3.2-6.el6_0.1.x86_64 already installed and latest version Package php-mbstring-5.3.2-6.el6_0.1.x86_64 already installed and latest version Package php-mcrypt-5.3.3-1.el6.x86_64 already installed and latest version Package curl-7.19.7-16.el6.x86_64 already installed and latest version Package perl-libwww-perl-5.833-2.el6.noarch already installed and latest version Package libxml2-2.7.6-1.el6.x86_64 already installed and latest version Package php-cli-5.3.2-6.el6_0.1.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package ImageMagick.x86_64 0:6.5.4.7-5.el6 set to be updated --> Processing Dependency: librsvg-2.so.2()(64bit) for package: ImageMagick-6.5.4.7-5.el6.x86_64 --> Processing Dependency: libgs.so.8()(64bit) for package: ImageMagick-6.5.4.7-5.el6.x86_64 --> Processing Dependency: libwmflite-0.2.so.7()(64bit) for package: ImageMagick-6.5.4.7-5.el6.x86_64 --> Processing Dependency: libXt.so.6()(64bit) for package: ImageMagick-6.5.4.7-5.el6.x86_64 --> Processing Dependency: liblcms.so.1()(64bit) for package: ImageMagick-6.5.4.7-5.el6.x86_64 ---> Package httpd-devel.x86_64 0:2.2.15-5.el6.centos set to be updated --> Processing Dependency: apr-util-devel for package: httpd-devel-2.2.15-5.el6.centos.x86_64 --> Processing Dependency: apr-devel for package: httpd-devel-2.2.15-5.el6.centos.x86_64 ---> Package libcurl-devel.x86_64 0:7.19.7-16.el6 set to be updated ---> Package libxml2-devel.x86_64 0:2.7.6-1.el6 set to be updated ---> Package mod_fcgid.x86_64 0:2.3.6-1.el6 set to be updated ---> Package php-devel.x86_64 0:5.3.2-6.el6_0.1 set to be updated ---> Package php-eaccelerator.x86_64 1:0.9.6.1-1.el6 set to be updated ---> Package php-imap.x86_64 0:5.3.2-6.el6_0.1 set to be updated --> Processing Dependency: libc-client.so.2007()(64bit) for package: php-imap-5.3.2-6.el6_0.1.x86_64 ---> Package php-ldap.x86_64 0:5.3.2-6.el6_0.1 set to be updated ---> Package php-mssql.x86_64 0:5.3.3-1.el6 set to be updated --> Processing Dependency: php-pdo >= 5.3.3 for package: php-mssql-5.3.3-1.el6.x86_64 --> Processing Dependency: libsybdb.so.5()(64bit) for package: php-mssql-5.3.3-1.el6.x86_64 ---> Package php-odbc.x86_64 0:5.3.2-6.el6_0.1 set to be updated --> Processing Dependency: libodbc.so.2()(64bit) for package: php-odbc-5.3.2-6.el6_0.1.x86_64 ---> Package php-pear.noarch 1:1.9.0-2.el6 set to be updated ---> Package php-snmp.x86_64 0:5.3.2-6.el6_0.1 set to be updated --> Processing Dependency: net-snmp for package: php-snmp-5.3.2-6.el6_0.1.x86_64 --> Processing Dependency: libnetsnmp.so.20()(64bit) for package: php-snmp-5.3.2-6.el6_0.1.x86_64 ---> Package php-soap.x86_64 0:5.3.2-6.el6_0.1 set to be updated ---> Package php-tidy.x86_64 0:5.3.3-1.el6 set to be updated --> Processing Dependency: libtidy-0.99.so.0()(64bit) for package: php-tidy-5.3.3-1.el6.x86_64 ---> Package php-xml.x86_64 0:5.3.2-6.el6_0.1 set to be updated --> Processing Dependency: libxslt.so.1(LIBXML2_1.0.18)(64bit) for package: php-xml-5.3.2-6.el6_0.1.x86_64 --> Processing Dependency: libxslt.so.1(LIBXML2_1.0.11)(64bit) for package: php-xml-5.3.2-6.el6_0.1.x86_64 --> Processing Dependency: libxslt.so.1(LIBXML2_1.0.13)(64bit) for package: php-xml-5.3.2-6.el6_0.1.x86_64 --> Processing Dependency: libxslt.so.1(LIBXML2_1.0.24)(64bit) for package: php-xml-5.3.2-6.el6_0.1.x86_64 --> Processing Dependency: libxslt.so.1()(64bit) for package: php-xml-5.3.2-6.el6_0.1.x86_64 --> Processing Dependency: libexslt.so.0()(64bit) for package: php-xml-5.3.2-6.el6_0.1.x86_64 ---> Package php-xmlrpc.x86_64 0:5.3.2-6.el6_0.1 set to be updated --> Running transaction check ---> Package apr-devel.x86_64 0:1.3.9-3.el6_0.1 set to be updated ---> Package apr-util-devel.x86_64 0:1.3.9-3.el6_0.1 set to be updated --> Processing Dependency: db4-devel for package: apr-util-devel-1.3.9-3.el6_0.1.x86_64 --> Processing Dependency: expat-devel for package: apr-util-devel-1.3.9-3.el6_0.1.x86_64 ---> Package freetds.x86_64 0:0.91-1.el6 set to be updated ---> Package ghostscript.x86_64 0:8.70-6.el6 set to be updated --> Processing Dependency: urw-fonts >= 1.1 for package: ghostscript-8.70-6.el6.x86_64 --> Processing Dependency: ghostscript-fonts for package: ghostscript-8.70-6.el6.x86_64 ---> Package lcms-libs.x86_64 0:1.19-1.el6 set to be updated ---> Package libXt.x86_64 0:1.0.7-1.el6 set to be updated ---> Package libc-client.x86_64 0:2007e-11.el6 set to be updated ---> Package librsvg2.x86_64 0:2.26.0-5.el6 set to be updated --> Processing Dependency: libgsf >= 1.6.0 for package: librsvg2-2.26.0-5.el6.x86_64 --> Processing Dependency: libgsf-1.so.114()(64bit) for package: librsvg2-2.26.0-5.el6.x86_64 --> Processing Dependency: libcroco-0.6.so.3()(64bit) for package: librsvg2-2.26.0-5.el6.x86_64 ---> Package libtidy.x86_64 0:0.99.0-19.20070615.1.el6 set to be updated ---> Package libwmf-lite.x86_64 0:0.2.8.4-22.el6 set to be updated ---> Package libxslt.x86_64 0:1.1.26-2.el6 set to be updated ---> Package net-snmp.x86_64 1:5.5-27.el6_0.1 set to be updated --> Processing Dependency: libsensors.so.4()(64bit) for package: 1:net-snmp-5.5-27.el6_0.1.x86_64 ---> Package net-snmp-libs.x86_64 1:5.5-27.el6_0.1 set to be updated ---> Package php-mssql.x86_64 0:5.3.3-1.el6 set to be updated --> Processing Dependency: php-pdo >= 5.3.3 for package: php-mssql-5.3.3-1.el6.x86_64 ---> Package unixODBC.x86_64 0:2.2.14-11.el6 set to be updated --> Running transaction check ---> Package db4-devel.x86_64 0:4.7.25-16.el6 set to be updated --> Processing Dependency: db4-cxx = 4.7.25-16.el6 for package: db4-devel-4.7.25-16.el6.x86_64 --> Processing Dependency: libdb_cxx-4.7.so()(64bit) for package: db4-devel-4.7.25-16.el6.x86_64 ---> Package expat-devel.x86_64 0:2.0.1-9.1.el6 set to be updated ---> Package ghostscript-fonts.noarch 0:5.50-23.1.el6 set to be updated --> Processing Dependency: xorg-x11-font-utils for package: ghostscript-fonts-5.50-23.1.el6.noarch ---> Package libcroco.x86_64 0:0.6.2-5.el6 set to be updated ---> Package libgsf.x86_64 0:1.14.15-5.el6 set to be updated --> Processing Dependency: GConf2 for package: libgsf-1.14.15-5.el6.x86_64 --> Processing Dependency: GConf2 for package: libgsf-1.14.15-5.el6.x86_64 ---> Package lm_sensors-libs.x86_64 0:3.1.1-10.el6 set to be updated ---> Package php-mssql.x86_64 0:5.3.3-1.el6 set to be updated --> Processing Dependency: php-pdo >= 5.3.3 for package: php-mssql-5.3.3-1.el6.x86_64 ---> Package urw-fonts.noarch 0:2.4-10.el6 set to be updated --> Running transaction check ---> Package GConf2.x86_64 0:2.28.0-6.el6 set to be updated --> Processing Dependency: sgml-common for package: GConf2-2.28.0-6.el6.x86_64 --> Processing Dependency: libORBit-2.so.0()(64bit) for package: GConf2-2.28.0-6.el6.x86_64 ---> Package db4-cxx.x86_64 0:4.7.25-16.el6 set to be updated ---> Package php-mssql.x86_64 0:5.3.3-1.el6 set to be updated --> Processing Dependency: php-pdo >= 5.3.3 for package: php-mssql-5.3.3-1.el6.x86_64 ---> Package xorg-x11-font-utils.x86_64 1:7.2-10.el6 set to be updated --> Processing Dependency: libfontenc.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.2-10.el6.x86_64 --> Processing Dependency: libXfont.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.2-10.el6.x86_64 --> Running transaction check ---> Package ORBit2.x86_64 0:2.14.17-3.1.el6 set to be updated --> Processing Dependency: libIDL-2.so.0()(64bit) for package: ORBit2-2.14.17-3.1.el6.x86_64 ---> Package libXfont.x86_64 0:1.4.1-1.el6 set to be updated ---> Package libfontenc.x86_64 0:1.0.5-2.el6 set to be updated ---> Package php-mssql.x86_64 0:5.3.3-1.el6 set to be updated --> Processing Dependency: php-pdo >= 5.3.3 for package: php-mssql-5.3.3-1.el6.x86_64 ---> Package sgml-common.noarch 0:0.6.3-32.el6 set to be updated --> Running transaction check ---> Package libIDL.x86_64 0:0.8.13-2.1.el6 set to be updated ---> Package php-mssql.x86_64 0:5.3.3-1.el6 set to be updated --> Processing Dependency: php-pdo >= 5.3.3 for package: php-mssql-5.3.3-1.el6.x86_64 --> Finished Dependency Resolution Error: Package: php-mssql-5.3.3-1.el6.x86_64 (epel) Requires: php-pdo >= 5.3.3 Installed: php-pdo-5.3.2-6.el6_0.1.x86_64 (@updates) php-pdo = 5.3.2-6.el6_0.1 Available: php-pdo-5.3.2-6.el6.x86_64 (base) php-pdo = 5.3.2-6.el6 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

 

From: Anonymous at: 2011-12-12 11:59:44

This is a bug in the Perfect Server Setup. When you complete step 20 above, you must then type this:
vi /etc/fail2ban/fail2ban.conf
then change:
logtarget = SYSLOG
to:
logtarget = /var/log/fail2ban.log
then restart fail2ban or something!

Otherwise the ISPConfig monitor will say:
Unable to read /var/log/fail2ban.log

Hope this helps someone!

From: Bedoskil at: 2011-09-08 05:59:46

Hello I have scrupulously followed this wonderful tutorial on my server and everything works fine, I have a problem with "Courier" When I send an email fine but it happens with the sender "Apache" example : apache@myserver.com How can I fix this?

From: Maurilio at: 2011-10-16 19:01:33

if you browser show a blank page after all instalation process, and apache show in log the message above;

[notice] child pid 5003 exit signal Segmentation fault (11)

 remove php-eaccelerator and go ahead.

rpm -e php-eaccelerator

From: admin at: 2011-10-17 06:03:52

It's Apache then or PHP that are not compatible with php-eaccelerator, not ISPConfig. ISPConfig does not serve the pages, that's done by Apache/PHP.

From: Maurilio at: 2011-10-16 19:12:17

if you have a blank page after login in ISPconfig, and apear in apache log the message above;

[notice] child pid 5010 exit signal Segmentation fault (11)

 

1- don´t wory, only remove the package: php-eaccelerator

2- and restart apache;

 

rpm -e php-eaccelerator

service httpd restart

 

And Realy Thanks to Tutorial.

 Maurilio

From: at: 2011-12-23 05:09:42

Hey, that fixed my ISPConfig and WordPress.  Thanks.

From: Bogdan Storm at: 2011-10-24 22:03:24

I followed your tutorials about "perfect servers" and they are absolutely great. Simple, fast and good stuff to learn from.

It would be great o see a tutorial about a "perfect server" made only to run fast CMS websites and online stores (Joomla+Virtuemart, Wordpress + Ecommerce, Prestashop, Magento). Without email boxes, antispam and all that useless stuff, just with ability to send mails to customers/visitors.

I am currently configured my server (Debian) for all domains and websites (about 80) that I host to receive email with help from Google Apps free and it's working great. This way I am not loading my server with all that stuff. :D

 Thanks a lot for putting all this together.


From: maxnz at: 2011-12-13 08:59:08

Hi !!! i have an VBox machine on W7 host with a ADSL conection - i install the server on vbox from this tutorial but at finish i have some troubles : 
1. i cant acces mysite from exterior(internet), from network it works perfect 
2. phpmyadmin doesn't open too, but it doesn,t open from network and from internet(when i install it first I test it and he work from network)

 ISPConfig and webmail, FTP and SSH are working well from internet and from internal network .

 Firewall and SElinux are disabled, NAT on router is configured, the mysql server works (show in IPSConfig)  

 

From: Andrew Christensen at: 2013-04-06 14:52:11

I followed this tutorial to a T and it's great. I have it on Linode and it's wonderful. The only problem I've run into is that the AWSTATS just don't seem be working. I've set all of the sites (4 days ago) to awstats. But they are all giving a 404 error.

I'm not sure what to do next. Any ideas?