In this post, we will install Cloud Torrent on an Ubuntu Server. Cloud Torrent is a self hosted browser based bittorrent client.
We will be installing the Cloud Torrent application on an Ubuntu 18.04 Server. This will allow us to download torrents from a browser then download them locally.
Related Articles
Preparing
First, we will begin with a fresh install of Ubuntu Server 18.04.1.
Next make sure it is fully updated and reboot.
apt update && apt upgrade -y reboot
Cloud Torrent is written in Go so if you want to compile from source you will need to install Go:
Install Go on Ubuntu 18.04
Installing
First we will download the source code with this command as your normal user account.
$ go get -v github.com/jpillora/cloud-torrent
Next we need to build the source.
cd go/src/github.com/jpillora/cloud-torrent go build
This will create an executable file in the same directory named cloud-torrent.
We will run this as a SystemD service so we need to create the service definition file.
Change to the root user.
sudo su -
Next move the compiled binary to a better location.
mv /home/admintome/go/src/github.com/jpillora/cloud-torrent/cloud-torrent /usr/bin
Fix the permissions.
chown root:root /usr/bin/cloud-torrent
Next, create the SystemD service definition file /etc/systemd/system/cloud-torrent.service and add the following lines:
[Unit] Description=Cloud Torrent Service Wants=network-online.target After=network.target network-online.target [Service] ExecStart=/usr/bin/cloud-torrent [Install] WantedBy=multi-user.target
Next we need to start and enable the service.
systemctl daemon-reload systemctl start cloud-torrent systemctl enable cloud-torrent
You can now browse to this URL.
http://{your_server}:3000
And you should see the torrent page.
To download a torrent you just put the magnet link or the torrent link in the search field at the top.
Next, click on start torrent to download the torrent.
After it is done downloading you can click the link under Downloads to download the file locally.
Conlusion
I hope you have enjoyed this post.
If you did then please share it and comment below.
Also be sure to sign up for the AdminTome Blog Newsletter.
The post Cloud Torrent Ubuntu 18.04 Install appeared first on AdminTome Blog.