How to Install WordPress on MediaTemple (gs)

Warning: count(): Parameter must be an array or an object that implements Countable in /home/cbc8fzob0jbt/domains/ on line 65

After successfully trying the 1-Click Applications installer offered by the MediaTemple (gs) control panel, I decided I would rather know what was going on behind the scenes…not to mention that they have all sorts of warnings saying “DO NOT(!) use the one-click installer to upgrade any…yada yada yada or we will torture small animals to scare you…yadda yadda.”

Although it was a very straightforward process, after having stepped my way through the manual install, I felt inclined to record my paces.

The Files:

The first step is to download and extract the latest files from Being new to Linux/UNIX, I decided to do things via SSH.  If you are not so inclined, FTP is a simple and viable option that I decline to discuss in this post.

Login to your (gs) via SSH.

Change directory to the domain where you want to install WordPress (e.g.

cd ~/domains/

Download the latest release from


Decompress the archive into the default directory “wordpress” and delete the tar.gz file:

tar xvzf latest.tar.gz
rm latest.tar.gz

Make the “wordpress” directory a subdirectory called “blog” (e.g.

mv wordpress html/blog

Or put the contents of the wordpress folder into the root directory (e.g.

mv wordpress/* html
rm -dr wordpress

The Database:

Creating the database cannot be done via SSH because the (gs) MySQL user does not have CREATE DATABASE permissions. So, you have to use the MediaTemple control panel which is, thankfully, very simple and straightforward.

Once you login to your (gs) contol panel, click the “Manage Databases” link.

Click the “Add A Database” tab.

Specify the database name (e.g. dbXXXX_uhleeka_com) and select MySQL for the type.

Now that you’ve created your database, click the “Global Settings” tab to create a new user for your database (e.g. dbXXXX_uhleeka).  Make sure to give your new user “Read/Write” access to your database.

Also, take note of the “Internal Hostname” listed under “Your Server Info”.  It should be something like “”.

The Configuration:

The last thing you will need to do is access and configure your new WordPress blog.  Browse to the home page, and you will be directed to the configuration.  Enter the following fields in the configuration, and you are done:

Database Name: dbXXXX_uhleeka_com
User Name: dbXXXX_uhleeka
Password: ThisIsMyVerySecurePassword
Database Host:
Table Prefix: wp_