Webtatic.com

Just another technical blog

Archive for the ‘Server Admin’ Category

Installing PHP 5.2.6 on CentOS 5 – extra extensions

Posted 19th May 2009 by Andy | 7 Comments

Update 20th June 2009 – I found a bug in PHP 5.2.9, so I have compiled 5.2.9 rpms, including the ones that this article talks about, check out the article here. Update 23rd May 2009 – It appears dbase, readline, json and filter were included either compiled into php or as a shared module in [...]

Installing PHP 5.2.6 on CentOS 5

Posted 17th May 2009 by Andy | 10 Comments

Update 20th June 2009 – I found a bug in PHP 5.2.6, so I have compiled 5.2.10 rpms and provided a repository from which to install them, check out the article here. Update 19th May 2009 – I have written an article here detailing how to build RPMs and install some additional php extensions, which [...]

Laptop DNS forwarding to DHCP DNS

Posted 8th March 2009 by Andy | No Comments

I run bind9, a DNS server, on my Ubuntu laptop so that I can use more advanced local dns resolution than what /etc/hosts can provide, such as wildcard domain names. The problem is that in order for me to be able to use that DNS server whilst being able to resolve internet domains at the [...]

Workaround so NetworkManager runs dhclient hooks

Posted by Andy | 8 Comments

When I upgraded from Ubuntu 8.04 (Hardy) to Ubuntu 8.10 (Intrepid), a dhclient-exit-hook script I wrote no longer functioned. dhclient-script was previously used by dhclient so that whenever the dhcp changed, it would reconfigure the interfaces, generate the /etc/resolv.conf, and run scripts who’s intention is to modify the /etc/resolv.conf file based on the dhcp settings. [...]

Page-level caching with Nginx 0.6

Posted 6th April 2008 by Andy | 6 Comments

In a further attempt to modify my websites so that they can withstand the Digg Effect, I have looked into getting Nginx, a lightweight http server, to perform page-level caching. Nginx can act as a reverse proxy, sending any HTTP request sent to it to another web server. It can also store the response to [...]