≡ Menu


Q. How do I find out which service is listening on a specific port? How do I find out what program is listening on a specific TCP Port?
[click to continue…]

Windows Server Enable Audio Over RDP

Q. I've sans hardware soundcard and Windows server 2008 installed. How do I enable audio over RDP (Remote Desktop Protocol) on my Windows server systems?
[click to continue…]

Q. How do I install and configure php under Lighttpd web server. I'm using

=> FreeBSD 6.2

=> Lighttpd 1.5

=> FastCGI PHP 5.2

How do I configure php under Lighttpd?

A. PHP generally runs on a web server like lighttpd taking PHP code as its input and creating Web pages as output. FastCGI is a protocol for interfacing interactive programs with a web server. Lighttpd has mod_fastcgi to run php application.

Assuming that you have php installed (see these instructions on installing Lighttpd+MySQL+php5 under FreeBSD), open lighttpd.conf file:
# vi /usr/local/etc/lighttpd.conf
Make sure FASTCGI module is enabled:
server.modules += ( "mod_fastcgi" )

Now append following code

fastcgi.server = ( ".php" =>
( "localhost" =>
                        "socket" => "/tmp/php-fastcgi.socket",
                        "bin-path" => "/usr/local/bin/php-cgi"

Save and close the file. Restart lighttpd:
# /usr/local/etc/rc.d/lighttpd restart

Traffic between my home and office data center encrypted using VPN but sometime my ISP get little slow or network becomes busy. I'm using Fedora Core Linux desktop system and my system freezes for a few minutes. What optimization options should be used when mounting an exported NFS share over a slow and busy network?
[click to continue…]