Changes between Version 22 and Version 23 of PiwikServer
- Timestamp:
- 06/29/11 20:21:48 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PiwikServer
v22 v23 2 2 = Piwik Web Stats = 3 3 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:1605 4 6 5 == Live Server == 6 7 The live install at https://stats.transitionnetwork.org/ on the NewLiveServer. 7 8 8 9 === Install === … … 196 197 }}} 197 198 199 ===GA Import=== 200 201 First install Python 2.6 from source: 202 203 {{{ 204 aptitude build-dep python2.5 205 cd /usr/local/src 206 wget http://www.python.org/ftp/python/2.6.7/Python-2.6.7.tgz 207 tar -zxvf Python-2.6.7.tgz 208 cd Python-2.6.7 209 ./configure --with-threads --enable-shared 210 make 211 make install 212 ln -s /usr/local/lib/libpython2.6.so* /usr/lib/ 213 cd /usr/local/src 214 wget 'http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz#md5=7df2a529a074f613b509fb44feefe74e' 215 tar zxvf setuptools-0.6c11.tar.gz 216 cd setuptools-0.6c11 217 python setup.py install 218 cd /usr/local/src 219 wget "https://gdata-python-client.googlecode.com/files/gdata-2.0.14.tar.gz" --no-check-certificate 220 tar -zxvf gdata-2.0.14.tar.gz 221 cd gdata-2.0.14 222 python setup.py install 223 purge python-mysqldb 224 wget "http://downloads.sourceforge.net/project/mysql-python/mysql-python/1.2.3/MySQL-python-1.2.3.tar.gz" 225 tar -zxvf MySQL-python-1.2.3.tar.gz 226 cd MySQL-python-1.2.3 227 vim site.cfg 228 mysql_config = /usr/bin/mysql_config 229 aptitude install libmysqlclient-dev 230 python setup.py build 231 python setup.py install 232 }}} 198 233 199 234 … … 203 238 204 239 == Dev Server == 240 241 The [http://piwik.org/ Piwik] server that is to be installed on the DevelopmentServer, the install was done on ticket:160 205 242 206 243 === Config === … … 305 342 ==== Python ==== 306 343 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]:344 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: 308 345 309 346 {{{