Install MindTouch on Ubuntu using the pre-configured package
After completing this tutorial you will have successfully installed MindTouch on Ubuntu
The following commands should be run as "root" (or as a user with root privileges).
Edit the "/etc/apt/sources.list" file to add the following line (select the version of Ubuntu you are running):
deb http://repo.mindtouch.com xUbuntu_9.04/
deb http://repo.mindtouch.com xUbuntu_9.10/
deb http://repo.mindtouch.com xUbuntu_10.04/
Type the following command to update your package indexes:
apt-get update
Type the following command to install packages that will enable MindTouch's full functionality:
apt-get install html2ps poppler-utils html2text wv gs tidy links msttcorefonts cabextract mysql-server
Note: Installation of some dependencies may require interaction. Answer "yes" to all authentication/verification questions.
To enable HTML-to-PDF printing, PrinceXML must be installed by entering the following commands:
wget http://www.princexml.com/download/prince_7.1-1_i386.deb dpkg -i prince_7.1-1_i386.deb
wget http://www.princexml.com/download/prince-7.1-linux.tar.gz tar -xzvf prince-7.1-linux.tar.gz cd /prince-7.1-linux sudo ./install.sh
Hit Enter when asked for the install directory location
apt-get install mindtouch
Install the trusted roots certificates from the Mozilla LXR website into the Mono certificate store by entering the following:
apt-get install mono-devel
Then run the following
su dekiwiki $ mozroots --import --sync $ exit
After the install has finished, edit /etc/apache2/sites-available/dekiwiki and change the ServerName to match the URL that you will be entering into the web browser to arrive at your wiki. This will allow the Apache virtual host to direct traffic to MindTouch.
Enter the following command to enable MindTouch in Apache and disable the initial default site:
a2ensite dekiwiki a2dissite default
Once that has been done, enter the following line to reload Apache:
/etc/init.d/apache2 reload
Go to "http://your_server/config/index.php" to complete the configuration.
When you load the IP address for the MindTouch install it will present you with the following web installer where you can click INSTALL next to the MindTouch product you want to install. In this documentation we will be selecting the MindTouch 2010 installation.

Clicking INSTALL next to MindTouch 2010 will then present you with the following screen where you need to fill out the highlighted fields. Once you have filled out the form then click NEXT at the bottom of the screen.

You will now see the configuration screen where you will need to specify the database settings along with the location of specific programs on the server. Once you have confirmed/changed then click NEXT

You will now see the following page where you can fill out details about your install as follows. Once you have made the appropriate selections please select NEXT to proceed.

This will then present you with an overview of your configuration. If anything needs to be changed you can click Edit next to the section. Otherwise continue by clicking INSTALL MINDTOUCH.

This will then take you to the following page which confirms that a license has been sent to you in an email. When you receive the email, save the .xml file that is attached to a location on your computer that you can easily access for the next step. Run the commands listed in the black box in the server console. Then click CONTINUE TO MINDTOUCH to then apply your license to your installation.

This will then bring you to your Product Activation page in the Control panel where you will select Choose File to upload the xml license file that was emailed you.

Then click Activate License which will then show you the following screen:

You have now successfully installed MindTouch. Continue with our Setup and Configuration guide to get your MindTouch install ready for production.
If you encounter issues with MindTouch not starting confirm the version of Mono by running mono --version If it doesn't say 2.4.3, run the following:
mv mono mono.old mv gmcs gmcs.old ln -s /opt/mono-2.4/bin/mono /usr/bin/mono ln -s /opt/mono-2.4/bin/gmcs /usr/bin/gmcs
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by
Then did all the commands listed - no errors so far.
But when I tried to click on the button to continue to the wiki, I got a "page not found"
And trying to access http://my.server/dekiwiki just throws me back to the root page of the webserver...
I will add a post in the forum about this.
Also - one thing to remember is to prefix all commands with sudo.
under Ubuntu the recommended way to start root is "sudo su", and use your own password when prompted.
1) Installing mono fails with mcs.exe not found.
2) The mindtouch package in the mindtouch repository is not signed with repository key and fails to install. Overriding or ignoring this is wrong from numerous perspectives.
Lower Priority:
3) There appear to be dependency conflicts as the mindtouch repo pulls in all dependencies.
Perhaps better packaging could boil this down to adding a repo and sudo apt-get install mindtouch?
Since there edited 17:42, 22 Jan 2011
see http://forums.developer.mindtouch.com/showthread.php?t=7667 to import keys
everything looks fine since then
From http://developer.mindtouch.com/en/docs/mindtouch_setup/010Installation/Attachment_contents_aren't_being_searched 'ppthtml' package is missing in the current depency packing
So, how can one progress past the su dekiwiki
Nike air max pas cher air jordan retro
Was a bit of a chore but I had to create a symbolic link from the LocalSettings.php file in \etc\dekiwiki to \var\www\dekiwiki like this:
sudo ln -s \etc\dekiwiki\LocalSettings.php \var\www\dekiwiki\LocalSettings.php
To stop the install screen loop after way too many attempts. I thought it was a problem with me trying to use a remote mysql server from the install machine.
There was another error when trying the install on a remote machine in that there was a problem selecting the database after the user and the database was created. Log entry in the dekiwiki log:
2011-04-08 07:41:22,807 [DispatchThread #12] ERROR DekiWikiService_default - Error initializing instance
MySql.Data.MySqlClient.MySqlException: Access denied for user 'wikiuser'@'hostmane.com' (using password: YES)
I had to go into the remote mysql and change the host to the mysql.user table to the host of the connecting machine but then the installer had me start again. I also needed to drop the 'wikidb' database to get it to work as well as the process was going again but of course the database was there already.
Has ended up being a bit hacky on 10.10 but got there with the setup we need in the end.
Hope the feedback will help with future development...
Teach me to be so keen to get it going and not read it properly!
Thanks
Very helpful instructions - thank you.
Like some earlier postings, after finishing it took us back to config page, despite following the 'extra' instructions about localsettings etc after web config.
Turned out dekiwiki was starting and then failing.
Searching in forums showed the problem was likely in the Mono version - despite installing v2.10, running
$mono --version
showed 2.4. A puzzle as immediately after install it showed 2.10.
Cannot completely rule out us not doing the shortcut linking wrongly but we think it was OK. However redoing that part seemed to solve the problem.
i.e. redoing the following -
cd /usr/bin
mv mono mono.old
mv gmcs gmcs.old
ln -s /opt/mono-2.10/bin/mono /usr/bin/mono
ln -s /opt/mono-2.10/bin/gmcs /usr/bin/gmcs
(might it be possible the mono-devel install changed something back?)
Hope this might help someone else.
PS - Graham - realise it is a long time but if you are logged in as root (having used sudo -i first) then su dekiwiki should work without another password - or it did for us anyway. edited 05:00, 3 Nov 2011