Recently I was looking for a software solution to turn my old Asus EeePC netbook into a personal home storage server. I found a few good solutions from my research and for my personal use case, Tonido Desktop seems to be a good fit.
Tonido Desktop has few advantages over other solutions that I felt it qualifies for my use:
- It’s the easiest to setup compare to FreeNAS or ownCloud.
- Free Android app to access my files using my Android smartphone and tablet.
- Free sub domain (https://<username>.tonidoid.com) for easy access to my personal home storage server from anywhere in the world. This eliminates the effort of setting up your own domain name and port forwarding on my router for file access from the Internet.
- File sync capability (limited to 2GB files for the free Tonido Desktop software).
- Runs on Ubuntu 12.04 LTS. Tonido provides deb package for Linux installation. Tonido also provides software installation for Windows and Mac.
Download Ubuntu 12.0 LTS iso file.
Go to http://www.ubuntu.com/download/desktop and download "Ubuntu Desktop".
Install Ubuntu 12.04 LTS on netbook.
2. Partition 1GB for swap space.
3. Partition the rest of the HDD space for “/home” mount point.
Download free Tonido Desktop software for Linux.
Go to http://www.tonido.com/tonidodesktop_downloads/ and download "Tonido for Linux".
Install and run Tonido Desktop software on Ubuntu 12.04 LTS netbook.
2. For more information, please refer to Basic Ubuntu Linux installation for Tonido.
Create Tonido account.
2. Default web browser will launch to show the account creation webpage.
3. Create an account for Tonido sub domain login. This will enables you to login from anywhere in the world to your Tonido Desktop running at home.
Setup Tonido for remote admin.
2. Check “Allow Remote Admin, New Account Creation and Remote Deletion” option under “Web Settings” section.
Setup Tonido to start as service in Ubuntu 12.04 LTS.
2. Change directory to /etc/init.d directory.
3. Create a new script in the directory.
sudo vi tonido_service.sh4. Copy and paste the lines below into the new script.
#!/bin/bash5. Replace the “<user>” with the user account name that Tonido is going to run as.
su <user> -c "bash -c ' /usr/local/tonido.sh $1'"
6. Save and close the script.
7. Setup the Tonido service script with appropriate permission.
sudo chmod 777 ./tonido_service.sh8. Setup the service script to run as service every time the OS boots up or starts.
sudo update-rc.d tonido_service.sh defaults
Notes:To remove the tonido_service.sh script from the OS service list, run this command:
sudo update-rc.d tonido_service.sh removeTo test run without rebooting the OS:
sudo service tonido_service.sh start
References, Sources and Credits:
- Basic Linux installation guide for Tonido
- Basic Ubuntu Linux installation for Tonido
- Bash init - start service under specific user
- [How-to]Install Tonido on a x86 ReadyNAS device
- Headless Ubuntu Server - Tonido auto start
- auto start tonido service on Ubuntu 9.10 (karmic)