Private SVN repository setup

    Note: this page is intended for MindTouch Deki Wiki developers.

    To switch modify your Deki Wiki VM to use the mindtouch svn server follow these steps

    1) download the latest VM from SourceForge

    2) unzip and launch

    3) log into the shell and run the following commands

    cd /opt
    rm -rf deki
    svn co https://svn.mindtouch.com/source/public/dekiwiki/trunk deki
    # when prompted for the root password, hit enter, then enter your https svn credentials
    cd /var/www
    rm -rf deki-hayes
    svn co https://svn.mindtouch.com/source/public/dekiwiki/trunk/web deki-hayes
    chown -R www-data deki-hayes
    updateWiki.sh 

     

    4) launch a browser and run the installer

    Additional steps:

     

    Enable ssh root login

    nano /etc/ssh/sshd_config

    change the following

    PermitRootLogin yes

    Restart ssh

    /etc/init.d/ssh restart

     

    Enable MySQL access from other hosts

    nano /etc/mysql/my.cnf

    comment out bind-address like this:

    #bind-address           = 127.0.0.1
    

    restart mysql

    /etc/init.d/mysql restart

     

    Enable samba to mount drive from windows

    nano /etc/samba/smb.conf

    Under Share Definitions create a share like this:

     [drive]
       comment = Deki Root folder
       path = /
       public = yes
       writeable = yes
       read only = no
       create mode = 0666
    

    Under "Authentication" comment out this line:

    ;   invalid users = root 

    Save file and exit

    Add root to smbpasswd file

    smbpasswd -a root

    Restart samba

    /etc/init.d/samba restart

     

    Install additional dev tools

    To build the C# bits from source you'll need the mono gmcs compiler

    apt-get install mono-gmcs make
    

     




     

    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by