Last active
February 4, 2016 14:46
-
-
Save rmamba/9985511 to your computer and use it in GitHub Desktop.
Install BTSync for ARM on RaspberryPi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#On RaspberryPi run | |
#wget http://goo.gl/QaXLfr -O btsync-install | |
#sudo chmod +x btsync-install | |
#sudo btsync-install | |
cd /home/pi | |
mkdir BTSync | |
chown pi:pi BTSync | |
cd BTSync | |
mkdir BTSync | |
chown pi:pi BTSync | |
wget http://download-lb.utorrent.com/endpoint/btsync/os/linux-arm/track/stable -O btsync_arm_stable.tar | |
tar -xvf btsync_arm_stable.tar | |
./btsync --dump-sample-config > btsync.conf | |
chown pi:pi btsync.conf | |
wget http://goo.gl/otCtlW -O /etc/init.d/btsyncd | |
chown pi:pi /etc/init.d/btsyncd | |
chmod +x /etc/init.d/btsyncd | |
echo 'Installation done' | |
echo 'Use: /etc/init.d/btsyncd start|stop|restart' | |
echo 'goto http://raspberrypi-IP:8888' | |
echo 'Use "sudo ifconfig" to get the RaspberryPi IP' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment