MindTouch Developer Center > Deki > FAQ > Migration > How do I...Switch my package-based install to SVN

How do I...Switch my package-based install to SVN

Table of contents
No headers

To make it clean, best way is to remove your package first and then check-out from SourceForge SVN. This procedure has been tested on CentOS5, other platforms might need some adjustments. You will need administrator privileges for these operations.

    

- Stop running services

# service dekiwiki stop
# service httpd stop

    

- Remove package-based installation (will preserve the database and configuration files)

# rpm -e dekiwiki


- Clean up the cache(s)

# rm -rf /var/www/dekiwiki/bin
# rm -rf /var/www/dekiwiki/skins/common/cache/cache-*


- Check out the latest bits from SourceForge

# svn co http://dekiwiki.svn.sourceforge.net/svnroot/dekiwiki/public/dekiwiki/8.05/web /var/www/dekiwiki
# svn co http://dekiwiki.svn.sourceforge.net/svnroot/dekiwiki/public/dekiwiki/8.05/src/scripts /opt/deki/src/scripts
# svn co http://dekiwiki.svn.sourceforge.net/svnroot/dekiwiki/public/dekiwiki/8.05/config /opt/deki/config

/var/www/dekiwiki is the website document root

/opt/deki contains some useful scripts and configuration templates


- Re-install the init script

# mv /opt/deki/config/dekiwiki-init.redhat /etc/init.d/dekiwiki
# chmod 755 /etc/init.d/dekiwiki


- Set correct permissions on files

# chown -R apache:apache /var/www/dekiwiki

    

- Enable the Apache configuration

# mv /etc/httpd/conf.d/deki-apache.conf.rpmsave /etc/httpd/conf.d/deki-apache.conf

    

- Update the database schema

# cd /var/www/dekiwiki/maintenance
# php update-db.php

    

- Restart the services

# service httpd start
# service dekiwiki start


You should now be able to access your "SVN checked-out" MindTouch Deki. We recommend that you cleanup your browser's cache before connecting to your Deki.
 

    

Tag page
You must login to post a comment.
Powered by MindTouch Deki v.8.08.2