Previously we wrote on how to install WordPress on Cloud Sites, however Rackspace Cloud Sites might be expensive option for you, in that case you can think of Rackspace Cloud Server without a managed level – which can be as cheap as $ 12 / month. Rackspace provides bland server to get the most performance out of the server. You can install WordPress on Rackspace Cloud Server or other things, does not matter.
Updated : As Rackspace has changed the look of the control panel, some screenshot might not match with real. Obviously the commands will remain the same. The video guide (see below) however uses the latest control panel.
Points you must need to know before you are going to install WordPress on Rackspace Cloud Server
If you use the server for few hours, you will be charged only for few hours. For example, in order to create this guide on how to install WordPress on Rackspace Cloud Server, our cost will be hardly a Dollar. We will delete the server after its done.
You can always buy a license of cPanel of your own and install on Rackspace Cloud Server – this is what most small to medium web hosts do. In that case you will not need these UNIX commands. We do not recommend it as cPanel itself waste your resource and the price ($200/year) is a waste for an individual. There are free options / open source alternatives to cPanel, but to date as far we know – they do not support 64 bit Cent OS / Red Hat / Debian OS, which your Rackspace Cloud Server will run.
---
This will work for other standard servers like those from Media Template.
We always prefer that you are using Mac OS X or any distro of Linux, that will make easy to run the console using terminal plus those virus, malware stuffs are avoided. However you can use PuTTY under Windows. Also you can use the console provided on Rackspace account.
Steps to install WordPress on Rackspace Cloud Server
In order to install WordPress on Rackspace Cloud Server, you need to login to your Rackspace account. then go to Hosting and click the Cloud Servers option o the left sided pane :

Now on the right sided pane, Click the Add Server option. You will get a bunch of Linux distro as option to install. We personally prefer Debian. You can use Red Hat Linux (extra charge will be added) or Cent OS. As most uses Cent OS, we will show this tutorial on install WordPress on Rackspace Cloud Server using Cent OS. The commands are nearly the same for Debian too. Next you will get the Server Configuration page –

Type your desired name and select the size of RAM. A pop up will come telling you your password. Copy-paste it to any text editor. It will take few minutes to get ready. You can perform various actions from here –

You can install WordPress on Rackspace Cloud Server using this console or Terminal (Mac OS) or PuTTy (Windows). Just scroll down on this page – you will get the IP address, copy paste it on your text editor if you are going to use PuTTy or Terminal. In this guide to install WordPress on Rackspace Cloud Server, we will use PuTTy. Before using Putty, click the Domain tab and add your domain’s address. Otherwise you can not use the www folder.
The actual command steps to install WordPress on Rackspace Cloud Server
Use the IP address to run PuTTy. Use your Rackspace account username to login and that password that you have copied. We are going to Install WordPress on Rackspace Cloud Server, so need of poetry here, straight cut commands and small explanations.
We are on the root. No one can access it from a browser, so we will change directory (cd) by typying the command and then hitting enter / return key :
1 | cd /var/www/html/ |
Now we are on the desired directory. Type and hit enter / return :
1 | wget http://wordpress.org/latest.tar.gz |
After hitting the key, it will take a bit time to get the compressed wordpress file. You will get indication that its complete. Now extract it :
1 | tar -xzvf latest.tar.gz |
Thanks to Chris for correcting it (see comments below).
You will see all got extracted. But actually it is in /wordpress directory, is not it ? But we need everything on the root! So, we will move (mv) all the files by typing these and hitting enter :
1 | mv /wordpress* . |
This command is very important. This is one of the fantastic commands of UNIX. Note the dot – its moving everything to dot – your current directory. Give a space between * and dot. For Debian Linux, dots will be two – simply one directory level up.
You can type ls to list everything. Done. But we need to create a database first to install WordPress. In order to use MySQL, the common packages needs to be installed before. We need to install AMP – that is MySQL, Apache and PHP. Very simple. Just type :
1 | yum -y install httpd php mysql mysql-server php-mysql |
This is a fantastic command and saves huge time. Start MySQL –
1 | service mysqld start |
Now go to MySQL by –
1 | >mysql |
Hit return. Now create a database by typing –
1 | create database wordpress; |
here is the wrong people usually do –

Type –
1 | create user 'wordpress'@'localhost' identified by 'password'; |
then –
1 | grant all privileges on '.' to 'wordpress'@'localhost' with grant options; |
Exit. Simple go to for example – http://yourdomainname.com/wp-admin/install.php
; it will say that wp-config.php
is not configured, simply you can add data by following on browser options through WordPress installation script. Done.
More Steps, Guides and Videos to Install WordPress on Rackspace Cloud Server : Updated on March, 2013
As, Install WordPress on Rackspace Cloud Server is one of the most searched tutorial on Rackspace unmanaged cloud, we have added more guides and videos for you :
- Adding Domain Name to Rackspace Cloud Server
- Installing WordPress on Rackspace Cloud Server Video Guide
- There has been change in the look and function of the control panel, you can read – Installing WordPress on Rackspace Cloud Server with Cloud Database
Thanks for the guide. What special character is being replaced with the question mark/diamond in this line of code?:
grant all privileges on ‘.’ ?to ‘wordpress’@’localhost’ with grant options;
Sorry for that [] thing produced by WordPress. Thanks for the appreciations. Its actually (now corrected) :
Trouble with extraction… Use this command “tar -zxvf latest.tar.gz” just lose the quotes.
Thanks. Corrected.
Hi,
am able to do all the configuration of WordPress fine. Problem is now how to configure the IP address of Server point to custom domain name.
I mean WordPress is launched on Redhat Cloud Server with an IP address. How to make it accessibl eon internet with domain name?
Hi,
That means you have completed all the steps rightly. Instead of domain name all are remaining to be ‘
‘ like structure. This thing is actually very good, it shows you are 95% done. You can now modify the files –
and
, that is the virtual host to point towards your domain. Please follow this guide :
It is for Ubuntu, but the basic is the same. You can search with ‘how to set virtual host in Red Hat Linux’ to get specific instructions if you need.
We avoid this last step to set virtual host as different users needs different setup. I pointed you the traditional easy way above. But, from your question, it appears it can be a trouble to many. We will definitely add new detailed guide on this very soon.
Thanks and Regards,
Abhishek
Thank you thank you thank you Abhishek! I’m going to set up a server tonight. I have a multi-site setup with many different domains. Will I need to have BIND 2 setup as well or should I just read that article no Virtual hosts? I’ve been using cPanel for years now and I’m ready to step my game up.
Yes Jean, for Virtual Host and Domain name Pointing there are two separate guides (the first one is usually enough) :
http://thecustomizewindows.com/2012/10/adding-domain-name-to-rackspace-cloud-server-one-server-setup/
http://thecustomizewindows.com/2012/03/apache-virtual-host-details-and-guide-to-to-set-up-virtual-host/
We also noticed that users searches for the next steps !
If you need a control panel you can use OpenPanel : http://thecustomizewindows.com/2012/07/installing-openpanel-on-rackspace-cloud-server/ (its free and supports loadbalancers).
For paid use only Plesk, cPanel get installed (we have tutorial too) but actually is not very stable on Rackspace Cloud Server.