installing php-fpm in Ubuntu Lucid Lynx 10.04

19 12 2010

Until it’s in official repository let’s use one provided by Brian Mercer:

put these in sources.list

deb http://ppa.launchpad.net/brianmercer/php/ubuntu lucid main
deb-src http://ppa.launchpad.net/brianmercer/php/ubuntu lucid main

And at then run this:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8D0DC64F
sudo aptitude update
sudo aptitude install php5-fpm

done!



transparent http proxy with Linux and Squid

11 08 2009
#<transparent proxying>
#local squid
#iptables -t nat -A PREROUTING -i $INT_IFACE -s ! $PROXY_IP -p tcp –dport 80 -j REDIRECT –to $PROXY_PORT
#remote squid
#iptables -t mangle -A PREROUTING -j ACCEPT -p tcp –dport 80 -s $PROXY_IP
#iptables -t mangle -A PREROUTING -j MARK –set-mark 3 -p tcp –dport 80
#ip rule add fwmark 3 table 2
#ip route add default via $PROXY_IP dev $INT_IFACE table 2
###!!!! do not forget to add following line to proxy_server iptables:
#iptables -A PREROUTING -t nat -i $INT_IFACE -p tcp –dport 80 -j REDIRECT –to-port $PROXY_PORT
#</transparent proxying>

if you are running Squid on or behind you Linux gateway here’s HowTo transparently run all outgoing HTTP through it

Read the rest of this entry »



Scheduled Task Error 0x8007000d or Last Result 0x6

26 06 2009

Today had problem creating scheduled task for Shadow Copies on one of Windows 2003 file servers, details and fix after the break.

Read the rest of this entry »



0x8004010F

25 05 2009

Dammit, two hours worth of log and configurations mining gave pretty unexpected results.

Not really obvious (until you find it) that on the way to fix offline address book download error 0x8004010F, you first need to make sure that error 0x80004005 is fixed. But it’s common for MS products, you know what you’re buying…



setting wallpapers on windows – dualscreen or differrent for multiple displays

8 09 2008

Windows tends to limit you in setting different wallpapers for you multiple displays or spanning wide image across them. This utility will take your pain away. And it’s functional enough even in free form.



How to add network printer for all local users systemwide (windows)

26 08 2008

There are situations when you need some network printer to be available for all users of Windows running server or PC (terminal users for ex.). Dirty hack after the break ;o) Read the rest of this entry »



Cisco ASA 5510 and Squid via WCCP2

25 06 2008

Had this mix working smoothly for couple of years. But recent migration of proxy server to the virtualized Ubuntu server caused strange behavior – sites which are using advanced web techniques (gmail, hotmail etc.) started to show empty pages without any tracks in log files. After some research I had to shoot down TCP window scaling which is enabled by default and decrease mtu to 1400. Full configuration after the break.

Read the rest of this entry »



Sony VAIO VGN-FZ21ZR Windows XP

27 05 2008

Pretty similar story – good notebook, creepy vista, no official XP support…

But easier solution this time: drivers, applications



ncache – nginx based load balancing reverse proxy with cache.

20 03 2008

Was tuning new LAMP cluster last night… Decided to revise what can further boost its performance – was really pleased with speed and functionality of this relatively new but awaited for long time piece of software. Details to come…



Asus U1E Windows XP drivers nightmare (so to say…)

27 02 2008

Recently I was stupid enough to assist one of my co-workers in buying ultra light notebook. The one called Asus U1E was chosen due to decent weight to hardware power ratio. I’m not sure which exactly forces make Asus to pretend XP is not supported by this goodness, but Vista’s “spectacular” performance on this brand new CoreDuo with two Gigs of RAM has left me really surprised…

Anyway, decision was made that we want this notebook work, not creep…
List of XP drivers and utilities download links after the break.

Read the rest of this entry »