Installing MediaWiki on Rackspace Cloud Sites is quite easy, simply follow our step by step guide for Installing MediaWiki on Rackspace Cloud Sites. You can install any other Wiki Software from our previously listed guide.
Installing MediaWiki on Rackspace Cloud Sites
In this guide for Installing MediaWiki on Rackspace Cloud Sites, we will install MediaWiki on a SubDomain because we want to use for our clients as a guide. You can install on a subfolder or main domain as per your need. The minimum softwares and other things you will need are :
- Any SFTP Software like WinSCP
- Rackspace Cloud Sites Account
- A good text editor like gedit
Simply follow this method for creating a subdomain on Rackspace Cloud Sites:
---
In your Rackspace Cloud Account Click the Add a New Site button and name it as you want :

Just follow the wizard only make the database option to Unlimited Databases and Finish it. It will take seconds to get the subdomain ready. If you open the url of the subdomain on your browser, you will notice that the default Rackspace Webpage :

Open the /yoursubdomain.com/web/content
directory on your SFTP software and delete the index.html file present there. You need to download MediaWiki software from here :
1 | http://www.mediawiki.org/wiki/Download |
You can uncompress and upload or if you are used with PHP scripting, use a script like this to simply do the work easily :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | <?php $url = "http://download.wikimedia.org/mediawiki/1.19/<span style="color: #ff0000;">mediawiki-1.19.2</span>.tar.gz"; $file = "<span style="color: #ff0000;">mediawiki-1.19.2</span>.tar.gz"; $esc = escapeshellarg($url); exec("wget " . $esc); $shell = "tar -xzvf $file"; //tar $shell = escapeshellcmd($shell); exec($shell,$nu); $del = "rm $file"; $del = escapeshellcmd($del); exec($del,$nu); print_r("done"); ?> |
If you now point your browser to the subdomain’s URL, you should see the default webpage of MediaWiki :
Click that “set up the wiki” link and simply continue to click “Continue” button untill you have reached the database setup page :

So we need a database. Go your Rackspace Cloud Sites account and create a database :

Follow the wizard to create a database. After the database is created, click the hyperlinked database url and you will get the details :

Read Why this is not localhost in case of Rackspace Cloud Sites
So copy paste them in your MediaWiki’s database form and simply continue to keep everything in default and it should normally complete Installing MediaWiki on Rackspace Cloud Sites. As a last step, you will get a file named LocalSettings.php generated by MediaWiki, save it and upload it through SFTP where your MediaWiki’s index.php file is located.
Hi Abhishek, I found your guide after I had done the same install of Mediawiki (1.20.0) on Rackspace Cloudsites.
I am having problems with uploading files, I get an error:
Upload warning
Could not acquire lock for “mwstore://local-backend/local-public/8/8f”.
Could not acquire lock for “mwstore://local-backend/local-public/8/8f/image.png”.
Have you found or fixed this issue?
I will be installing MediaWiki within 2-3 days, I will make it a video screen cast guide. That will help you more.
If somehow still does not work, report me. Probably there is issue with the full Linux path in your case.
I just could not go away your website before suggesting that I actually loved the usual info a person provide for your visitors?