Changes between Version 22 and Version 23 of PiwikServer


Ignore:
Timestamp:
06/29/11 20:21:48 (5 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PiwikServer

    v22 v23  
    22= Piwik Web Stats = 
    33 
    4 This page is to document the [http://piwik.org/ Piwik] server that is to be installed on the DevelopmentServer, the install was done on ticket:160 
    54 
    65== Live Server == 
     6 
     7The live install at https://stats.transitionnetwork.org/ on the NewLiveServer. 
    78 
    89=== Install === 
     
    196197}}} 
    197198 
     199===GA Import=== 
     200 
     201First install Python 2.6 from source: 
     202 
     203{{{ 
     204aptitude build-dep python2.5  
     205cd /usr/local/src 
     206wget http://www.python.org/ftp/python/2.6.7/Python-2.6.7.tgz 
     207tar -zxvf Python-2.6.7.tgz 
     208cd Python-2.6.7 
     209./configure --with-threads --enable-shared 
     210make 
     211make install  
     212ln -s /usr/local/lib/libpython2.6.so* /usr/lib/ 
     213cd /usr/local/src 
     214wget 'http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz#md5=7df2a529a074f613b509fb44feefe74e' 
     215tar zxvf setuptools-0.6c11.tar.gz 
     216cd setuptools-0.6c11 
     217python setup.py install 
     218cd /usr/local/src 
     219wget "https://gdata-python-client.googlecode.com/files/gdata-2.0.14.tar.gz" --no-check-certificate 
     220tar -zxvf gdata-2.0.14.tar.gz 
     221cd gdata-2.0.14 
     222python setup.py install 
     223purge python-mysqldb 
     224wget "http://downloads.sourceforge.net/project/mysql-python/mysql-python/1.2.3/MySQL-python-1.2.3.tar.gz" 
     225tar -zxvf MySQL-python-1.2.3.tar.gz  
     226cd MySQL-python-1.2.3 
     227vim site.cfg 
     228 mysql_config = /usr/bin/mysql_config 
     229aptitude install libmysqlclient-dev 
     230python setup.py build 
     231python setup.py install 
     232}}} 
    198233 
    199234 
     
    203238 
    204239== Dev Server == 
     240 
     241The [http://piwik.org/ Piwik] server that is to be installed on the DevelopmentServer, the install was done on ticket:160 
    205242 
    206243=== Config === 
     
    305342==== Python ==== 
    306343 
    307 For the Google Analytics data import we need Python 2.6 and we are running with Python 2.5.2, so [http://evan.borgstrom.ca/post/845359613/python-2-6-on-debian-lenny-5-0 following this] a source compile was done on the dev server, however for the live server it would make more sense to follow [http://www.fps-gamer.net/installing-python-2-6-on-debian-lenny/ these instructions and use the debs from testing perhaps]: 
     344For the Google Analytics data import we need Python 2.6 and we are running with Python 2.5.2, so [http://evan.borgstrom.ca/post/845359613/python-2-6-on-debian-lenny-5-0 following this] a source compile was done on the dev server: 
    308345 
    309346{{{