官方SimpleHost的博客 简单云 云主机 一键建站 最强主机's Archivers

From admin on 2014-06-13 21:29:51

【简单云】-Piwik介绍及安装

简单主机2.0 82元/月 马上注册

PiWik是一款类似于Google Analytics的网站流量统计系统,它也是以Google分析为目标,不过它是用PHP开发且开源的,在遵守GPL Licensed的前提下你可以拿来任意使用。它可以提供你网站实时访问情况,比如访问者IP、来源页面、通过哪个搜索引擎来到你的网站等等,当然还有丰富的报告如最近访问者及各种图表等等。

PiWik的安装也非常简单,它一步一步地引导你进行安装,如果你熟悉Wordpress的安装的话,你对此就会有所了解,只是它的步骤比Wordpress要多些。

 

Piwik的官方网址是:

http://piwik.org/

在右边就有下载链接,目前最新版本是1.1.1,下载之后解压出一个latest目录,将此目录中的所有东西都上传到你服务器的某一目录(比如tongji)下即可,然后通过访问http://你的域名/tongji/index.php即可进入到安装界面。

下面是子猴对其官方安装说明的一个翻译:

下面是5分钟安装:

欢迎界面

这是开始安装界面,点下一步开始进行

This is the start of the point and click installation. Click Next »

<img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/132954Pzr.png" alt="" width="700" height="389" />

系统检查System Check

PiWik将检查你的系统是否支持Piwik的安装需求

Piwik will check your system to ensure the server meets the Piwik requirements. If it does you will see a long list of ticks like these:

<img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/132957MhM.png" alt="" width="700" height="332" />

如果有任何错误,Piwik将指出来并告诉你如何去修正,类似如下:

If there is any problem Piwik will identify it and tell you how to solve it, as in this example:

<img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/132959QBG.png" alt="" width="678" height="384" />

当所需要的都满足了,然后点下一步

When all the requirements are met, click Next »

MySQL数据库安装MySQL Database Setup

Piwik将要求你填写一些MySQL数据库连接的信息,你可以询问你的网络服务供应商,如果你不清楚地话

Piwik will ask for the information it needs to set up a MySQL database. You may need to ask your web host or technical staff for the database information.

<img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133001pek.png" alt="" width="676" height="388" />

一旦完成了上述表格中的填写,就点下一步:

Piwik将创建一个数据库,如果需要的话(如果你填写的是已经存在的数据库,那当然就不会新建了)

Once you have filled in the form, click Next »

Piwik will create a database if needed, as well as all the necessary Piwik tables:

<img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/13300377x.png" alt="" width="700" height="371" />

Click Next »

超级用户

Piwik要求你输入一个超级用户名和密码,这是具有所有权限的超级用户。

Super User

Piwik will now ask for the super user’s name and password in order to create the super user account:

<img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133008ol1.png" alt="" width="700" height="338" />

这个超级用户信息是相当重要的,千万不要忘记!因为你需要用它来第一次登录Piwik系统,每次安装的时候只能有一个超级用户,使用这个超级用户,你就可以为你的统计添加新的网站,添加新的用户,改变用户权限及激活或去掉插件。

默认的是,这个超级用户将被注册到Piwik的官网,这样以后有什么系统更新或安全警告之类的就可以收到邮件了,当然了,你也可以通过取消一些选项而不接收邮件。

完成上面信息后,点下一步。

It is important that you do not forget this information, as it is the only way for you to login to Piwik for the first time. There can only be one super user per Piwik installation. The super user can perform administrative tasks like adding new websites to monitor, adding users, changing user permissions and enabling and disabling plugins.

By default the super user will be signed up for upgrade and security alerts, as well as for community updates. Uncheck these boxes if you do not want these emails.

Fill in the information and click Next »

第一次添加一个要统计网站

输入网站名及首页链接,Piwik将对这个网站进行统计,在安装完成后,你可以添加更多的网站。

First Website Setup

Enter the name and URL of the first website Piwik will be monitoring. You can add more websites once the installation is complete.

<img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133010OF3.png" alt="" width="670" height="241" />

下一步

Click Next »

显示统计用的JavaScript代码

Piwik将给出一段JavaScript统计代码,这段代码应该放在你想要被统计的页面中,我们强烈建议你放在页面</body>之前,如果你有一个公共的页面,比如页脚文件,那么放在此文件中就最好了。

Display JavaScript Code

Piwik will issue you with a JavaScript code. This code must appear on every page you want Piwik to analyze. We recommend that you put this code just before your </body> at the bottom of your pages (or in a general “footer” file that is included at the bottom of your pages).

<img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133016VgG.png" alt="" width="700" height="378" />

如果你的网站是用Wordpress、Drupal、Joomla搭建的,你将会发现有一个扩展插件让你的系统将这个标签显示在它该显示的地方,否则,你应当将你的标签放在模板中或者每一个需要被统计的页面中。

当你已经拷贝了你的跟踪标签,点下一步

If you run website software like WordPress, Drupal or Joomla, you will probably find that there is an add-on, extension or pluginfor your software to make sure this tag appear where it needs to. Otherwise you will need to put your tag either into your template or into each page you want to track.

When you have copied your tracking tag click Next »

祝贺,安装成功!

现在,你要做的就是等待着访问者了,Piwik将会跟踪他们,Piwik报告也是实时的,因此,你在Piwik的控制板可以直接看到访问数据。

Congratulations!

Now you just have to wait for visitors to come to your website. And as soon as you do, Piwik will be keeping track of who. Piwik reports are generated in real time, so you should see data in your Piwik dashboard straight away.

<img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133021SvQ.png" alt="" width="700" height="373" />

点继续,你将到控制台的登录页面,用你的超级用户登录就可以到控制后台了!

Click Continue to Piwik » and you will be asked to log on to enter your dashboard.

 

网上创业步骤】:1 开通云主机、域名  2 建设官方网站 3 整体网站推广 ... 成功见证 创业技能素质培训

更多有价值的内容:

简单主机官方网站

简单主机官方网店

简单主机官方相册

简单主机官方博客

 <img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133023e8D.jpg" alt="QQ空间" width="36" height="36" border="0" data-cke-saved-src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133023e8D.jpg" /><img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133023gVu.jpg" alt="腾讯微博" width="36" height="36" border="0" data-cke-saved-src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133023gVu.jpg" /><img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133023m7L.jpg" alt="新浪微博" width="36" height="36" border="0" data-cke-saved-src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133023m7L.jpg" /><img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133023rYs.jpg" alt="网易微博" width="36" height="36" border="0" data-cke-saved-src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133023rYs.jpg" /><img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133023XTD.jpg" alt="搜狐微博" width="36" height="36" border="0" data-cke-saved-src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133023XTD.jpg" /><img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133023lCT.jpg" alt="人民网微博" width="36" height="36" border="0" data-cke-saved-src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133023lCT.jpg" /><img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133023fWw.jpg" alt="微信公众号" width="36" height="36" border="0" data-cke-saved-src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133023fWw.jpg" /><img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133024ckv.jpg" alt="朋友网" width="36" height="36" border="0" data-cke-saved-src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133024ckv.jpg" /><img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133024eQe.jpg" alt="淘宝网" width="36" height="36" border="0" data-cke-saved-src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133024eQe.jpg" /><img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133024kt5.jpg" alt="豆瓣网" width="36" height="36" border="0" data-cke-saved-src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133024kt5.jpg" /><img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133024Ffm.jpg" alt="百度空间" width="36" height="36" border="0" data-cke-saved-src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133024Ffm.jpg" /><img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133024U2G.jpg" alt="新华微博" width="36" height="36" border="0" data-cke-saved-src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133024U2G.jpg" /><img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133025kyl.jpg" alt="优酷网" width="36" height="36" border="0" data-cke-saved-src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133025kyl.jpg" /><img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133025LTF.jpg" alt="人人网" width="36" height="36" border="0" data-cke-saved-src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133025LTF.jpg" /><img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133025DDr.jpg" alt="开心网" width="36" height="36" border="0" data-cke-saved-src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133025DDr.jpg" /><img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133025TSZ.gif" alt="天涯社区" width="49" height="36" border="0" data-cke-saved-src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/133025TSZ.gif" /><img src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/1330250qQ.jpg" alt="简单云,简单主机,简单建站" width="260" height="27" border="0" data-cke-saved-src="http://blog.simplehost2.com/wp-content/uploads/auto_image/2014/06/1330250qQ.jpg" />

微信号:simplehost

<img title="xgetqrcode" src="http://blog.simplehost2.com/wp-content/uploads/2014/04/xgetqrcode.jpg" alt="" width="150" height="150" />

扫一扫,了解更多...

查看完整版本: 【简单云】-Piwik介绍及安装

Tags:


©官方SimpleHost的博客 简单云 云主机 一键建站 最强主机