Changes

From Amahi Wiki
Jump to: navigation, search
360 bytes added ,  02:09, 23 June 2020
{{NeedsUpdate}}{{MessageBox|backgroundcolor = #FBB|image =Warning.png|heading =WARNING|message = Not recommended for beginners. Proceed with caution!}} [http://www.tonido.com Tonido ] does not support Fedora, nor is there a 64-bit version. I managed to make it work and thought I'd share how for those interested. A similar process should work on 32-bit Amahi installs. '''NOTE:''' The [http://www.amahi.org/apps/tonido 32-bit] version has been packaged for Amahi and currently in <span style="background-color:red">'''Alpha'''</span> status.
== How to Install ==
* [[Open Terminal as root|As '''root''' user]], get some of the 32-bit libraries needed:
{{Code| yum install glibc.i686}}
* Download the 32-bit Ubuntu .deb package from Tonido
{{Link|insert link}} <nowiki>http://www.tonido.com/download.php?TonidoSetup_i686.deb</nowiki>
* Install ar:
{{Code| yum install ar}}
* Extract the contents of the Tonido .deb package:
{{Code|ar tar vx TonidoSetup_i686.deb}}
You will have a data.tar.gz file after this; install its contents:
{{Code| tar xzf data.tar.gz -C /}}
* Now we need to get a bunch of missing dependencies which we can do with an Ubuntu install disc.
* Download Ubuntu 32-bit CD install image and burn it
* make a couple of directories under /mnt:
{{Code| mkdir /mnt/tmp mkdir /mnt/tmp2}}
* Insert the Ubuntu disc and mount it. You can either let it automount or in my case I did it explicitly:
{{Code| umount /dev/sr0 mount /dev/sr0 /mnt/tmp}}
* Go to the "casper" directory on the Ubuntu CD and mount filesystem.squashfs:
{{Code| mount /mnt/tmp/casper/filesystem.squashfs /mnt/tmp2 cd /usr/local/tonido}}
* Try to start Tonido with:
{{Code| ./tonido.sh start}}
* It will fail. To see the missing dependency, use:
{{Code| cat /tmp/tonido_root.log}}
You'll see something like:
<pre>
/usr/local/tonido//tonidoconsole: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory</pre>
* Find the missing dependency in the lib or usr/lib directory of the mounted Ubuntu squashfs. I would typically do something like:
{{Code| find /tmp2/lib /tmp2/usr/lib <nowiki>|</nowiki> grep libz.so.1}}
*Copy the file you find (and if it is a symlink, the file it links to) to the /usr/local/tonido directory
Try start Tonido again. Keep doing these last few steps (start, check for failure, copy missing dependencies) until instead of an error in the log you see:
* Create web app named '''tonido'''
* [[Open Terminal as root|As '''root''' user]] do the following:
{{Code| ll /etc/httpd/conf.d}}* Edit the file below replacing based on the #### with the numberprevious command:{{Code| vi /etc/httpd/conf.d/<nowiki>####</nowiki>-tonido.conf}}* Add this after the ServerAlias lineand save:{{Text| RedirectPermanent / <nowiki>http://hdalocalhost:10001}}</nowiki>* Restart the web server:{{Code| service httpd restart}}* You should be able to can now access the app it via http://tonido  [[Category: apps]]
12,424

edits