Download the uTorrent server package for Ubuntu 13.04 with the following command to download it via terminal.
for 64bit
wget http://download.ap.bittorrent.com/track/beta/endpoint/utserver/os/linux-x64-ubuntu-13-04 -O utserver.tar.gz
for 32Bit
wget http://download.ap.bittorrent.com/track/beta/endpoint/utserver/os/linux-i386-ubuntu-13-04 -O utserver.tar.gz
Once downloaded, change working directory to the directory where uTorrent server is stored. Then run the following command to extract the tar.gz file to /opt/ directory.
sudo tar xvf utserver.tar.gz -C /opt/
Install required dependencies
sudo apt install libssl1.0.0 libssl-dev
Then create a symbolic link
sudo ln -s /opt/utorrent-server-alpha-v3_3/utserver /usr/bin/utserver
Use the following command to start uTorrent server. By default, uTorrent server listens on 0.0.0.0:8080. So if there’s another service also listens on port 80, you should temporarily stop that service. uTorrent will also use port 10000 and 6881.
utserver -settingspath /opt/utorrent-server-alpha-v3_3/ &
You can now visit the uTorrent web UI in your browser by entering
your-server-ip:8080/gui
If you are installing uTorrent on your local computer, then replace your-server-ip with localhost.
localhost:8080/gui
Please note that /gui is needed in the URL, otherwise you will encounter invalid request error. When asked for username and password, enter admin in username field and leave password filed empty.
If you have other service listening on port 8080, then in the Connectivity section, you can change the uTorrent listening port to other port like 8081. You must restart uTorrent server after changing the port.
sudo pkill utserver
utserver -settingspath /opt/utorrent-server-alpha-v3_3/ &
To enable auto start, we can create a systemd service.
sudo nano /etc/systemd/system/utserver.service
Put the following text into the file.
[Unit]
Description=uTorrent Server
After=network.target
[Service]
Type=simple
User=YourUserName
Group=YourUserName
ExecStart=/usr/bin/utserver -settingspath /opt/utorrent-server-alpha-v3_3/ &
ExecStop=/usr/bin/pkill utserver
Restart=always
SyslogIdentifier=uTorrent Server
[Install]
WantedBy=multi-user.target
Save and close the file. Then reload systemd.
sudo systemctl daemon-reload
Next, Stop the current uTorrent server.
sudo pkill utserver
Use the systemd service to start uTorrent server.
sudo systemctl start utserver
Enable auto start at boot time.
sudo systemctl enable utserver
Now check utserver status.
systemctl status utserver
To remove uTorrent, first stop the current uTorrent process.
sudo pkill utserver
Then remove the installation directory.
sudo rm -r /opt/utorrent-server-alpha-v3_3/
And remove the symbolic link.
sudo rm /usr/bin/utserver