New image: WordPress pre-installed and tuned for performance

ozgurCity Cloud4 Comments

buttonw-blue-8bitWordPress is the software behind one of the most widely used blog platforms. That’s right, it’s an entire platform that is also used to build entire websites due to its flexibility and hundreds of excellent plugins, many of them free.

Since WordPress is quite heavy and resource intensive, we have decided to build an image using Nginx instead of Apache, which should give you a boost in terms of performance.

Already in City Network

WordPress is of course, already available on our shared hosting plan here at City Network. It’s blatantly easy thanks to our 1-click installations.

But sometimes you need something extra, like a dedicated server where you can tweak your WordPress setup with specific server settings.

This new image, already available on our City Cloud App Center comes pre-packaged with WordPress installed. It’s a dummy installation of course, but you can use it to base your site off of that or use it as an example.

The installation is completely independent, meaning that you can actually put several blogs in the same server, as many as you want.

Installation details

We have installed Nginx as the web server of choice, which is better suited for a lot of concurrent users due to its low memory footprint and optimizations in general.

Since the server contains both the web server and the database (MySQL), it’s recommended that you use at least a standard or medium profile if you have a highly visited site. You can always experiment with the server settings and even if you select the smallest profile, we made sure it works out of the box.

Here are the specific versions of the software installed:

  • Operating system: Debian GNU/Linux 64-bit 6.0.2.1
  • Web server: Nginx version 1.2.3
  • Database: MySQL Server: 5.5.20
  • Blog platform: WordPress 3.4.2
  • PHP 5.3.16

To quickly check your WordPress installation, you need to edit your client hosts file (usually /etc/hosts on Linux or Windowssystem32driversetchosts on Windows) as an administrator and add the following:

your_newly_server_ip wordpresssite.com

Afterwards, point your favorite browser to http://wordpresssite.com (do not omit the http:// part) and you should have access to the blog front-page, fresh out of the oven.

You can start to modify your blog by going to http://wordpressite.com/wp-admin/, the default credentials are on your virtual machine description. Make sure you change that after your first login.

One last note, this dummy domain needs to be changed as soon as you setup a real one. Make sure to enter WordPress admin panel and change it before you switch to the new domain.

Final Comments

Setting up WordPress is not that hard, but even so this image will save you precious time. Or if you wanted to learn how to tweak an installation, you can do it safely.

This setup is just the beginning, and if hopefully you are one of the lucky ones that has a popular blog, you might want to add more servers, move the database to another one, or play with the server settings.

In any case, this image is a great starting point and we believe it won’t disappoint you.

As usual, if you have any suggestions or comments, we’d love to hear them.