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

4 Adjust /etc/hosts

Next we edit /etc/hosts. Make it look like this:

vi /etc/hosts

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
192.168.0.100   server1.example.com     server1

::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

 

5 Configure The Firewall

(You can skip this chapter if you have already disabled the firewall at the end of the basic system installation.)

I want to install ISPConfig at the end of this tutorial which comes with its own firewall. That's why I disable the default CentOS firewall now. Of course, you are free to leave it on and configure it to your needs (but then you shouldn't use any other firewall later on as it will most probably interfere with the CentOS firewall).

Run

system-config-firewall

and disable the firewall.

To check that the firewall has really been disabled, you can run

iptables -L

afterwards. The output should look like this:

[root@server1 ~]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
[root@server1 ~]#

 

6 Disable SELinux

SELinux is a security extension of CentOS that should provide extended security. In my opinion you don't need it to configure a secure system, and it usually causes more problems than advantages (think of it after you have done a week of trouble-shooting because some service wasn't working as expected, and then you find out that everything was ok, only SELinux was causing the problem). Therefore I disable it (this is a must if you want to install ISPConfig later on).

Edit /etc/selinux/config and set SELINUX=disabled:

vi /etc/selinux/config

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
#     targeted - Targeted processes are protected,
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

Afterwards we must reboot the system:

reboot

 

7 Enable Additional Repositories And Install Some Software

First we import the GPG keys for software packages:

rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*

Then we enable the RPMforge and EPEL repositories on our CentOS system as lots of the packages that we are going to install in the course of this tutorial are not available in the official CentOS 6.0 repositories:

rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

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

(If the above link doesn't work anymore, you can find the current version of rpmforge-release here: http://packages.sw.be/rpmforge-release/)

rpm --import https://fedoraproject.org/static/0608B895.txt
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
rpm -ivh epel-release-6-5.noarch.rpm

yum install yum-priorities

Edit /etc/yum.repos.d/epel.repo...

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

... and add the line priority=10 to the [epel] section:

[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
priority=10
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
[...]

Then we update our existing packages on the system:

yum update

Now we install some software packages that are needed later on:

yum groupinstall 'Development Tools'

 

8 Quota

(If you have chosen a different partitioning scheme than I did, you must adjust this chapter so that quota applies to the partitions where you need it.)

To install quota, we run this command:

yum install quota

Edit /etc/fstab and add ,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 to the / partition (/dev/mapper/vg_server1-lv_root):

vi /etc/fstab

#
# /etc/fstab
# Created by anaconda on Mon Jul 11 16:29:27 2011
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_server1-lv_root /                       ext4    defaults,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0        1 1
UUID=6a119ddb-46eb-4054-a17c-8968ea87369f /boot                   ext4    defaults        1 2
/dev/mapper/vg_server1-lv_swap swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0

Then run

mount -o remount /

quotacheck -avugm
quotaon -avug

to enable quota.

 

9 Install Apache, MySQL, phpMyAdmin

We can install the needed packages with one single command:

yum install ntp httpd mod_ssl mysql-server php php-mysql php-mbstring phpmyadmin

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?