Manually change WordPress’ home and siteurl in MySQL

       296 words, 2 minutes

In my tidy process, I had to copy WordPress from one host to another, then access it from various URLs so that the production and the development versions were both accessible from the same public IP. To duplicate the data in a fast manner, I dumped the SQL data and tarred the WWW directory. The problem is that WordPress’ home and siteurl are kept the same between those instances. And since you try to access the administration zone, you’re redirected to the original location… To modify the duplicated instance, you can configure WordPress straight from MySQL. Here are the directions:

Continue reading...

Automatic WordPress installation

       385 words, 2 minutes

Here’s a quick trick that allows automatic installation of WordPress on an HTTP server. The normal process is: browse to wordpress.com, grab the archive locally, upload to your server, unzip and run the installer. Sometimes, you even have to unzip locally and then upload the whole sets of files to the server. The automatic process can be done using Instant Install.

Continue reading...

Optimize PHP on NetBSD

       78 words, 1 minutes

On a NAMP (NetBSD, Apache, MySQL, PHP) server, you can get a faster PHP rendering using eAccelerator.

Continue reading...

LAMP/NAMP/OAMP with WordPress just needs CPU

       164 words, 1 minutes

According to the Google robot, my actual configuration serves WordPress pages in about 1-2 seconds. I was looking on improving this a bit.

Continue reading...

Natural WordPress benchmarking

       141 words, 1 minutes

I am planning on benchmarking various OS and HTTP daemons to host my WordPress site. A well-known (free) tool to benchmark Web servers is ApacheBench. But it can only use a single URL for each benchmark session.

Continue reading...

2 / 4