Install WordPress on Rackspace Cloud Server : Step by Step Guide

Download PDF

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

 

This article is older and we suggest our readers to follow our latest guide : How To Install WordPress on Ubuntu 13.10 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 :

install WordPress on Rackspace Cloud Server

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 -

rackspace cloud server

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 -

rackspace cloud server options

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 :

 

cd /var/www/html/

 

Now we are on the desired directory. Type and hit enter / return :

 

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 :

 

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 :

 

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.
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 :

 

yum -y install httpd php mysql mysql-server php-mysql

 

This is a fantastic command and saves huge time. Start MySQL -

 

service mysqld start

 

Now go to MySQL by -

 

mysql

 

Hit return. Now create a database by typing -

 

create database wordpress;

 

here is the wrong people usually do -

Rackspace console

Type -

 

create user ‘wordpress’@’localhost’ identified by ‘password’;

 

then -

 

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 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 :

 

 

Abhishek-Ghosh

Searched Terms:

Install WordPress on Ubuntu on Rackspace Cloud Server, rackspace wordpress
0saves

Here’s what we’ve got for you which might like :

Also, we have YouTube Videos and Apple iTunes Podcast Channel (the link will open iTunes App on Mac).

Additionally, performing a search on this website can help you.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Google+ or Twitter to join the conversation right now!

If you want to Advertise on our Article or want Business Partnership, you are invited to Contact us.

Contact Us

Comments

  1. Aaron says

    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;

  2. says

    Sorry for that [] thing produced by WordPress. Thanks for the appreciations. Its actually (now corrected) :

    grant all privileges on ‘.’ to ‘wordpress’@’localhost’ with grant options;

  3. Chris says

    Trouble with extraction… Use this command “tar -zxvf latest.tar.gz” just lose the quotes.

  4. technophilo says

    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?

  5. says

    Hi,

    That means you have completed all the steps rightly. Instead of domain name all are remaining to be ‘ your-ip/wp-admin.php ‘ like structure. This thing is actually very good, it shows you are 95% done. You can now modify the files – /etc/apache2/ports.conf and /etc/apache2/sites-available/, that is the virtual host to point towards your domain. Please follow this guide :

    http://www.rackspace.com/knowledge_center/article/ubuntu-apache-virtual-hosts

    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

  6. says

    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.

  7. says

    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.