Using Nginx as a caching proxy with Wordpress+Apache
We have been evaluating caching reverse proxy servers at work. We looked at
Nginx+memcached,
Squid, and
Varnish. Most recently,
we found that Nginx version 0.7 has
support
for caching static files using the proxy_cache directive in
the NginxHttpProxyModule.
This allows us to use Nginx as a caching proxy without having to handle the
complication (or flexibility depending on how you look at it) of setting and
invalidating the cache as with the Nginx+memcached setup.
Here are my notes for setting it up with an Apache+Wordpress backend.
Update 2010-01-05: Over a couple months, we switched to Nginx ...
... read more »Install WordPress 2.8.4 on Ubuntu 9.04 Jaunty
Since we're using WordPress at work, I decided to install WordPress on my local machine for testing and educational purposes. Here are my notes. The versions of stuff are: WordPress 2.8.4, Ubuntu 9.04 Jaunty Jackalope, MySQL 5.1, PHP 5.2.6, Apache 2.2.11 with prefork mpm.
Install prerequisites
- Install Apache and PHP
sudo apt-get install php5 sudo apt-get install php5-mysql
- Install MySQL Server
sudo apt-get install mysql-server
Set a password for the MySQL root user when prompted.
Download Wordpress code
cd /var/www sudo wget http://wordpress.org/wordpress-2.8.4.tar.gz ...... read more »
About
I'm Eliot and this is my notepad for programming topics such as Python, Django, Ubuntu, Emacs, etc... more »
Search Blog
Tags
-
algorithms
(4)
-
aws
(8)
-
blogproject
(20)
-
c_cplusplus
(12)
-
cardstore
(8)
-
colinux
(2)
-
concurrency
(9)
-
conkeror
(2)
-
cygwin
(18)
-
datastructures
(15)
-
datetime
(3)
-
dell
(3)
-
django
(39)
-
emacs
(20)
-
files_directories
(10)
-
install_setup
(7)
-
javascript
(3)
-
keyboard
(6)
-
matplotlib
(5)
-
mercurial
(4)
-
nginx
(2)
-
preferences
(8)
-
processes
(3)
-
pyqt
(18)
-
python
(122)
-
ratpoison
(3)
-
regexes
(5)
-
rsync
(3)
-
softwaretools
(17)
-
sql
(13)
-
ssh
(7)
-
subversion
(6)
-
twisted
(6)
-
ubuntu
(60)
-
urxvt
(5)
-
vxworks
(25)
-
webservices
(4)
-
wmii
(7)
Blogroll
- Adam Gomaa
- Alex Clemesha
- Amir Salihefendic
- Armin Ronacher
- David Beazley
- David Ziegler
- Duncan McGreggor
- Gareth Rushgrave
- Glyph Lefkowitz
- Guido van Rossum
- Ian Bicking
- Jacob Kaplan-Moss
- James Bennett
- James Tauber
- Jesper Noehr
- Matt Harrison
- Nikolay Kolev
- Parand Darugar
- Peter Baumgartner
- Peter Bengtsson
- Rob Hudson
- Simon Willison
- Will McGugan