• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Installing Piwik on Rackspace Cloud Sites

By Abhishek Ghosh July 21, 2012 10:51 pm Updated on July 21, 2012

Installing Piwik on Rackspace Cloud Sites

Advertisement

Installing Piwik on Rackspace Cloud Sites is very easy and needs few steps. Piwik is an Open Source Server Installable Real Time Web Analytics Software. Piwik is less known Free Server Installable Real Time Web Analytics Software than commercial solutions. However, Piwik is most powerful among the Server Installable Real Time Web Analytics Software we tested, including paid Google Urchin which The Rackspace Cloud provided free of cost in managed configurations before Urchin died. Installing Piwik on Rackspace Cloud Sites is as easy as installing WordPress on Rackspace Cloud Sites.

Prerequisites for Installing Piwik on Rackspace Cloud Sites

 

Before you start Installing Piwik on Rackspace Cloud Sites, apart from a Rackspace Cloud Sites account, you will need the following tools, we have linked appropiately :

 

  • If you are using Windows OS, you can download WinSCP for accessing SFTP.
  • We are assuming that you are using WordPress for the later parts, however, this point will not matter for the actual steps needed for Installing Piwik on Rackspace Cloud Sites.
  • Google Chrome or Opera Browser will be better for Windows OS,  Google Chrome or Safari will be better for Mac OS X. We do not recommend Firefox anymore, its unnecessarily heavier for our purpose.
  • Download the latest version of from Piwik’s official website.
  • For Windows, a good text editor like gedit will be helpful, but not mandatory.
  • Increase your PHP Memory Limit from htaccess to 512MB or 1024 MB. It is not mandatory but I recommend it to take the advantage.

 

Actual Steps for Installing Piwik on Rackspace Cloud Sites

 

We will install Piwik on a subdirectory for this guide for Installing Piwik on Rackspace Cloud Sites. It is possible to install Piwik on subdomain or other domain.

Advertisement

---

 

Creating a separate MySQL database for Installing Piwik on Rackspace Cloud Sites

 

Your website must run on LAMP setup. If it is WordPress 90% chance is you are using LAMP already. Login to your Rackspace account, go to Cloud Sites and click to open the website under question.  Now click the features tab :

 

adding-databases-to-Rackspace-Cloud-Sites

 

Click Add under Databases. (Note : if you scroll down this page, you will see the Cron Jobs)

Now open any Text Editor. Give the database a name, click continue and write the database name in your Text Editor. In the next page, you will have to add a Database Username and password, use anything and write down it in your text editor.? Click Finish.

The database will be created and it generally takes 2-5 minutes for proper functioning. You will see the hyperlinked database name under Databases. Simply clicking it will open the Database Information page :

 

example

 

 

Copy and paste the ˜Hostname™ , password, database name, database user name in your text editor.  Steps for creating a separate MySQL database for Installing Piwik on Rackspace Cloud Sites is complete.

 

The core part for Installing Piwik on Rackspace Cloud Sites

 

Now, unzip Piwik on your desktop. Open WinSCP and go to :

 

Vim
1
root/www.yourdomain.com/web/content/

 

Create a subdirectory, we created piwik for our website. Drag and Drop the files in WinSCP :

 

Installing Piwik on Rackspace Cloud Sites

 

It will take a bit time to get transferred. After it is complete, from your browser, point to :

 

Vim
1
http:// www.yourdomain.com/piwik-directory-name/

 

Like, in our case, during Installing Piwik on Rackspace Cloud Sites, it was :

 

Installing Piwik Analytics on Rackspace Cloud

 

System check would show all green. Then the third and most important point for Installing Piwik on Rackspace Cloud Sites will arrive, its the database details :

 

piwik database

 

Please scroll above to see the Psi sign in red color like this – ?

Yes, the database server is not local host or the IP of local host, please look the second (counting from the beginning) screenshot carefully. Just follow the screen instructions. At number 8 step, you will get the Javascript for tracking :

 

piwik code

 

Copy paste it in Notepad. This is the thing you will need to insert like you do for Google Analytics. Complete the steps and you will end with fun. http:// www.yourdomain.com/piwik-directory-name/ will now point to your Piwik login screen, just like ours : https://thecustomizewindows.com/piwik/

 

Post installation process after Installing Piwik on Rackspace Cloud Sites

 

I recommend to perform these as a part of Installing Piwik on Rackspace Cloud Sites, taking that you are using WordPress, for other CMS, it will need a bit modification.

 

  • Create a robots.txt file in the root of the piwik installation subdirectory and add

 

Vim
1
2
User-agent: *
Disallow: /

 

Save it and CHMOD it to 0444. Otherwise Piwik change it ! You will not love to donate outgoing link juice or get indexed.

  •  In the same way, on your root robots.txt file, add :

 

Vim
1
Disallow: /piwik/

 

Where piwik is the name of  of the piwik installation subdirectory.

 

  • Create a .htaccess file in the root of the piwik installation subdirectory and allocate the folder the php memory like we said before starting Installing Piwik on Rackspace Cloud Sites. The basic methods for optimizing WordPress for speed through .htaccess and security will work here too. Root’s .htaccess rules will also work here, so by default you can not access https://thecustomizewindows.com/piwik/config/config.ini.sample.php by virtue of WordPress. PHP Flush works here too, but do not use it.
  • In my opinion, using Header and Footer Plugin or something like that is the best way to insert the tracking code in WordPress. Avoid those WP-Piwik like junks. They are basically useless and increases the burden and sucks compute cycles.
  • Optimization of code : The noscript part is not needed. You can safely delete the whole noscript part. You will notice the document.write(unescape(“%3Cscript src=’ part, simply upload piwik.js to Cloud Files, copy its url and replace it. So, in my case the adjacent part is becoming :

 

Vim
1
2
3
4
5
document.write(unescape("%3Cscript src='http://myuniquenumber.cf6.rackcdn.com/piwik.js'
type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);

 

So this long story is not actually only for Installing Piwik on Rackspace Cloud Sites but for optimizing it too.

 

Signature

 

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

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

Articles Related to Installing Piwik on Rackspace Cloud Sites

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Install Piwik on nginx on Ubuntu 14.04 on Rackspace Cloud

    Here are all the needed commands to install piwik on nginx on Ubuntu 14.04 on Rackspace Cloud Server with GeoIP PECL and GeoIP PHP modules.

  • Install Piwik on Rackspace Cloud Server (Ubuntu 14.04)

    This is a step by step guide to install Piwik analytics software on Rackspace Cloud Server running Ubuntu 14.04 LTS with all the commands.

  • Installing WordPress on Rackspace Cloud Sites : Step by Step Guide

    Installing WordPress Rackspace Cloud Sites is very easy. However, Rackspace uses their own version of Control Panel. Here is full step by step guide.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

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

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

vpsdime

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Cloud-Powered Play: How Streaming Tech is Reshaping Online GamesSeptember 3, 2025
  • How to Use Transcribed Texts for MarketingAugust 14, 2025
  • nRF7002 DK vs ESP32 – A Technical Comparison for Wireless IoT DesignJune 18, 2025
  • Principles of Non-Invasive Blood Glucose Measurement By Near Infrared (NIR)June 11, 2025
  • Continuous Non-Invasive Blood Glucose Measurements: Present Situation (May 2025)May 23, 2025
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2026 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy