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

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Thu, 2011-08-04 16:13. ::

14 Install Amavisd-new, SpamAssassin And ClamAV

To install amavisd-new, spamassassin and clamav, run the following command:

yum install amavisd-new spamassassin clamav clamd unzip bzip2 unrar perl-DBD-mysql

Then we start freshclam, amavisd, and clamd:

sa-update
chkconfig --levels 235 amavisd on
chkconfig --levels 235 clamd on
/usr/bin/freshclam
/etc/init.d/amavisd start
/etc/init.d/clamd start

 

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

Next we open /etc/php.ini...

vi /etc/php.ini

... and change the error reporting (so that notices aren't shown any longer) and uncomment cgi.fix_pathinfo=1:

[...]
;error_reporting = E_ALL & ~E_DEPRECATED
error_reporting = E_ALL & ~E_NOTICE
[...]
; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
; http://www.php.net/manual/en/ini.core.php#ini.cgi.fix-pathinfo
cgi.fix_pathinfo=1
[...]

Next we install suPHP (there is a mod_suphp package available in the repositories, but unfortunately it isn't compatible with ISPConfig, therefore we have to build suPHP ourselves):

cd /tmp
wget http://suphp.org/download/suphp-0.7.1.tar.gz
tar xvfz suphp-0.7.1.tar.gz
cd suphp-0.7.1/
./configure --prefix=/usr --sysconfdir=/etc --with-apr=/usr/bin/apr-1-config --with-apxs=/usr/sbin/apxs --with-apache-user=apache --with-setid-mode=owner --with-php=/usr/bin/php-cgi --with-logfile=/var/log/httpd/suphp_log --enable-SUPHP_USE_USERGROUP=yes
make
make install

Then we add the suPHP module to our Apache configuration...

vi /etc/httpd/conf.d/suphp.conf

LoadModule suphp_module modules/mod_suphp.so

... and create the file /etc/suphp.conf as follows:

vi /etc/suphp.conf

[global]
;Path to logfile
logfile=/var/log/httpd/suphp.log
;Loglevel
loglevel=info
;User Apache is running as
webserver_user=apache
;Path all scripts have to be in
docroot=/
;Path to chroot() to before executing script
;chroot=/mychroot
; Security options
allow_file_group_writeable=true
allow_file_others_writeable=false
allow_directory_group_writeable=true
allow_directory_others_writeable=false
;Check wheter script is within DOCUMENT_ROOT
check_vhost_docroot=true
;Send minor error messages to browser
errors_to_browser=false
;PATH environment variable
env_path=/bin:/usr/bin
;Umask to set, specify in octal notation
umask=0077
; Minimum UID
min_uid=100
; Minimum GID
min_gid=100
[handlers]
;Handler for php-scripts
x-httpd-suphp="php:/usr/bin/php-cgi"
;Handler for CGI-scripts
x-suphp-cgi="execute:!self"

Finally we restart Apache:

/etc/init.d/httpd restart

 

15.1 Ruby

Starting with version 3.0.3, ISPConfig 3 has built-in support for Ruby. Instead of using CGI/FastCGI, ISPConfig depends on mod_ruby being available in the server's Apache.

For CentOS 6.0, there's no mod_ruby package available, so we must compile it ourselves. First we install some prerequisites:

yum install httpd-devel ruby ruby-devel

Next we download and install mod_ruby as follows:

cd /tmp
wget http://modruby.net/archive/mod_ruby-1.3.0.tar.gz
tar zxvf mod_ruby-1.3.0.tar.gz
cd mod_ruby-1.3.0/
./configure.rb --with-apr-includes=/usr/include/apr-1
make
make install

Finally we must add the mod_ruby module to the Apache configuration, so we create the file /etc/httpd/conf.d/ruby.conf...

vi /etc/httpd/conf.d/ruby.conf

LoadModule ruby_module modules/mod_ruby.so
RubyAddPath /1.8

... and restart Apache:

/etc/init.d/httpd restart

(If you leave out the RubyAddPath /1.8 directive, you will see errors like the following ones in Apache's error log when you call Ruby files:

[Thu May 26 02:05:05 2011] [error] mod_ruby: ruby:0:in `require': no such file to load -- apache/ruby-run (LoadError)
[Thu May 26 02:05:05 2011] [error] mod_ruby: failed to require apache/ruby-run
[Thu May 26 02:05:05 2011] [error] mod_ruby: error in ruby

)

 

15.2 WebDAV

WebDAV should already be enabled, but to check this, open /etc/httpd/conf/httpd.conf and make sure that the following three modules are active:

vi /etc/httpd/conf/httpd.conf

[...]
LoadModule auth_digest_module modules/mod_auth_digest.so
[...]
LoadModule dav_module modules/mod_dav.so
[...]
LoadModule dav_fs_module modules/mod_dav_fs.so
[...]

If you have to modify /etc/httpd/conf/httpd.conf, don't forget to restart Apache afterwards:

/etc/init.d/httpd restart

 

16 Install PureFTPd

PureFTPd can be installed with the following command:

yum install pure-ftpd

Then create the system startup links and start PureFTPd:

chkconfig --levels 235 pure-ftpd on
/etc/init.d/pure-ftpd start

Now we configure PureFTPd to allow FTP and TLS sessions. FTP is a very insecure protocol because all passwords and all data are transferred in clear text. By using TLS, the whole communication can be encrypted, thus making FTP much more secure.

OpenSSL is needed by TLS; to install OpenSSL, we simply run:

yum install openssl

Open /etc/pure-ftpd/pure-ftpd.conf...

vi /etc/pure-ftpd/pure-ftpd.conf

If you want to allow FTP and TLS sessions, set TLS to 1:

[...]
# This option can accept three values :
# 0 : disable SSL/TLS encryption layer (default).
# 1 : accept both traditional and encrypted sessions.
# 2 : refuse connections that don't use SSL/TLS security mechanisms,
#     including anonymous sessions.
# Do _not_ uncomment this blindly. Be sure that :
# 1) Your server has been compiled with SSL/TLS support (--with-tls),
# 2) A valid certificate is in place,
# 3) Only compatible clients will log in.
TLS                      1
[...]

In order to use TLS, we must create an SSL certificate. I create it in /etc/ssl/private/, therefore I create that directory first:

mkdir -p /etc/ssl/private/

Afterwards, we can generate the SSL certificate as follows:

openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem

Country Name (2 letter code) [XX]: <-- Enter your Country Name (e.g., "DE").
State or Province Name (full name) []:
<-- Enter your State or Province Name.
Locality Name (eg, city) [Default City]:
<-- Enter your City.
Organization Name (eg, company) [Default Company Ltd]:
<-- Enter your Organization Name (e.g., the name of your company).
Organizational Unit Name (eg, section) []:
<-- Enter your Organizational Unit Name (e.g. "IT Department").
Common Name (eg, your name or your server's hostname) []:
<-- Enter the Fully Qualified Domain Name of the system (e.g. "server1.example.com").
Email Address []:
<-- Enter your Email Address.

Change the permissions of the SSL certificate:

chmod 600 /etc/ssl/private/pure-ftpd.pem

Finally restart PureFTPd:

/etc/init.d/pure-ftpd restart

That's it. You can now try to connect using your FTP client; however, you should configure your FTP client to use TLS.

 

17 Install BIND

We can install BIND as follows:

yum install bind bind-utils

Next open /etc/sysconfig/named...

vi /etc/sysconfig/named

... and make sure that the ROOTDIR=/var/named/chroot line is comment out:

# BIND named process options
# ~~~~~~~~~~~~~~~~~~~~~~~~~~
# Currently, you can use the following options:
#
# ROOTDIR="/var/named/chroot"  --  will run named in a chroot environment.
#                            you must set up the chroot environment
#                            (install the bind-chroot package) before
#                            doing this.
#       NOTE:
#         Those directories are automatically mounted to chroot if they are
#         empty in the ROOTDIR directory. It will simplify maintenance of your
#         chroot environment.
#          - /var/named
#          - /etc/pki/dnssec-keys
#          - /etc/named
#          - /usr/lib64/bind or /usr/lib/bind (architecture dependent)
#
#         Those files are mounted as well if target file doesn't exist in
#         chroot.
#          - /etc/named.conf
#          - /etc/rndc.conf
#          - /etc/rndc.key
#          - /etc/named.rfc1912.zones
#          - /etc/named.dnssec.keys
#          - /etc/named.iscdlv.key
#
#       Don't forget to add "$AddUnixListenSocket /var/named/chroot/dev/log"
#       line to your /etc/rsyslog.conf file. Otherwise your logging becomes
#       broken when rsyslogd daemon is restarted (due update, for example).
#
# OPTIONS="whatever"     --  These additional options will be passed to named
#                            at startup. Don't add -t here, use ROOTDIR instead.
#
# KEYTAB_FILE="/dir/file"    --  Specify named service keytab file (for GSS-TSIG)
#ROOTDIR=/var/named/chroot

Make a backup of the existing /etc/named.conf file and create a new one as follows:

cp /etc/named.conf /etc/named.conf_bak
cat /dev/null > /etc/named.conf
vi /etc/named.conf

//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
        listen-on port 53 { any; };
        listen-on-v6 port 53 { any; };
        directory       "/var/named";
        dump-file       "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
        allow-query     { any; };
        recursion no;
        allow-recursion { none; };
};
logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};
zone "." IN {
        type hint;
        file "named.ca";
};
include "/etc/named.conf.local";

Create the file /etc/named.conf.local that is included at the end of /etc/named.conf (/etc/named.conf.local will later on get populated by ISPConfig if you create DNS zones in ISPConfig):

touch /etc/named.conf.local

Then we create the startup links and start BIND:

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

 

18 Install Vlogger, Webalizer, And AWStats

Vlogger, webalizer, and AWStats can be installed as follows:

yum install webalizer awstats perl-DateTime-Format-HTTP perl-DateTime-Format-Builder

cd /tmp
wget http://n0rp.chemlab.org/vlogger/vlogger-1.3.tar.gz
tar xvfz vlogger-1.3.tar.gz
mv vlogger-1.3/vlogger /usr/sbin/
rm -rf vlogger*

 

19 Install Jailkit

Jailkit is needed only if you want to chroot SSH users. It can be installed as follows (important: Jailkit must be installed before ISPConfig - it cannot be installed afterwards!):

cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.14.tar.gz
tar xvfz jailkit-2.14.tar.gz
cd jailkit-2.14
./configure
make
make install
cd ..
rm -rf jailkit-2.14*

 

20 Install fail2ban

This is optional but recommended, because the ISPConfig monitor tries to show the log:

yum install fail2ban

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

 

21 Install rkhunter

rkhunter can be installed as follows:

yum install rkhunter


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Anonymous (not registered) on Mon, 2011-12-12 12:59.

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!

Submitted by rewards (registered user) on Mon, 2011-12-05 03:28.

When I tried to install php-mssql I get error message, here  15 Installing Apache2 With mod_php, mod_fcgi/PHP5, And suPHPISPConfig 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 

Submitted by max (not registered) on Wed, 2011-11-09 21:54.

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...

Submitted by Tommy M (not registered) on Sat, 2011-11-26 10:28.

You have to install the httpd-devel package first.

yum install httpd-devel

Submitted by miniraket (not registered) on Sun, 2011-11-13 22:06.

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 :(

Submitted by Nguyen Xuan Thang (not registered) on Tue, 2011-11-22 00:35.

You must install complier tool, its fix for me

yum install gcc gcc-c++ make

Submitted by Shafiullah (not registered) on Sat, 2011-11-19 11:43.
Please follow http://www.chrisam.net/blog/2009/10/11/installing-and-configuring-suphp-on-centos-5-3/ It works for me
Submitted by Maurilio N. (not registered) on Sun, 2011-10-16 21:28.

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.

Submitted by Don Trauco (not registered) on Thu, 2011-08-25 20:15.
[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.

Submitted by falko (registered user) on Fri, 2011-08-26 06:22.

Try

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

(without the www). This still works.

Submitted by Don Trauco (not registered) on Fri, 2011-08-26 14:14.

Today the site works fine.

 

 

Submitted by Arrrgh! (not registered) on Fri, 2013-03-08 07:27.

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.

Submitted by pdxerik (not registered) on Fri, 2013-03-08 23:30.

I found a version that works at this address:

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

Submitted by Anonymous (not registered) on Mon, 2013-03-11 07:01.

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/

Submitted by Lucho (not registered) on Sat, 2011-08-06 03:30.

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

Submitted by deainfo (not registered) on Sat, 2011-08-06 15:12.
same problem here :(
Submitted by Anonymous (not registered) on Tue, 2011-08-16 07:34.
Submitted by Alastair (not registered) on Sat, 2011-10-29 14:02.
That worked perfectly, thanks!