Tag: Fedora

nginx, PHP 5.3 and FastCGI on CentOS 5.5, Fedora 13, Red Hat RHEL 5.5/6

This is guide howto install nginx, PHP 5.3 and FastCGI webserver with MySQL and/or PostgreSQL and Memcache support on Fedora 12 and Fedora 13, CentOS 5.5, Red Hat (RHEL) 5.5/6. nginx (engine x) is a robust, small and high performance http server, reverse proxy server and also mail proxy server. […]

Installing mod_geoip For Apache2 On Fedora 9

This guide explains how to set up mod_geoip with Apache2 on a Fedora 9 system. mod_geoip looks up the IP address of the client end user. This allows you to redirect or block users based on their country. You can also use this technology for your OpenX (formerly known as […]

How to enable SpamAssassin on your server

To enable Spamassassin on your server, you need to first need to install it. Once installed a few minor changes are needed in your /etc/exim.conf file. 1) Install spamd and spamc: cd /usr/local/directadmin/scripts ./spam.sh If you get errors building spamd relating to missing perl modules, try using cpan to install […]

read_urandom: /dev/urandom: open failed: No such file or directory

My CentOS Linux based server failed to boot with the following error: read_urandom: /dev/urandom: open failed: No such file or directory How do I fix this problem? To fix this problem you need to upgrade mkinitrd package. To upgrade package use the Internet or install it using rpm command: # […]

RPM remove error: specifies multiple packages

While removing a package using “rpm -e “, you may run into “error: packagename specifies multiple packages” error message, for example: $ rpm -e mysql-devel error: “mysql-devel” specifies multiple packages This is because the packages of both the architectures, 32 bit and 64 bit are installed on the server i.e. […]

CentOS / RHEL 6: Install Suhosin PHP Advanced Protection System

Suhosin is an open source patch for PHP. How do I install suhosin under CentOS / Red Hat Enterprise Linux server running on my IBM server? Suhosin patch is an advanced protection system for PHP installations. It was designed to protect servers and users from known and unknown flaws in […]

Chrooting Apache2 With mod_chroot On Fedora 12

This guide explains how to set up mod_chroot with Apache2 on a Fedora 12 system. With mod_chroot, you can run Apache2 in a secure chroot environment and make your server less vulnerable to break-in attempts that try to exploit vulnerabilities in Apache2 or your installed web applications. I do not […]

nux: NFS4 mount Error reason given by server: No such file or directory

I recently installed NFS server v4 on my HP Linux server. However, I’m not able to mount it from Linux nfs4 client using the following command: mount.nfs4 server2:/data /data I’m getting the following error: mount.nfs4: mounting server2:/data failed, reason given by server: No such file or directory How do I […]

Setting up mail.domain.com as default for new domains on directadmin.

1) You’ll need to setup the virtualhost for apache. This can be accomplished by adding a 2nd virtualhost along side the domains main one. cd /usr/local/directadmin/data/templates cp virtual_host.conf custom cd custom You’ll need to edit the newly copied virtual_host.conf (or virtual_host2.conf if you’re using apache 2) file and make the […]