How to install Tonido on Ubuntu 14.04 LTS 64bit

Support for Tonido on the Desktop including Windows/Mac/Linux
User avatar
Steel
Super Tonidoid
Super Tonidoid
Posts: 33
Joined: Wed Mar 19, 2014 11:55 am

How to install Tonido on Ubuntu 14.04 LTS 64bit

Postby Steel » Wed Oct 29, 2014 3:02 pm

In this guide I will explain how to get Tonido running on Ubuntu 14.04 LTS 64bit.
I will be using Ubuntu 14.04 LTS 64bit Server, but it should work for both Server and Desktop versions.

**Note: This guide should also work with all versions of Ubuntu back down to 12.04 LTS with little to
no modifications.

My server specs:
Dell PowerEdge 1950
2x Intel Xeon 2.8GHz Quad Core Processors
24 GBs DDR2 PC2 5300
2x 300GBs SAS 10K Drives
Ubuntu 14.04 Server 64bit

1. First make sure your installation is up to date.

Code: Select all

#sudo aptitude update && sudo aptitude upgrade –y

or for desktop versions (if you don’t have aptitude)

Code: Select all

#sudo apt-get update && sudo apt-get upgrade –y


**Note: I use aptitude because 1. I am using a Server version of Ubuntu that has it pre-installed and does not come with apt-get. 2. Because aptitude will update and upgrade everything including the kernel which apt-get does not.

2. After upgrading all the system files, reboot to make all the changes take effect.

Code: Select all

#sudo reboot

or

Code: Select all

#sudo shutdown now –r


3. Now, lets install a couple of dependencies to make Tonido work when we install it.

Code: Select all

#sudo aptitude install libjpeg8 libfontconfig1


4. Create a directory for Tonido.

Code: Select all

#sudo mkdir /usr/local/tonido


5. Navigate to your newly created /tonido directory.

Code: Select all

#cd /usr/local/tonido


6. Now download the Tonido tarball.

Code: Select all

#sudo wget http://www.tonido.com/download.php?tonido64.tar.gz


7. When the download is complete you can verify that the file is there is the #ls command.

Code: Select all

#ls


You should have and file name similar to this.

Code: Select all

download.php?tonido64.tar.gz


*Now I am not a fan of that file name, so lets change it to what it should be, since this is the part that I think gives people new to Linux the most trouble since even the Tonido site uses a different file name.

**We are going to change the file name to just “tonido.tar.gz”using the move command.

Code: Select all

#sudo mv download.php?tonido64.tar.gz tonido.tar.gz


***You can also verify that name change with the #ls command

Code: Select all

#ls


8. Extract all the files into the /tonido directory.

Code: Select all

#sudo tar –zxvf tonido.tar.gz


9. Make Tonido start at boot.

In Terminal type:

Code: Select all

sudo nano /etc/rc.local


Then add in the following line:

Code: Select all

/path/to/tonido/tonido.sh start


For me it is:

Code: Select all

/usr/local/tonido/tonido.sh start


In the end it should look like:

Code: Select all

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

/usr/local/tonido/tonido.sh start

exit 0


Press Ctrl+X, then Y, then Enter to close and save the file.

This will make tonido always run at boot. If you already have Tonido installed you my need to recover your account once this is done.

10. Start Tonido

Code: Select all

#sudo tonido.sh start


11. Go to your browser of choice and enter in your IP address with port 10001

Code: Select all

xxx.xxx.xxx.xxx:10001

Create your account and start using Tonido. TaDa!!!
===========================================================
Some Troubleshooting tips.

OK. So you followed my instructions to a T and it is still not working for you. Well let's make sure there are no other missing dependencies.

1. Find any missing dependencies using the following commands:

Code: Select all

#export LD_LIBRARY_PATH=.

Code: Select all

#ldd ./tonidoconsole


That should return something that looks similar to this:

Code: Select all

linux-vdso.so.1 =>  (0x00007fff169fe000)
   libbootstrap.so => ./libbootstrap.so (0x00007f12a2265000)
   libPocoFoundation.so.12 => ./libPocoFoundation.so.12 (0x00007f12a1efc000)
   libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f12a1bf2000)
   libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f12a19dc000)
   libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f12a1616000)
   libtag.so.1 => ./libtag.so.1 (0x00007f12a1379000)
   libjpeg.so.8 => not found
   libgd.so.2 => ./libgd.so.2 (0x00007f12a1133000)
   libPocoCrypto.so.12 => ./libPocoCrypto.so.12 (0x00007f12a0f11000)
   libPocoZip.so.12 => ./libPocoZip.so.12 (0x00007f12a0cd0000)
   libPocoNetSSL.so.12 => ./libPocoNetSSL.so.12 (0x00007f12a0a92000)
   libPocoNet.so.12 => ./libPocoNet.so.12 (0x00007f12a07b3000)
   libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f12a05af000)
   libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f12a02a9000)
   libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f12a008a000)
   librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f129fe82000)
   /lib64/ld-linux-x86-64.so.2 (0x00007f12a2bff000)
   libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f129fc68000)
   libjpeg.so.8 => not found
   libfontconfig.so.1 => not found
   libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f129f9c4000)
   libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f129f79e000)
   libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f129f540000)
   libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f129f165000)
   libPocoUtil.so.12 => ./libPocoUtil.so.12 (0x00007f129ef16000)
   libPocoXML.so.12 => ./libPocoXML.so.12 (0x00007f129ec86000)


You will look for anything that says 'not found' next to it. Here we have to missing libjpeg.so.8 and libfontconfig.so.1.

To find package options simply type in the beginning of the package and press 'Tab' twice. This will give you a list of package in the repos with similar names.
[code]#sudo aptitude install libjpeg
libjpa-2.1-spec-java libjpeg62 libjpeg8-dev libjpeg-turbo8-dev libjpgalleg4.4
libjpathwatch-java libjpeg62-dbg libjpeg-dev libjpeg-turbo-progs libjpgalleg4-dev
libjpathwatch-java-doc libjpeg62-dev libjpeg-progs libjpeg-turbo-test
libjpathwatch-java-jni libjpeg8 libjpeg-turbo8 libjpfcodegen-java
libjpedal-jbig2-java libjpeg8-dbg libjpeg-turbo8-dbg libjpf-java/code]

Our package name was libjpeg.so.8 and here we can see there is a package for that called libjpeg8. This is the package we want to install. You will follow the same process for any other missing packages.

Hope this helps people with the installation process on Ubuntu.

Good Luck

Steel Reign
==========================================================
***MODS Feel free to pin this if you think it will be beneficial.
...sent form my Commodore 64

Sreeja
Tonido Team
Tonido Team
Posts: 368
Joined: Mon Dec 16, 2013 4:25 am

Re: How to install Tonido on Ubuntu 14.04 LTS 64bit

Postby Sreeja » Thu Nov 06, 2014 12:59 am

Thanks for the instructions!!

User avatar
madhan
Admin Tonidoid
Admin Tonidoid
Posts: 8617
Joined: Tue Dec 30, 2008 12:13 am
Location: Austin, TX, USA
Contact:

Re: How to install Tonido on Ubuntu 14.04 LTS 64bit

Postby madhan » Fri Nov 07, 2014 3:22 pm

Stickied!

User avatar
3Dscrewer
Super Tonidoid
Super Tonidoid
Posts: 29
Joined: Tue Dec 09, 2014 12:29 pm
Location: Prien am Chiemsee

Re: How to install Tonido on Ubuntu 14.04 LTS 64bit

Postby 3Dscrewer » Thu Dec 11, 2014 3:20 am

You are my Hero ... for a while ... :lol:
since I have many troubles with the Tonido at my WXP I have decided to install Ubuntu because it was interesting for me long before.

I was struggling at this Filename "download.php?tonido64.tar.gz" because the Help - FAQ is pointing in the wrong direction, so Help should point to this awesome one.

For Beginner or normal User it is not so easy to start with Ubuntu because typing and misstyping long command lines. I was growing up at DOS and insane long batchfiles for Fido and BBS and now I know why i didn't use Linux before :D

derkzor
Rookie Tonidoid
Rookie Tonidoid
Posts: 5
Joined: Mon Feb 23, 2015 5:01 pm

Re: How to install Tonido on Ubuntu 14.04 LTS 64bit

Postby derkzor » Tue Apr 07, 2015 12:07 pm

here's a quick video i made, not the same steps but it lets me also run tonido server amazingly from any ubuntu machine!

https://www.youtube.com/watch?v=xaTSyT83__8

aadam12
Rookie Tonidoid
Rookie Tonidoid
Posts: 5
Joined: Mon Mar 04, 2013 1:29 pm

Re: How to install Tonido on Ubuntu 14.04 LTS 64bit

Postby aadam12 » Sat Nov 28, 2015 1:09 pm

Don't forget to do this when you first start tonido.sh to make sure you can access it remotely from your browser.
http://www.tonido.com/support/display/d ... figuration

User avatar
madhan
Admin Tonidoid
Admin Tonidoid
Posts: 8617
Joined: Tue Dec 30, 2008 12:13 am
Location: Austin, TX, USA
Contact:

Re: How to install Tonido on Ubuntu 14.04 LTS 64bit

Postby madhan » Fri Oct 14, 2016 5:44 pm

There are new versions of Tonido Beta available in 13.0 which should have better support for 64 bit Linux.

snifftheair
Rookie Tonidoid
Rookie Tonidoid
Posts: 4
Joined: Mon Dec 25, 2017 4:11 am

Re: How to install Tonido on Ubuntu 14.04 LTS 64bit

Postby snifftheair » Thu Dec 28, 2017 4:53 am

Just wanted to say thanks for this guide, by far the most straight forward Ubuntu install I've read for ages.
If I may there are a couple of points;
At the start you give instructions for folks with or without aptitude but stop suddenly at stage 3, I installed with "sudo apt-get install..." and worked fine.
There is something wrong in stage 8, returns "invalid option", worked fine with "sudo tar –xf tonido.tar.gz"
Likewise there is something in stage 10 sudo tonido.sh start, returns "command not found" did a restart and Tonido started up fine.
Probably all minor things, I think the tar command issue was a bad character as it kept returning a symbol for the invalid option not a letter?

Anyway thanks for the great install guide - invaluable


Return to “Tonido Software”

Who is online

Users browsing this forum: No registered users and 8 guests