Installing WordPress on Rackspace Cloud Sites with CLI and Script requires very less technical knowledge or UNIX commands, simply follow the way of our guide. This guide, Installing WordPress on Rackspace Cloud Sites with CLI and Script basically reduces the pain of uploading WordPress manually as we described in the tutorial Installing WordPress on Rackspace Cloud Sites. In that tutorial, simply omit the steps written under the subheader Installing WordPress on Rackspace Cloud Sites.
Installing WordPress on Rackspace Cloud Sites with CLI and Script : Preface
If you are a normal human being, you will not understand anything that we are going to do in this Installing WordPress on Rackspace Cloud Sites with CLI and Script guide. Screen shots will more confuse you. So to demystify, please read this Rackspace Cloud Sites from Command Line Interface guide first. This is some what opt out option for you, like php die().
Installing WordPress on Rackspace Cloud Sites with CLI and Script : Steps
First go to this webpage :
---
1 | https://github.com/AbhishekGhosh/wp-downloader/blob/master/wp-downloader.php |
Download the zip file and extract it on desktop. There will be a php file, named wp-downloader.php. For convenience, we have renamed it to foo.php in this guide. Copy paste that foo.php file to the same folder as we described on that linked previous tutorial (inside C:Program Files (x86)GnuWin32bin for a normal setup Windows 7 64 bit PC). Open console by double clicking it and run these commands :
To make psftp.exe working :
1 | psftp.exe |
To login :
1 | open <span style="color: #0000ff;">your-rackspace-username</span>@<span style="color: #ff00ff;">your-rackspace-cloud-sites-ip </span> |
Change the funky colored texts to real values.

Change your location from SFTP root to /web/content/ directory. In the above screenshot, I have done in two steps using cd command, to show you how to do it in a bit illustrative way. You can do it in one step if your webfolder’s name is www.domain.com :
1 | cd <span style="color: #0000ff;">www.domain.com</span>/web/content |
Now upload the foo.php file by using put command :
1 | put <span style="color: #ff0000;">foo.php</span> |
Instantly it will be uploaded and return back to :
1 | psftp> |
Type bye to exit. Now point your browser to run the script :

Follow the wizard to complete installing WordPress. The script will download the latest version of WordPress in tar.gz format, extract it and delete that WordPress tar.gz file and itself will be deleted. There will be no foo.php on your server. This ends the tutorial for Installing WordPress on Rackspace Cloud Sites with CLI and Script. We will try to create more easier automated scripts, if we get time.
