User Tools

Site Tools


how_to_install_tonido_on_2.3_vba

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
how_to_install_tonido_on_2.3_vba [2016/02/04 23:25]
keith
how_to_install_tonido_on_2.3_vba [2016/02/23 23:31]
ron
Line 32: Line 32:
 0. Login to your VortexBox. 0. Login to your VortexBox.
  
-1. Download the latest Debian package for Tonido (version 7.83.0.27601 as of Feb. 2016):+1. Install needed packages. Only have to do this once. 
 +<​code>​yum install binutils libpng12</​code>​ 
 + 
 +2. Download the latest Debian package for Tonido (version 7.83.0.27601 as of Feb. 2016):
 <​code>​ <​code>​
 rm -rf /tmp/tonido rm -rf /tmp/tonido
Line 41: Line 44:
 </​code>​ </​code>​
   ​   ​
-2. Unpack the .deb archive to get data.tar.gz and control.tar.gz:​+3. Unpack the .deb archive to get data.tar.gz and control.tar.gz:​
  
 <​code>​ <​code>​
Line 47: Line 50:
 ls -l ls -l
 </​code>​ </​code>​
-Note: If you get 
  
-<​code>​ +4. Save the previous installation,​ if it exists. Skip this step if there is no previous installation in /​usr/​local/​tonido.
-bash: ar: command not found +
-</​code>​ +
-then install the binutils package to get the /usr/bin/ar command: +
- +
-<​code>​ +
-yum install binutils +
-</​code>​ +
-Then try "ar -xv TonidoSetup.deb"​ again. +
- +
-3. Save the previous installation,​ if it exists. Skip this step if there is no previous installation in /​usr/​local/​tonido.+
  
 <​code>​ <​code>​
 /​usr/​local/​tonido/​tonido.sh stop /​usr/​local/​tonido/​tonido.sh stop
 mv /​usr/​local/​tonido /​usr/​local/​tonido.bak mv /​usr/​local/​tonido /​usr/​local/​tonido.bak
 +</​code>​
 +If you wish to start with a fresh configuration:​
 +<​code>​
 mv /​root/​tonido /​root/​tonido.bak mv /​root/​tonido /​root/​tonido.bak
 </​code>​ </​code>​
  
-4. Unpack data.tar.gz in / to create /​usr/​local/​tonido,​ /​usr/​share/​applications|menu|pixmaps,​ etc.:+5. Unpack data.tar.gz in / to create /​usr/​local/​tonido,​ /​usr/​share/​applications|menu|pixmaps,​ etc.:
  
 <​code>​ <​code>​
Line 74: Line 69:
 </​code>​ </​code>​
  
-5. Start the Tonido server:+6. Start the Tonido server:
  
 <​code>​ <​code>​
Line 87: Line 82:
 This will start the Tonido server and create the /​root/​tonido directory and the configuration file /​root/​tonido/​data/​configex.xml. This will start the Tonido server and create the /​root/​tonido directory and the configuration file /​root/​tonido/​data/​configex.xml.
  
-Verify ​Tonido is running.+If you wish to verify ​Tonido is running.
 <​code>​ <​code>​
-systemctl status tonido ​-l+ps -ef | grep tonidoconsole
 </​code>​ </​code>​
  
-6. Note: in recent versions of Tonido (Feb. 2016), the value of **RemoteAdmin** is already set to **1**, so the configex.xml file does not have to be edited, and this step can be skipped.+7. Note: in recent versions of Tonido (Feb. 2016), the value of **RemoteAdmin** is already set to **1**, so the configex.xml file does not have to be edited, and this step can be skipped.
  
 To enable administration from a remote browser, stop the server and edit /​root/​tonido/​data/​configex.xml:​ To enable administration from a remote browser, stop the server and edit /​root/​tonido/​data/​configex.xml:​
Line 115: Line 110:
 Then hit Enter to get a command prompt. Then hit Enter to get a command prompt.
  
-7. In a browser, go to the Tonido web interface at http://​vortexbox-ip:​10001 to create account, configure folders, etc. You can also access the Tonido web interface at https://​accountname.tonidoid.com+8. In a browser, go to the Tonido web interface at http://​vortexbox-ip:​10001 to create account, configure folders, etc. You can also access the Tonido web interface at https://​accountname.tonidoid.com
  
 To access your personal Tonido Cloud on an iPhone or iPad, install the free Tonido App from the App Store. Login and setup a passcode for additional security. To access your personal Tonido Cloud on an iPhone or iPad, install the free Tonido App from the App Store. Login and setup a passcode for additional security.
  
-8To have Tonido ​autostart at boot, edit /​usr/​local/​sbin/​network_up.sh. Notethis file may not exist when you try to edit it. Just enter the nano command and the file will be created when you write the file and exit nano.+9Create service file for Tonido:
  
 +A service file allows Tonido to be controlled by the systemctl command to start, stop, and get status.
 +
 +Create and edit the service file:
 +<​code>​nano /​lib/​systemd/​system/​tonido.service</​code>​
 +Add the following lines to the file:
 <​code>​ <​code>​
-nano /usr/local/​sbin/​network_up.sh +[Unit] 
-</​code>​+Description=Tonido Server 
 +After=local-fs.target network.target
  
-Add the line+[Service] 
 +Type=forking 
 +User=root 
 +ExecStart=/​usr/​local/​tonido/​tonido.sh start 
 +ExecStop=/​usr/​local/​tonido/​tonido.sh stop 
 +Restart=on-failure 
 +RestartSec=5
  
-<​code>​ +[Install] 
-/​usr/​local/​tonido/​tonido.sh start+WantedBy=multi-user.target
 </​code>​ </​code>​
- 
-to the end of the file. 
 Write the file (**control-o**) and exit (**control-x**). Write the file (**control-o**) and exit (**control-x**).
  
-9. Delete work files:+To start Tonido: 
 +<​code>​systemctl start tonido</​code>​ 
 + 
 +To stop Tonido: 
 +<​code>​systemctl stop tonido</​code>​ 
 + 
 +To check Tonido status: 
 +<​code>​systemctl status tonido</​code>​ 
 + 
 +To enable autostart at boot: 
 +<​code>​systemctl enable tonido</​code>​ 
 + 
 +To disable autostart at boot: 
 +<​code>​systemctl disable tonido</​code>​ 
 + 
 +10. Delete work files:
  
 <​code>​ <​code>​
 rm -rf /tmp/tonido rm -rf /tmp/tonido
 </​code>​ </​code>​
-10. If you are happy with the new install, and want to delete the backup ​(if you created ​it in step 3):+11. If you are happy with the new install, and want to delete the backups ​(if you created ​them in step 4):
  
 <​code>​ <​code>​
 rm -rf /​usr/​local/​tonido.bak rm -rf /​usr/​local/​tonido.bak
 rm -rf /​root/​tonido.bak rm -rf /​root/​tonido.bak
-</​code> ​   +</​code>​
how_to_install_tonido_on_2.3_vba.txt · Last modified: 2016/02/24 00:37 by ron