≡ Menu


Debian Linux 6 Squeeze: Install Linux Kernel 3.2.xx

How do I install Linux kernel version 3.2.xx without compiling the Linux kernel from source code under Debian Linux Squeeze version 6.x running on HP hardware?
[click to continue…]

No xauth Program; Cannot Forward With Spoofing Error and Solution

I want to use my local machine as the X server over ssh. But when I try to run ssh -X -v user@server1.example.com to the remote machine, I get the following error:

debug1: Remote: No xauth program; cannot forward with spoofing

How do I fix this problem and use X over ssh?
[click to continue…]

PHP: <? ?> Tags Not Working in PHP 5.3.x under UNIX / Linux

I've recently installed php 5.3.5 in my UNIX box and my old working php code not working. It displays code in pages which is in <? ... my code ... ?> php tags. How do I fix this problem?
[click to continue…]

UNIX Source Command: Read And Execute Commands From File

What is the use of UNIX source command under bash or any other shell? How do I use source command under UNIX / OS X / Linux operating systems?
[click to continue…]

Linux: Set OR Change The Library Path

I've compile and installed a library at /usr/local/lib/libapp2.so -> libapp2.so.1.4.3. How do I set the Library path under Linux operating systems?
[click to continue…]

CentOS Linux Install zlib-devel RPM Package

How do I install zlib-devel (header files and libraries for Zlib development) package under CentOS Linux 5.x server using command line options?
[click to continue…]

Lighttpd as you compiled without pcre support error and solution

Q. I'm using lighttpd under CentOS 5 and getting the following error:
...can't handle '$HTTP[url] =~ …' as you compiled without pcre support.

My question is What is pcre support, and how do I solve this problem?

A. Pcre is nothing but Perl-compatible regular expression library. PCRE has its own native API, but a set of "wrapper" functions that are based on
the POSIX API are also supplied in the library libpcreposix. You must compile lighttpd with pcre to support lighttpd regex style config option. pcre-devel package provides the development files (Headers, libraries for static linking, etc) for pcre. Install the following package and rebuild your lighttpd:
# yum install glib2-devel openssl-devel pcre-devel bzip2-devel gzip-devel

Now change directory to lighttpd source code and recompile Lighttpd with pcre option:
# make clean
# ./configure
# make
# make install

Now restart lighttpd and it should support pcre style config options.