Ubuntu Virtual Machine: How to Install Ubuntu on VirtualBox

I moved my WordPress blog to a VPS from DigitalOcean and I wanted to have a local version of my VPS for testing. This guide will teach you how to install an Ubuntu server as a virtual machine using VirtualBox on a mac. To prepare you will need to download 2 files: The VirtualBox virtual machine software for your operating system The Ubuntu server install image For this tutorial I will be using VirtualBox on a Mac and installing Ubuntu Server 14....

May 1, 2014

WordPress Performance opcode cache

If you are running WordPress on a VPS or dedicated server, a quick way to optimize performance is to install a php opcode cache. To understand why, you need to first understand how php processes a request. A php request goes through the following steps: Read Parse Compile Execute Output For every WordPress page requested, the php engine must go through all 5 steps. A php opcode cache keeps the complied php code in memory, thereby eliminating the 1st 3 steps above....

September 12, 2011

Optimize WordPress for Page Speed YSlow and Zoompf

Here are some optimization techniques to optimize your WordPress site for Google Page Speed 1.10.2, Yahoo YSlow 2.1.0, and Zoompf. I installed a completely new WordPress 3.1 site with no plugins and using the default Twenty Ten theme. Here are the relevant scores on a fresh install: Test Score Page Speed 87 YSlow 93 Zoompf 49 Edit your .htaccess file by adding the following: [sourcecode language=“html”] Header unset ETag FileETag None ExpiresActive on ExpiresByType image/jpeg “access plus 6 months” ExpiresByType image/png “access plus 6 months” ExpiresByType image/gif “access plus 6 months” ExpiresByType image/x-icon “access plus 6 months” ExpiresByType text/css “access plus 6 months” ExpiresByType application/javascript “access plus 6 months” ExpiresByType application/x-javascript “access plus 6 months” AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/javascript application/x-javascript [/sourcecode] In your /wp-content/themes/twentyten/header....

February 24, 2011

WordPress nginx proxy cache

If you are running WordPress on a VPS or dedicated server, you may want to install the nginx HTTP server to act as a proxy cache for WordPress. This is a guide for building nginx from source so that 2 modules can be added. The first module allows purging content from the proxy cache and the second module allows limiting the max concurrent requests to apache. This guide assumes you are running:...

October 5, 2010