Changes between Initial Version and Version 1 of TracUpgradeEden


Ignore:
Timestamp:
01/11/11 00:04:18 (11 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracUpgradeEden

    v1 v1  
     1= Trac Upgrade =
     2Build new Server from CD on temporary IP
     3
     4Upgrade to Squeeze
     5{{{
     6apt-get install openssh-server sudo lrzsz psmisc subversion python-setuptools python-docutils python-pygments bzr libapache2-mod-wsgi postgresql-8.4 python-psycopg2
     7a2enmod ssl
     8a2enmod rewrite
     9a2enmod deflate
     10a2enmod headers
     11a2enmod expires
     12}}}
     13
     14Copy users
     15
     16Install Trac 0.12.1 & Plugins:
     17{{{
     18easy_install Babel==0.9.5 Genshi==0.6
     19easy_install Trac
     20svn co http://trac-hacks.org/svn/accountmanagerplugin/trunk accountmanagerplugin
     21cd accountmanagerplugin
     22python setup.py install
     23cd ..
     24svn co http://trac-hacks.org/svn/recaptcharegisterplugin/0.11/ recaptcharegisterplugin
     25cd recaptcharegisterplugin
     26python setup.py install
     27cd ..
     28bzr branch https://code.launchpad.net/~trac-bzr-team/trac-bzr/trunk trac-bzr
     29cd trac-bzr
     30python setup.py install
     31cd ..
     32svn co http://trac-hacks.org/svn/mathcaptchaplugin/0.12/ mathcaptchaplugin
     33cd mathcaptchaplugin
     34python setup.py install
     35cd ..
     36svn co http://trac-hacks.org/svn/sectioneditplugin/0.12/ sectioneditplugin
     37cd sectioneditplugin
     38python setup.py install
     39cd ..
     40svn co http://trac-hacks.org/svn/translatedpagesmacro/0.11/ translatedpagesmacro
     41cd translatedpagesmacro
     42python setup.py install
     43cd ..
     44svn co http://trac-hacks.org/svn/tocmacro/0.11/ tocmacro
     45cd tocmacro
     46python setup.py install
     47cd ..
     48svn co http://trac-hacks.org/svn/externallinksnewwindowplugin/0.11/ externallinksnewwindowplugin
     49cd externallinksnewwindowplugin
     50python setup.py install
     51cd ..
     52svn co http://trac-hacks.org/svn/screenshotsplugin/0.12/ screenshotsplugin
     53cd screenshotsplugin
     54python setup.py install
     55cd ..
     56Theme:
     57svn co http://trac-hacks.org/svn/pydotorgtheme/0.11/ pydotorgtheme
     58cd pydotorgtheme
     59python setup.py install
     60}}}
     61Replace theme
     62cd /usr/local/lib/python2.6/dist-packages/TracPyDotOrgTheme-2.0-py2.6.egg/pydotorgtheme/htdocs/
     63rm pydotorg.css
     64(replace from backup)
     65
     66Copy data
     67
     68Upgrade:
     69{{{
     70trac-admin /home/sahana/trac upgrade
     71trac-admin /home/sahana/trac wiki upgrade
     72trac-admin /home/sahana/trac repository resync '*'
     73}}}
     74
     75Convert to pgsql:
     76 *http://trac-hacks.org/wiki/SqliteToPgScript
     77
     78IP in Apache (SSL) as well as system (after shutting down old server):
     79{{{
     80vim /etc/apache2/sites-available/trac
     81        212.23.5.3
     82vim /etc/network/interfaces
     83        address 212.23.5.3
     84        netmask 255.255.255.248
     85        network 212.23.5.0
     86        broadcast 212.23.5.7
     87        gateway 212.23.5.6
     88reboot
     89}}}