Background

YUM stands for Yellow dog Updated Modified. When you are working on linux server which is behind ISA Proxy Server that requires authentication (user & password) will fail to install a rpm package from remote repository using YUM. So without full filling ISA authentication you will not be able to install anything from remote repositories using YUM and will throw ERROR code 407 with message “The ISA Server requires authorization to fulfill the request..

how to install package using YUM behind authenticated proxy server?

vim /etc/yum.conf

[Keep Reading…]

Last night, i got an email from one of my client’s CPanel server that tailwatched is failed and is not running.

Email contained :

tailwatchd failed @ Fri Dec 23 00:30:10 2011.A restart was attempted automagically
Service Check Method: [check command] tailwatchd is not running

To see what services handle by tailwatched

/usr/local/cpanel/libexec/tailwatchd --status

[Keep Reading…]

In this tutorial i will tell you how to configure Lighttpd and Apache on same port 80 on same server. In our case, we have CentOS 6 on our server but you can follow this for any Linux flavor e.g Ubuntu/BackTrack Linux etc.

Requirements :

  • Two Internet Public IPs ( Configured on eth0 and eth0:0)
  • Lighttpd
  • Apache

[Keep Reading…]

APF Advance Policy firewall that provides you an easy way to configure iptables rules. This is a short snippet how can you install/configure or uninstall APF on your Linux Server.

wget http://www.rfxn.com/downloads/apf-current.tar.gz
tar -zxvf apf-current.tar.gz
cd apf-9.7-2
./install.sh

APF installation is completed.

How to allow specific incoming ports in APF ? e.g 80,21
vim /etc/apf/conf.apf

[Keep Reading…]

If you are setting up NFS and stuck with this error, portmap is conflicting with other service.

If you run this
/etc/init.d/portmap restart

It will throw this error,
pmap_getmaps rpc problem: RPC: Unable to receive; errno = Connection reset by peer
Stopping portmap: [FAILED]
Starting portmap: [ OK ]

[Keep Reading…]

Mod_geoip is an Apache module use for determination of City/Country/ISP of a visitor. In CentOS 6 mod_geoip is not available in the default set repository so you will need to download it manually.

wget http://download.fedora.redhat.com/pub/epel/6/x86_64/mod_geoip-1.2.5-5.el6.x86_64.rpm
rpm -ivh mod_geoip-1.2.5-5.el6.x86_64.rpm
/etc/init.d/httpd restart

Completed. You should see  mod_geoip.conf under /etc/httpd/conf.d/

ls /etc/httpd/conf.d/mod_geoip.conf